Results 1 to 4 of 4
  1. #1
    Join Date
    May 2006
    Posts
    30
    Plugin Contributions
    0

    Default 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/');
    Last edited by Ajeh; 31 May 2006 at 03:44 PM.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,857
    Plugin Contributions
    6

    Default 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/');
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    May 2006
    Posts
    30
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Jun 2009
    Posts
    618
    Plugin Contributions
    0

    Default Re: extra forward slash in url

    Oops, mistake
    Thank you,
    autoace

 

 

Similar Threads

  1. Remove extra tab in Froogle Feed
    By BlessIsaacola in forum General Questions
    Replies: 2
    Last Post: 11 May 2006, 07:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •