extra forward slash in url
i have tried to fix this for hours and i cannot figure out what is causing it and i am at the end of my rope. can anyone please help? thank you.
there is an extra forward slash in the url. so far it is only on the logout page(when you click log out it appears in the address bar, but when you rollover the logout link the extra slash isn't there).
https://ufarmer.com//store/index.php?main_page=logoff
here are my configures:
includes/configure.php:
define('HTTP_SERVER', 'http://ufarmer.com');
define('HTTPS_SERVER', 'https://ufarmer.com/');
define('DIR_WS_CATALOG', '/store/');
define('DIR_WS_HTTPS_CATALOG', 'store/');
define('DIR_FS_CATALOG', '/home/tiny/english/ufarmer.com/store/');
======================================
admin/includes/configure.php:
define('HTTP_SERVER', 'https://ufarmer.com');
define('HTTPS_SERVER', 'https://ufarmer.com/');
define('HTTP_CATALOG_SERVER', 'http://ufarmer.com');
define('HTTPS_CATALOG_SERVER', 'https://ufarmer.com/');
define('DIR_WS_ADMIN', '/store/admin/');
define('DIR_WS_CATALOG', '/store/');
define('DIR_WS_HTTPS_ADMIN', 'store/admin/');
define('DIR_WS_HTTPS_CATALOG', 'store/');
define('DIR_FS_ADMIN', '/home/tiny/english/ufarmer.com/store/admin/');
define('DIR_FS_CATALOG', '/home/tiny/english/ufarmer.com/store/');
Re: extra forward slash in url
Remove the trailing slashes:
Quote:
define('HTTPS_SERVER', 'https://ufarmer.com/');
define('HTTPS_CATALOG_SERVER', 'https://ufarmer.com/');
Should read:
Quote:
define('HTTPS_SERVER', 'https://ufarmer.com');
define('HTTPS_CATALOG_SERVER', 'https://ufarmer.com');
Put in the proper slashes:
Quote:
define('DIR_WS_HTTPS_CATALOG', 'store/');
define('DIR_WS_HTTPS_ADMIN', 'store/admin/');
define('DIR_WS_HTTPS_CATALOG', 'store/');
Should read:
Quote:
define('DIR_WS_HTTPS_CATALOG', '/store/');
define('DIR_WS_HTTPS_ADMIN', '/store/admin/');
define('DIR_WS_HTTPS_CATALOG', '/store/');
Re: extra forward slash in url
thank you so much for your quick response! you have saved my sanity. i don't how my configures.php became so mangled - i compared them to the originals and they were the same. damn the merlot.
i'll give it a whirl.
have a good day,
darrian
Re: extra forward slash in url