Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2010
    Posts
    11
    Plugin Contributions
    0

    cart error Fatal Error Admin login Help

    Fatal error: Call to a member function Execute() on a non-object in /home/bestbetinc/waxwormkit.com/orders/includes/functions/sessions.php on line 61
    I get this when I go to my log on page and my customers can't log in ether.
    This Fatal error is also showing on the bottom of my Zen cart page waxwormkit.com/orders

    Didn't change anything it just [FONT="Times New Roman"][/FONT]started doing it?

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Fatal Error Admin login Help

    What version of Zencart, and what version of PHP is running on your server?

  3. #3
    Join Date
    Jun 2010
    Posts
    11
    Plugin Contributions
    0

    cart error Re: Fatal Error Admin login Help

    osCommerce 2.0 I think. I know it is a old version. Don't know the PHP version. Not sure if Dreamhost did some kind of upgrade. I have limited smarts with this suff.

    I did try changing both sessions.php from:
    function _sess_write($key, $val) {
    global $db;
    global $SESS_LIFE;
    and
    function _sess_write($key, $val) {
    global $SESS_LIFE, $db;
    To:
    function _sess_write($key, $val) {
    // The following is only to work around a PHP 5.2.0 bug:
    global $db;
    if (!is_object ($db)) {
    //PHP 5.2.0 bug workaround ...
    $db = new queryFactory();
    $db->connect (DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_ }

    global $SESS_LIFE;

    Now get the error:

    syntax error, unexpected '}' in /home/bestbetinc/waxwormkit.com/orders/includes/functions/sessions.php on line 56

    I need simple copy paste info. like I said am limited in the smarts area here. Thanks for any help.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Fatal Error Admin login Help

    I'd suggest you stop messing with the sessions files.

    Go to Admin - Tools - Server/Version Info and post your Zencart version and PHP version.

  5. #5
    Join Date
    Jun 2010
    Posts
    11
    Plugin Contributions
    0

    cart error Re: Fatal Error Admin login Help

    I cant sign in to Go to Admin - Tools - Server/Version Info and post your Zencart version and PHP version.

 

 

Similar Threads

  1. Fatal error: admin login line 72
    By cldflschr in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 24 Oct 2010, 03:06 PM
  2. Fatal Error on Admin Login Attempt
    By tishost in forum General Questions
    Replies: 2
    Last Post: 30 Jul 2008, 07:14 PM
  3. Fatal error can't login to admin
    By scubasteve in forum General Questions
    Replies: 1
    Last Post: 4 Jun 2008, 03:35 AM
  4. Fatal Error : Admin Login
    By globeriding in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 10 Dec 2007, 10:47 AM
  5. Fatal error - admin login problem
    By scot_giant in forum General Questions
    Replies: 2
    Last Post: 6 Oct 2007, 05:13 AM

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