Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Location
    Eugene, OR
    Posts
    162
    Plugin Contributions
    0

    Default Re: double slashes in URL ??

    Could it be the double slashes in this line in includes/config.php?

    define('DIR_WS_CATALOG', '//');
    define('DIR_WS_HTTPS_CATALOG', '//');


  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: double slashes in URL ??

    Yes, those double slashes will be the problem.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2007
    Location
    Eugene, OR
    Posts
    162
    Plugin Contributions
    0

    Default Re: double slashes in URL ??

    Quote Originally Posted by DrByte View Post
    Yes, those double slashes will be the problem.
    OK, thanks for the confirm. I changed those two lines to:

    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    Now the problem has disappeared. Mystery solved. Thanks!

    How did those double slashes get in there? Is this something that my webhost's auto-install creates? Or is it a mis-type in the zen 1.3.8 original config file?

    I would guess it must be my webhost's problem since it does not seem like anyone else here has mentioned it (except for the guy who started this thread, but his problem was different).

  4. #4
    Join Date
    Aug 2007
    Location
    Eugene, OR
    Posts
    162
    Plugin Contributions
    0

    Default Re: double slashes in URL ??

    For the benefit of others, I also had to make the same changes in the admin/includes/configure.php file to prevent these double slashes from appearing in the admin pages.

  5. #5
    Join Date
    Aug 2007
    Location
    Eugene, OR
    Posts
    162
    Plugin Contributions
    0

    Default Re: double slashes in URL ??

    Just double checked the zencart 1.3.8a original files from the zencart download, and those files (dist-config.php and dist-configure.php) only have single slashes instead of the incorrect double slashes. So the problem was created by bluehost's auto-install of zencart.

 

 

Similar Threads

  1. v150 2 Slashes in URL
    By lwilliams374 in forum General Questions
    Replies: 3
    Last Post: 20 Aug 2012, 07:52 PM
  2. Odd double slashes in path to Sidebox Title Image
    By Hell Guapo in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 3 Jan 2012, 07:37 PM
  3. New Cart install has double forward slashes (//)
    By zhenjie in forum General Questions
    Replies: 1
    Last Post: 18 Oct 2010, 07:47 AM
  4. double url in my links
    By TALES75 in forum General Questions
    Replies: 11
    Last Post: 11 May 2010, 09:42 AM
  5. Double slashes in URLs, mod_rewrite at fault?
    By rstevenson in forum Customization from the Admin
    Replies: 5
    Last Post: 16 Nov 2006, 04:33 PM

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