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
    69,350
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  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
    617
    Plugin Contributions
    0

    Default Re: extra forward slash in url

    Oops, mistake
    Thank you,
    autoace

 

 

Similar Threads

  1. Google Analytics adds extra slash
    By susb8383 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 23 Feb 2012, 03:02 PM
  2. I need a tutorial on the forward slash.
    By joejoejoe in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 10 Dec 2011, 05:12 PM
  3. Extra Forward Slash Before Links...
    By gaffettape in forum General Questions
    Replies: 5
    Last Post: 21 Aug 2010, 02:58 PM
  4. Extra slash and spade in html
    By pixelpadre in forum General Questions
    Replies: 12
    Last Post: 14 Jun 2007, 09:01 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR