Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2006
    Posts
    56
    Plugin Contributions
    0

    Default Can't log in - can't add to cart - can't log in to admin?

    I have a store at:

    www.touchplate.com/store

    I think something has happened to the server, but now I can't add anything to the cart (it just comes back as nothing in the cart), I can't log in as a customer and I can't log in as admin.

    Any ideas?

    Feel free to visit the store and see what happens.

    Very weird.

    I'm leaning toward some sort of session handling is broke. Any help?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Can't log in - can't add to cart - can't log in to admin?

    Yup ... session handling is broke.
    .

    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
    Nov 2006
    Posts
    56
    Plugin Contributions
    0

    Default Re: Can't log in - can't add to cart - can't log in to admin?

    Anything specific you suggest I say to the sysadmins as the work on it? I have told them I think session handling is broke....

    Anything more specific?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Can't log in - can't add to cart - can't log in to admin?

    Most likely they've changed the PHP configuration (an upgrade perhaps?) and/or changed filesystem permissions/rules.
    - http://www.zen-cart.com/forum/showpo...05&postcount=6
    - https://www.zen-cart.com/tutorials/i...hp?article=281
    .

    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.

  5. #5
    Join Date
    Nov 2006
    Posts
    56
    Plugin Contributions
    0

    Default Re: Can't log in - can't add to cart - can't log in to admin?

    Sir -

    1. I tried to create my own simple PHP session scripts and they successfully set SESSSION Variables.?

    2. I uploaded a new version to store2 directory and then ran install and got the following output:
    (I'll attach a PDF)- can't attach, pdf too large 68kb

    Webserver = Apache/1.3.41 (Unix) mod_log_bytes/1.2 mod_bwlimited/1.4 mod_ssl/2.8.31 OpenSSL/0.9.8b
    HTTP Host = www.touchplate.com
    Path_Translated = /home/touchal4/public_html/store2/zc_install/index.php(SCRIPT_FILENAME)
    Real Path = /home/touchal4/public_html/store2
    Server Free Disk Space = 1824.13 GB
    PHP O/S = Linux
    PHP API Mode = cgi Click here for more info
    PHP Max Execution Time per page = 30
    Register Globals = OFF
    MySQL Support = ON
    PHP Version = 5.2.6
    PHP Safe Mode = OFF
    PHP Sessions Support = ON
    PHP Session.AutoStart = OFF
    PHP session.use_trans_sid = OFF
    Suggested SQL Cache Folder = /home/touchal4/public_html/store2/cache
    PHP magic_quotes_runtime setting = OFF
    PHP magic_quotes_sybase setting = OFF
    PHP GD Support = ON
    GD Version = GD bundled (2.0.34 compatible)
    PHP ZLIB Compression Support = ON
    PHP OpenSSL Support = ON
    PHP cURL Support = ON
    CURL NON-SSL Capability = Okay
    CURL SSL Capability = Okay
    PHP Upload Support = ON upload_max_filesize=2M; post_max_size=8M
    PHP Upload TMP dir =

    View PHPINFO for your server
    Other System Information (For Reference Only)
    The following info does not necessarily indicate any problem or configuration issue. It is simply for the sake of displaying it in an easy-to-find location.
    PHP include_path = .:/usr/lib/php:/usr/local/lib/php
    PHP SMTP destination = localhost
    PHP sendmail path = /usr/sbin/sendmail -t -i
    PHP sendmail 'from' =
    PHP open_basedir restrictions =
    PHP Output Buffering (gzip) = OFF
    PHP FTP Support = ON
    PHP XML Support = ON
    PHP Session.Save_Path = /home/touchal4/public_html/store2/cache -->Writeable
    File and Folder Permissions
    In order for the installer to store the setup information you provide in the following pages, the configure.php files shown below need to be "writable".
    includes/configure.php = Writeable
    admin/includes/configure.php = Writeable
    In order for many Zen Cart™ administrative and day-to-day functions to work properly, You need to mark several files/folders "Writeable". The following is a list of folders which need to be "read-write", along with recommended CHMOD settings. Please correct these settings before continuing installation. Refresh this page in your browser to re-check settings.

    Some hosts may not allow you to set CHMOD 777, but only 666. Start with the higher setting first, and switch to lower values if required.
    cache = OK
    images = OK
    includes/languages/english/html_includes = OK
    media = OK
    pub = OK
    admin/backups = OK
    admin/images/graphs = OK

    3. I ran the Cache Key Utility and it said all was ok?

    4. I have noticed that just recently when I log into cpanel (www.touchplate.com/cpanel), the domain is redirected to the server name: esc159.midphase.com....

    Don't know if this would matter or not - just trying to figure it out

    5. Haven't heard back from hosting company - but the ticket has been "elevated"


    If the new install thinks all is OK, what should I be directing the host to as the possible problem?

    Anything else?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Can't log in - can't add to cart - can't log in to admin?

    Did you finish the install on your store2 folder? ie: specify another database to install into ... and then test whether the add-to-cart works etc. If it works properly, then the problem is not with the server's PHP configuration.

    However, the problem could still be with the permissions on the folders, and a wrong foldername specified in the Session Directory setting stored in the database ... as discussed in the 2 articles I linked to earlier.
    .

    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.

  7. #7
    Join Date
    Oct 2007
    Location
    Los Angeles / Simi Valley
    Posts
    40
    Plugin Contributions
    0

    Default Re: Can't log in - can't add to cart - can't log in to admin?

    I have seen and delt with this happening before. after hours of wacking at it, replacing session files, I had to restart the computer--maccafe forced me to because it had updated--and upon restart it just worked again.

    Did you ever resolve the problem ? it's the 5th now, so i'm assuming you restarted...

    AND, does the cart complain of a "security error" of some kind ?
    Need anything done on your zen cart Shop that other people said was impossible? send me a PM, I'll be happy to discuss the situation :)

 

 

Similar Threads

  1. Replies: 6
    Last Post: 4 Dec 2013, 08:02 PM
  2. Can't Log In, Can't add to Cart
    By digiscrapaganza in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 16 Jul 2012, 01:14 PM
  3. Can't log in or add to cart
    By moto4noir in forum Managing Customers and Orders
    Replies: 15
    Last Post: 29 Jun 2008, 12:53 PM
  4. Replies: 16
    Last Post: 31 Jan 2008, 06:44 PM
  5. Can't log in or add to cart
    By jeking in forum Managing Customers and Orders
    Replies: 2
    Last Post: 21 Aug 2007, 04:00 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