Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jan 2004
    Posts
    482
    Plugin Contributions
    0

    Default Urgent Help Needed...Recovering from Site Crash...

    Urgent Help Needed....

    Customers can add stuff to your cart and it looks like they log in to check out, but when they hit "check out," they go back to the log in page.

    I cannot log in to the admin side of the store either.

    synopsis of what had to happen to get the server back up...

    cpanel tried to update the php or mysql...
    tech support had to reload the cpanel and rebuild apache and php module

    we are currently running versions of php 5.23 and mysql 4.0.27

    Nothing was done to change the cart... it has to be in the fact that they had to reload the cpanel, apache and PHP.

    Please help.....

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Urgent Help Needed...Recovering from Site Crash...

    First, try cheating ...

    Edit the file:
    /admin/includes/configure.php

    and turn off the Enable on the secure page ...

    Can you login?

    If so, what are your session settings?

    If not ...

    Check and see if this is a session setting ...

    Do a search in phpMyAdmin for all of the configuration_key from the configuration table:
    PHP Code:
    SELECT FROM configuration WHERE configuration_key LIKE '%session%'
    You may have an issue with:
    SESSION_RECREATE

    Set it to: False
    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
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Urgent Help Needed...Recovering from Site Crash...

    NOTE:
    tech support had to reload the cpanel and rebuild apache and php module
    Are you sure they managed your secure server right?

    Do any secure pages work?
    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!

  4. #4
    Join Date
    Jan 2004
    Posts
    482
    Plugin Contributions
    0

    Default Re: Urgent Help Needed...Recovering from Site Crash...

    Thank you for responding so quickly...

    I am waiting for them to tell me when I can try the first cheat (so I don't counter act what they are working on - probably the cpanel?)

    I did do the query for the sessions and the
    session_recreate is false

    I will get back with you as soon as I try the cheat.


    Quote Originally Posted by Ajeh View Post
    First, try cheating ...

    Edit the file:
    /admin/includes/configure.php

    and turn off the Enable on the secure page ...

    Can you login?

    If so, what are your session settings?

    If not ...

    Check and see if this is a session setting ...

    Do a search in phpMyAdmin for all of the configuration_key from the configuration table:
    PHP Code:
    SELECT FROM configuration WHERE configuration_key LIKE '%session%'
    You may have an issue with:
    SESSION_RECREATE

    Set it to: False

  5. #5
    Join Date
    Jan 2004
    Posts
    482
    Plugin Contributions
    0

    Default Re: Urgent Help Needed...Recovering from Site Crash...

    still nothing...

    you can see pages if you add the https, but you don't have access to the secure pages (like on the admin side)

    we temporarily set the enable_ssl_admin to false ... still cannot log in to admin
    same for catalog.

    setting up a new account writes to the database, but you get the following error...

    Warning: Invalid argument supplied for foreach() in
    /home/---------/public_html/includes/templates/template_default/templates/tpl_c
    reate_account_success_default.php on line 26

    any thoughts? we sure appreciate your time! :)

  6. #6
    Join Date
    Jan 2004
    Posts
    482
    Plugin Contributions
    0

    Default Re: Urgent Help Needed...Recovering from Site Crash...

    we have another store on the same server that is 1.2.7

    we get the following error on that one on the homepage and the admin...

    Fatal error: Call to a member function Execute() on a non-object in /home/--------/public_html/----------/includes/functions/sessions.php on line 72

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Urgent Help Needed...Recovering from Site Crash...

    Could you post, from the server, the file:
    /admin/includes/configure.php

    without your username and password?
    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!

  8. #8
    Join Date
    Jan 2004
    Posts
    482
    Plugin Contributions
    0

    Default Re: Urgent Help Needed...Recovering from Site Crash...

    Sorry I keep adding on...I just keeping thinking of more things...

    Are there any special PHP settings that Zen cart requires in the PHP.ini?

    Grasping at straws....

  9. #9
    Join Date
    Jan 2004
    Posts
    482
    Plugin Contributions
    0

    Default Re: Urgent Help Needed...Recovering from Site Crash...

    Quote Originally Posted by Ajeh View Post
    Could you post, from the server, the file:
    /admin/includes/configure.php

    without your username and password?
    I edited some items on what I pasted here... If you need them, I will be happy to PM them to you.

    // Define the webserver and path parameters
    // Main webserver: eg, http://localhost - should not be empty for productive servers
    define('HTTP_SERVER', 'http://store.digitalscrapbookplace.com');
    // Secure webserver: eg, https://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://store.digitalscrapbookplace.com'); // eg, https://localhost
    define('HTTP_CATALOG_SERVER', 'http://store.digitalscrapbookplace.com');
    define('HTTPS_CATALOG_SERVER', 'https://store.digitalscrapbookplace.com');

    // secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'true');

    // 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_ADMIN', '/--admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/--admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
    define('DIR_WS_BLOCKS', DIR_WS_INCLUDES . 'blocks/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_ADMIN', '/home/-------/public_html/------------/');
    define('DIR_FS_CATALOG', '/home/-------/public_html/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_CATALOG_BLOCKS', DIR_FS_CATALOG . 'includes/blocks/');
    define('DIR_FS_CATALOG_BOXES', DIR_FS_CATALOG . 'includes/boxes/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_FILE_MANAGER_ROOT', '/home/-------/public_html/'); // path to starting directory of the file manager

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_');
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', '---username');
    define('DB_SERVER_PASSWORD', '---password');
    define('DB_DATABASE', '---database');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'database');
    define('DIR_FS_SQL_CACHE', '/home/-------/public_html/cache');

  10. #10
    Join Date
    Jan 2004
    Posts
    482
    Plugin Contributions
    0

    Default Re: Urgent Help Needed...Recovering from Site Crash...

    this is what they are currently trying...

    We’re going to try downgrading php. We think with the cpanel upgrade yesterday it may have upgraded the php version to one that’s not compatible with zencart.

    "We’re going to try downgrading php to version 4.4.4."

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v138a Urgent help needed on a live site
    By minotaurus in forum General Questions
    Replies: 0
    Last Post: 25 Jan 2012, 08:25 PM
  2. Recovering My Site- NEED HELP
    By Kaniki in forum Upgrading from 1.3.x to 1.3.9
    Replies: 42
    Last Post: 11 Apr 2011, 05:56 PM
  3. Recovering from a server crash...need help
    By jbarrick in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 22 Jun 2010, 03:46 AM
  4. URGENT help needed. Site DOWN!
    By crabdance in forum General Questions
    Replies: 1
    Last Post: 27 Sep 2007, 01:42 AM
  5. Urgent Urgent help needed please
    By con-fused in forum General Questions
    Replies: 1
    Last Post: 12 Feb 2007, 09:41 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