Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2005
    Posts
    38
    Plugin Contributions
    0

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

    Hi there,

    I am using PHP 4.4.2 and have started receiving the following error on the https:// pages of a site

    Fatal error: Call to a member function Execute() on a non-object in mysite/includes/functions/sessions.php on line 61
    I have read the other thread but as they involve php 5.2.0 I don't believe they apply and I have other sites that don't suffer this problem.

    Thanks

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

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

    The same fix should work for you.
    Are you sure your https server isn't runing PHP 5 ? (some hosts split the SSL and nonSSL onto different servers)
    .

    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
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

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

    What version of Zen Cart are you using?
    .

    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.

  4. #4
    Join Date
    Jul 2005
    Posts
    38
    Plugin Contributions
    0

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

    Hi thanks for your response.

    I am sure that upgrading would work however I don't wish to have to go through an upgrade.

    Yes I am sure that it isn't. From the Zen Version thingy - PHP Version: 4.4.7 (Zend: 1.3.0)

    Server: Apache/1.3.37 (Unix) mod_throttle/3.1.2 DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.4.7 mod_ssl/2.8.22 OpenSSL/0.9.7e

  5. #5
    Join Date
    Jul 2005
    Posts
    38
    Plugin Contributions
    0

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

    Quote Originally Posted by DrByte View Post
    What version of Zen Cart are you using?
    Zen Cart 1.3.0.1

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

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

    You should be able to use the same fix as posted in that other thread you mentioned. ie:
    http://www.zen-cart.com/forum/showpo...587#post287587
    solution "b" is what you want, and you need to do BOTH of your sessions.php files:
    /includes/functions/sessions.php
    /admin/includes/functions/sessions.php

    Or if you're daring, you could try this more complicated approach:
    http://www.zen-cart.com/forum/showthread.php?t=56091
    (also in both files)
    .

    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
    Jul 2005
    Posts
    38
    Plugin Contributions
    0

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

    Ok thanks I'll look into it.

 

 

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. Replies: 1
    Last Post: 29 Feb 2008, 11:06 PM
  4. 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
  5. Fatal error: Call to a member function Execute() on a non-object in session.php
    By galey in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 6 Nov 2006, 10:32 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