Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2006
    Location
    Australia
    Posts
    15
    Plugin Contributions
    0

    Default no customer login

    since a wile each time a customer wants to log in, the customer is redirected back to the home page in the bottom of the page is a error message:
    Fatal error: Call to a member function Execute() on a non-object in /home/stackcup/public_html/shop/includes/functions/sessions.php on line 61
    this happened with new customer and existing customers,

    I opened the session.php around line 61 says:

    59. $qid = "select count(*) as total
    60. from " . TABLE_SESSIONS . "
    61. where sesskey = '" . zen_db_input($key) . "'";
    I have not changed anything on the site, however the server was down and my hosting provider has restored an backup of the site.
    what has to go into this file?

  2. #2
    Join Date
    Jun 2006
    Location
    Koh Samui
    Posts
    122
    Plugin Contributions
    0

    Default Re: no customer login

    Hi,

    Have a look at https://www.zen-cart.com/tutorials/i...hp?article=100 and especially the session part #6.
    I think it has something to do with that.
    [FONT="Verdana"]http://www.xlventures.eu[/FONT]

  3. #3
    Join Date
    Aug 2006
    Location
    Australia
    Posts
    15
    Plugin Contributions
    0

    Default Re: no customer login

    Thanks I uploaded the fix_cache_key.php file and run it, I had this output:

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /*****/fix_cache_key.php:43) in /*****/includes/functions/sessions.php on line 102

    Warning: Cannot modify header information - headers already sent by (output started at /*****/fix_cache_key.php:43) in /*****/includes/init_includes/init_templates.php on line 78
    Cache Settings Synchronization Tool
    Recommendations
    Possible appropriate cache directory for your site is: /*****/cache

    Actual Information
    Read DIR_FS_SQL_CACHE from configure.php: /*****/cache
    Found SESSION_WRITE_DIRECTORY in database: /*****/cache

    No changes required.
    Exiting.
    Security
    PLEASE DELETE THIS FILE FROM YOUR SERVER NOW!!
    Removing this file (fix_cache_key.php) from your server protects you from would-be hackers/predators who might seek to compromise your server.
    Fatal error: Call to a member function Execute() on a non-object in /*****/includes/functions/sessions.php on line 61
    the problem still exist.
    Has someone an idea what to look for, or do with this report?

  4. #4
    Join Date
    Jun 2006
    Location
    Koh Samui
    Posts
    122
    Plugin Contributions
    0

    Default Re: no customer login

    Maybe you can change the cache directory to a new location.
    Or you can change the cache from file to DB.
    Is the cache directory writable?

    Also check that there are no whitespaces before <?php and after ?> in the mentioned files.
    Last edited by azrahn; 13 Aug 2008 at 02:43 PM.
    [FONT="Verdana"]http://www.xlventures.eu[/FONT]

  5. #5
    Join Date
    Jun 2006
    Location
    Koh Samui
    Posts
    122
    Plugin Contributions
    0

    Default Re: no customer login

    Also please see
    http://www.zen-cart.com/forum/showth...t=sessions.php
    and
    http://www.zen-cart.com/forum/showpo...7&postcount=26
    It seems related to your problem.
    Can you please give the versions of zen-cart and PHP?

    Ronald.
    [FONT="Verdana"]http://www.xlventures.eu[/FONT]

  6. #6
    Join Date
    Aug 2006
    Location
    Australia
    Posts
    15
    Plugin Contributions
    0

    Default Re: no customer login

    Thanks for your suggestion, I edited the session.php as suggested in the work around tutorial, with no results.
    the php version of my the web server is: 5.2.6
    as to the version of Zenchart, I discovered I can not log in the back for adim with the same results.
    is there a way in upgrading zenchart without login in?
    I assume I have a older version installed as I have not upgraded for a wile.

  7. #7
    Join Date
    Aug 2006
    Location
    Australia
    Posts
    15
    Plugin Contributions
    0

    Default Re: no customer login

    I will follow this tutorial to upgrade and hope to fix the problem this way.
    I may have no time to do this before start of next week, I will let you know how I am going after I done so

  8. #8
    Join Date
    Jun 2006
    Location
    Koh Samui
    Posts
    122
    Plugin Contributions
    0

    Default Re: no customer login

    Hi ,

    Good luck with the upgrade.
    If you did not changed the templates to much it won't be that much trouble.
    If you need any help you can contact me.

    Ronald.
    [FONT="Verdana"]http://www.xlventures.eu[/FONT]

 

 

Similar Threads

  1. v151 login from front end using admin login for any customer?
    By gsmsalers in forum General Questions
    Replies: 11
    Last Post: 1 Oct 2013, 03:52 PM
  2. Replies: 2
    Last Post: 3 May 2013, 02:49 AM
  3. Replies: 3
    Last Post: 22 Jul 2010, 06:11 PM
  4. Customer Login 'There was a security error when trying to login'
    By webzuma in forum Managing Customers and Orders
    Replies: 26
    Last Post: 11 Jun 2010, 04:21 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