Results 1 to 10 of 10
  1. #1
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    20
    Plugin Contributions
    0

    Default Strange Zenid problem

    Hi all,
    I cannot solve a problem with the zeind displayed in my urls.
    I searched a lot the forum, without being able to find a solution.

    Yesterday I published my new zen cart shop at the official url and the zenid is displayed in all my pages.
    The shop has simply been moved from a subdirectory (i.e. temp/) of the Web Server from the root of the website (i.e. no dir).

    I changed the configure.php removing the subdirectory temp/ from WS_CATALOG and the zenid is always displayed.
    If I set the WS_CATALOG back to test/ all works fine.
    This is my actual configure.php.

    Code:
      
      define('HTTP_SERVER', 'http://www.magnaparma.com');
      define('HTTPS_SERVER', 'https://www.magnaparma.com');
    
      // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', 'false');
      
    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
      // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
      define('DIR_WS_CATALOG', '/');
      define('DIR_WS_HTTPS_CATALOG', '/');
    It isn't possible to store a zen cart shop in the root of my Web Server (IIS 6)?

    Any suggestion?

    PS. I have the same problem with a local installation if I put all the store files in the root of the Web Server (Apache).

  2. #2
    Join Date
    Aug 2005
    Location
    United Kingdom
    Posts
    457
    Plugin Contributions
    0

    Default Re: Strange Zenid problem

    in that configure files (well both) where does it state you are storing your session data, there is an option for db or a folder,
    ie define('STORE_SESSIONS', 'db');

    if its the cache folder then make sure it exists and that it has the correct permissions (777 - read/write)

    Rob

  3. #3
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    20
    Plugin Contributions
    0

    Default Re: Strange Zenid problem

    Quote Originally Posted by RobWUK View Post
    in that configure files (well both) where does it state you are storing your session data, there is an option for db or a folder,
    ie define('STORE_SESSIONS', 'db');

    if its the cache folder then make sure it exists and that it has the correct permissions (777 - read/write)

    Rob
    Thanks Rob, I store the session in db in both cases.
    The configure file is the same, the only difference is the subdir for the test.

    Whenever all the directory are 777.


  4. #4
    Join Date
    Aug 2005
    Location
    United Kingdom
    Posts
    457
    Plugin Contributions
    0

    Default Re: Strange Zenid problem

    there should be no reference to a sub folder, if you have moved your site then all the new files should be on your root
    and both configure files set up for its new location, ie path and folder settings etc

    if these are correct then also have a look at this
    http://www.zen-cart.com/index.php?ma...products_id=82

    i would recommend backing up before making changes

    Rob

  5. #5
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    20
    Plugin Contributions
    0

    Default Re: Strange Zenid problem

    I just moved the entire site from /test to /.
    I modified the /includes/configure.php like this

    Code:
    // Define the webserver and path parameters
      // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
      // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
      define('HTTP_SERVER', 'http://www.mydomain.com');
      define('HTTPS_SERVER', 'https://www.mydomain.com');
    
      // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', 'false');
      
    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
      // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
      define('DIR_WS_CATALOG', '/');
      define('DIR_WS_HTTPS_CATALOG', '/');
    The cache directory has 777 permissions.

    I tried the Fix, but nothing happened as all was already OK.
    I made a lot of tests, trying different configurations, but the zenid is always shown in the URL...

  6. #6
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    20
    Plugin Contributions
    0

    Default Re: Strange Zenid problem

    ***UPDATE***

    I tried a completely new installation of Zen Cart into the root of my web server and........the zenid is always shown!!!!!

    There is a bug in zen cart 1.3.9a?
    I can't update because I made a lot of core code modifications

  7. #7
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Strange Zenid problem

    There were some fixes to the way session cookies are treated for IIS servers in a couple of the 1.3.9 updates. You are strongly advised to upgrade. Upgrading from 1.3.9a is simply a matter of replacing a few files for "b" and a few more files for "c" and then for "d" and for "e", etc. If you haven't customized any of the files that were changed between these minor updates, then it'll take all of maybe 20 minutes to download the updated zip and upload the changed files listed in the changelog.

    In addition, you should clear your browser's cache & cookies if you're moving your store location in any way, including changing directories as you've done.
    .

    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.

  8. #8
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    20
    Plugin Contributions
    0

    Default Re: Strange Zenid problem

    Sorry for multiple posts

    ***LAST UPDATE***
    I tried to install a new version, i.e. 1.3.9e and the problem is solved.
    This is a known bug of the 1.3.9a version?
    There's a quick fix available?

  9. #9
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Strange Zenid problem

    Yes, as I said, the quick fix is to install the updates.
    .

    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.

  10. #10
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    20
    Plugin Contributions
    0

    Default Re: Strange Zenid problem

    Quote Originally Posted by DrByte View Post
    Yes, as I said, the quick fix is to install the updates.
    I updated to zencart 1.3.9e and the problem was SOLVED.
    The update was quite difficult for me, but now all is working fine.

    Thanks for your support.

 

 

Similar Threads

  1. ZenID problem vs SSU
    By Nintendoparts in forum Basic Configuration
    Replies: 0
    Last Post: 26 Oct 2010, 11:11 AM
  2. zenid problem??
    By Shane78 in forum General Questions
    Replies: 3
    Last Post: 22 Nov 2009, 06:04 PM
  3. Replies: 5
    Last Post: 6 Apr 2008, 01:57 AM
  4. persistent zenid and logout problem
    By bikemike in forum General Questions
    Replies: 15
    Last Post: 3 Dec 2006, 10:40 PM
  5. Customer information problem -- zenid
    By janeausten72 in forum General Questions
    Replies: 13
    Last Post: 8 Sep 2006, 07:57 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