Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Aug 2009
    Posts
    2
    Plugin Contributions
    0

    Default Fatal error: Call to a member function Execute() on a non-object

    Hello I am new to this and am not technically minded

    My hosting company have updated their servers and now does not support my old zen so they uploaded the new version to the directory but still this has not helped it is showing message

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


    Please please can somebody help

    Many Thanks
    Joanna

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Fatal error: Call to a member function Execute() on a non-object

    .
    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
    Aug 2009
    Posts
    2
    Plugin Contributions
    0

    Default fatal error

    Hello I am new to this and am not technically minded

    Could anyone pleae help me as I am pulling my hair out has been going on for two months now and no one can help me

    My hosting company have updated their servers and now does not support my old zen so they uploaded the new version to the directory but still this has not helped it is showing message

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


    Please please can somebody help

    Many Thanks
    Joanna

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,269
    Plugin Contributions
    3

    Default Re: fatal error

    Try this... In the free add-ons section there is a piece of code called fix_cache_key.php...

    http://www.zen-cart.com/index.php?ma...products_id=82

    Download this zip file to your hard drive and unzip it.

    It is only one file - fix_cache_key.php

    FTP this file to the root installation of your webshop (where you see the admin, cache, images, includes, pub, folders (etc)...

    Open a browser window.

    Type in the address of your webshop, followed by /fix_cache_key.php

    eg: http://www.your_website.com/fix_cache_key.php

    ... and press [enter] button

    Let the file run and observe the result.

    When finished, remember to remove fix_cache_key.php from the server.
    Last edited by schoolboy; 28 Aug 2009 at 09:19 PM.
    20 years a Zencart User

  5. #5
    Join Date
    Aug 2006
    Location
    Ontario, Canada
    Posts
    46
    Plugin Contributions
    0

    Default Re: Fatal error: Call to a member function Execute() on a non-object

    Hello,

    Recently, our store was relocated to another server and this error is appearing at the bottom of the page after installation.

    "Fatal error: Call to a member function Execute() on a non-object in /home/content/c/a/r/cardquality/html/includes/functions/sessions.php on line 62"

    I attempted to run the Fix Cache Key, and removed the file from my server when I was finished. However, the error is still showing.

    Also; I am unable to log into the admin panel with the user and password that I specified in the installation.

    Finally, the items in our store (in the .sql file that I restored and connected to the store upon re-installation) are not appearing on the site.

    Here is a link to our store: http://www.cardquality.com/

    Thank you for your help.

    Jesse

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Fatal error: Call to a member function Execute() on a non-object

    Let me guess ... you're using an old version of Zen Cart that's not compatible with probably the newer version of PHP on the server you moved to?
    .
    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
    Aug 2006
    Location
    Ontario, Canada
    Posts
    46
    Plugin Contributions
    0

    Default Re: Fatal error: Call to a member function Execute() on a non-object

    Hi Dr.Byte,

    This could very well be an issue. I am currently running the following settings on the Linux server:

    PHP Version = 5.2.8 (http://www.cardquality.com/phpversion.php)

    My includes/configure.php file comments indicate that I am using Version 2.0 of Zen Cart. This site was originally installed back in 2006. The copyright in this file indicates 2003-2006.

    If this is the case, what should I do to remedy this situation?

    Thank you.

    PS - I am from Ontario as well. Nice to meet you.

    Jesse

  8. #8
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Fatal error: Call to a member function Execute() on a non-object

    Quote Originally Posted by Jesse_Tyler View Post
    My includes/configure.php file comments indicate that I am using Version 2.0 of Zen Cart. This site was originally installed back in 2006. The copyright in this file indicates 2003-2006.
    That's likely referring to the GPL License revision number, since Zen Cart is only at v1.3.8a today.

    You're actually using v1.3.0.2, according to your /install.txt file and your /docs/index.html file.

    Only v1.3.7 and newer are compatible with PHP 5.0 thru 5.2.

    You're strongly advised to upgrade your entire site to the latest version.
    In the meantime, you might be able to fix the "Call to a member function Execute()" error message by making an edit to your /includes/functions/sessions.php file as I pointed out as the solution to the first person in this discussion, above:
    .
    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.

  9. #9
    Join Date
    Aug 2006
    Location
    Ontario, Canada
    Posts
    46
    Plugin Contributions
    0

    Default Re: Fatal error: Call to a member function Execute() on a non-object

    Hi Dr.Byte,

    Thank you. I will upgrade the site. I have an .sql backup file, and will keep you posted with the progress.

    Jesse

  10. #10
    Join Date
    Aug 2006
    Location
    Ontario, Canada
    Posts
    46
    Plugin Contributions
    0

    Default Re: Fatal error: Call to a member function Execute() on a non-object

    I've compared the changes in WinMerge, and there are too many to make note of. I think I may have to reinstall a new version from scratch. Will I be able to restore my old database with a fresh install of the latest version of ZenCart?

    Thank you.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v1.2.x Fatal error: Call to a member function Execute() on a non-object
    By musikmachine in forum General Questions
    Replies: 1
    Last Post: 15 Feb 2012, 12:21 AM
  2. Replies: 2
    Last Post: 5 Jul 2008, 04:27 PM
  3. Fatal error: Call to a member function Execute() on a non-object
    By OLDTango in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 28 Jul 2007, 03:43 PM
  4. Replies: 6
    Last Post: 4 Jun 2007, 11:42 PM
  5. Replies: 4
    Last Post: 28 Feb 2007, 03:31 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