Time Punk Posted October 22, 2006 Posted October 22, 2006 To log-in to my admin I just type in (myURL).com/admin but when I want to click an action in the Admin Interface the links all have double slashes after the URL for example: (myURL).com//admin/configuration.php?selected_box=configuration&gID=1 I have a feeling I've messed up one (or both ?) of the config.php files As the download function of the site also doesn't work anymore I guess the extra slash has caused some other problems as well with various internal URLs. Anyone know what I need to correct to get rid of the extra slash ??
Jack_mcs Posted October 22, 2006 Posted October 22, 2006 It would be caused by something in your configure file. You can try posting it here, minus login information, if you can't find it. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Time Punk Posted October 22, 2006 Author Posted October 22, 2006 Which config file should I post - includes/ or admin/includes ?
usernamenone Posted October 22, 2006 Posted October 22, 2006 Look in the browser and where you see the // is where you look. You probably added a / when you specified a path for your catalog but should not have. Look on or around line 14. If you double // is in admin look for the same. define('HTTP_COOKIE_PATH', 'catalog/'); define('HTTPS_COOKIE_PATH', 'catalog/'); define('DIR_WS_HTTP_CATALOG', 'catalog/'); define('DIR_WS_HTTPS_CATALOG', 'catalog/'); Which config file should I post - includes/ or admin/includes ?
Time Punk Posted October 22, 2006 Author Posted October 22, 2006 There was a slash in front of admin so I removed it and then the extra slash disappeared from the URL. The problem now is that the backup directory can't be found anymore. The folder URL is missing the slash now: user/1061587/htdocsadmin/backups/ Here's the configure.php code: define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', 'admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); 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_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
usernamenone Posted October 23, 2006 Posted October 23, 2006 This is the line that is messed up define('DIR_WS_CATALOG', '/'); it should be define('DIR_WS_CATALOG', 'catalog/'); There was a slash in front of admin so I removed it and then the extra slash disappeared from the URL. The problem now is that the backup directory can't be found anymore. The folder URL is missing the slash now:user/1061587/htdocsadmin/backups/ Here's the configure.php code: define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', 'admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); 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_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
Recommended Posts
Archived
This topic is now archived and is closed to further replies.