Hallo, wie bekomme ich den das doppeltes Slash-Zeichen weg? //images/product_images/original_images/SP03_05.jpg Besten Grüße Ela
Mit dem Cursor Deiner Tastatur gehst Du ganz an den Anfang der Zeile und drückst die ENTF Taste oder Du gehst mit dem Cursor zwischen die beiden Slashzeichen und drückst einmal dir RÜCKSCHRITTTASTE ;-) Erklär mal,. was Du willst, dann kann man Dir auch helfen!
Hoffe die Frage ist jetzt etwas verständlicher ;-) In der URL Adresse ist das doppelte Slash -Zeichen integriert. Beispile: In der URL der Page Images: //images/product_images/original_images/SP03_05.jpg Grüße Ela
Dann hast Du in den Konfigurationsdateien hinter der URL einen Schrägstrich. Der gehört da nicht hin, die Angaben muss dort sein https://www.shopdomain.de, NICHT https://www.shopdomain.de/.
Das kann ich mit einem ganz klaren Jein beantworten Hängt halt davon ab, was man im Shop so tut, bei den meisten geht das immer erstaunlich lange gut.
Hallo, die vollständige URL lautet: https://www.versystem.de//images/product_images/original_images/SP03_04.jpg In der configure.php und configure.org.php ist die URL ohne Slash-Zeichen hinter dem (.de) gesetzt. Nur im Kundenportal ist ein Slash integriert, welches sich aber nicht entfernen lässt. (siehe Bild).
Hallo Rene, verstehe langsam nur Bahbhof ;-) In welcher Konfigurationsdatei muss ich es anpassen? Im Kundenportlal wenn ich den Slash lösche und auf speichern gehe pringt es keine Lösung, der Slash wird dort automatisch wieder gesetzt. Wie shon geschrieben in der configure.php und configure.org.php ist alles richtig eingetragen.
Eben nicht. Genau da steht ein Slash zuviel. configure.org.php ist die Originaldatei als Vorlage. Die solltest Du lassen wie sie ist.
Auszug aus der configure.org.php: define('HTTP_CATALOG_SERVER', 'https://www.versystem.de'); define('HTTPS_CATALOG_SERVER', 'https://www.versystem.de'); Auszug aus der configure.php define('HTTP_SERVER', 'https://www.versystem.de'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.versystem.de'); // eg, https://localhost - should not be empty for productive servers In beiden ist die URL ohne Slash-Zeichen hinter dem .de gesetzt. :-(
Die Frage ist an welcher Stelle sich der Slash genau befinden? Wäre es so einfach hätte ich es schon gelöst. Ansonsten habe ich an der Config Dataien eigentlich nichts verändert.
<?php /* -------------------------------------------------------------- configure.php 2016-05-11 Gambio GmbH http://www.gambio.de Copyright (c) 2016 Gambio GmbH Released under the GNU General Public License (Version 2) [http://www.gnu.org/licenses/gpl-2.0.html] -------------------------------------------------------------- based on: (c) 2000-2001 The Exchange Project (earlier name of osCommerce) (c) 2002-2003 osCommerce (configure.php,v 1.13 2003/02/10); www.oscommerce.com (c) 2003 XT-Commerce - community made shopping http://www.xt-commerce.com Released under the GNU General Public License ---------------------------------------------------------------------------------------*/ $t_document_root = '/is/htdocs/wp12451385_CM3EEQNZO4/www/onlineshop'; // absolute server path required (domain root) if(realpath($t_document_root) !== false) { $t_document_root = realpath($t_document_root) . '/'; } $t_document_root = str_replace('\\', '/', $t_document_root); if($t_document_root == '//') { $t_document_root = '/'; } $t_dir_fs_frontend = dirname(dirname(__FILE__)); if(basename(dirname(__FILE__)) == 'local') { $t_dir_fs_frontend = dirname($t_dir_fs_frontend); } $t_dir_fs_frontend = str_replace('\\', '/', $t_dir_fs_frontend) . '/'; $t_dir_ws_catalog = substr($t_dir_fs_frontend, strlen($t_document_root) - 1); // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'https://www.versystem.de'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.versystem.de'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // SSL: true = active, false = inactive define('DIR_WS_CATALOG', $t_dir_ws_catalog); // absolute url path required define('DIR_FS_DOCUMENT_ROOT', $t_dir_fs_frontend); // absolute server path required define('DIR_FS_CATALOG', $t_dir_fs_frontend); // absolute server path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ORIGINAL_IMAGES', DIR_WS_IMAGES . 'product_images/original_images/'); define('DIR_WS_THUMBNAIL_IMAGES', DIR_WS_IMAGES . 'product_images/thumbnail_images/'); define('DIR_WS_INFO_IMAGES', DIR_WS_IMAGES . 'product_images/info_images/'); define('DIR_WS_POPUP_IMAGES', DIR_WS_IMAGES . 'product_images/popup_images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES',DIR_FS_DOCUMENT_ROOT. 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_FS_CATALOG . 'lang/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_FS_INC', DIR_FS_CATALOG . 'inc/'); // define our database connection define('DB_SERVER', 'versystem.de'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '-----------'); define('DB_SERVER_PASSWORD', '-----------'); define('DB_DATABASE', '-----------'); define('USE_PCONNECT', 'false'); // use persistent connections? unset($t_document_root); unset($t_dir_fs_frontend); unset($t_dir_ws_catalog);