Zen Cart Logo
Forums / General Questions / extra forward slash in url

extra forward slash in url

Locked

Views: 3,879

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
31 May 2006, 2:39 PM
#1
urbanfarmer avatar

urbanfarmer

New Zenner

Join Date:
May 2006
Posts:
26
Plugin Contributions:
0

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/');

31 May 2006, 2:46 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: extra forward slash in url

Remove the trailing slashes:

define('HTTPS_SERVER', 'https://ufarmer.com/');

define('HTTPS_CATALOG_SERVER', 'https://ufarmer.com/');

Should read:

define('HTTPS_SERVER', 'https://ufarmer.com');

define('HTTPS_CATALOG_SERVER', 'https://ufarmer.com');

Put in the proper slashes:

define('DIR_WS_HTTPS_CATALOG', 'store/');
define('DIR_WS_HTTPS_ADMIN', 'store/admin/');
define('DIR_WS_HTTPS_CATALOG', 'store/');

Should read:

define('DIR_WS_HTTPS_CATALOG', '/store/');
define('DIR_WS_HTTPS_ADMIN', '/store/admin/');
define('DIR_WS_HTTPS_CATALOG', '/store/');

31 May 2006, 7:43 PM
#3
urbanfarmer avatar

urbanfarmer

New Zenner

Join Date:
May 2006
Posts:
26
Plugin Contributions:
0

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

16 Oct 2009, 2:50 PM
#4
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: extra forward slash in url

Oops, mistake