Zen Cart Logo
Forums / General Questions / Zen Cart Suddenly wonky after server upgrade to PHP 5

Zen Cart Suddenly wonky after server upgrade to PHP 5

Locked

Views: 1,085

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
11 Mar 2008, 4:12 AM
#1
dunover avatar

dunover

New Zenner

Join Date:
Feb 2006
Posts:
3
Plugin Contributions:
0

Zen Cart Suddenly wonky after server upgrade to PHP 5

my Zen cart site has suddenly come up with this error and is preventing admin log in

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

I am wondering if it has to do with a server upgraded to PHP 5.2.5?.
this zen cart version is Version 1.2.5

Does anyone got any ideas where I should start on trouble shooting this? Should I try an upgrade to fix it, or will it make it worse!

Thanks!
Cori

11 Mar 2008, 4:17 AM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Zen Cart Suddenly wonky after server upgrade to PHP 5

Yes this is the issue,
you really need to upgrade,

11 Mar 2008, 4:21 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Zen Cart Suddenly wonky after server upgrade to PHP 5

This should help give some SHORT TERM relief:
http://www.zen-cart.com/forum/showpost.php?p=287587&postcount=26

But, as Merlin said, you REALLY DO need to upgrade, as there are other incompatibilities addressed in the newer versions.

Be sure to follow the upgrade steps carefully. You'll have to redesign your template since you're moving from such an old version ...

11 Mar 2008, 3:30 PM
#4
redgecko avatar

redgecko

New Zenner

Join Date:
Sep 2006
Posts:
3
Plugin Contributions:
0

Re: Zen Cart Suddenly wonky after server upgrade to PHP 5

I am a little nervous about upgrading to tell the truth, I have no idea which files where edited and there were alot, I am hoping for a semi easy fix. I did look at the instructions which also look like many, many hours of work....alot of that "merging, seperate install folders, new databases....wow...looks like it could be easier to create a whole new cart with an easy script?

If I upgrade am I looking a days and a bug night mare? Or will it go easy? Is there a different way, is there not just an "upgrade" script?

Thanks for your help!
Cori

11 Mar 2008, 3:53 PM
#5
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Zen Cart Suddenly wonky after server upgrade to PHP 5

If you followed the rules governing templates in the begining then upgrading wont be that hard, its just a matter or merging your add ons in,

however it might be easier to create a brand new install in a new folder
then after the site is installed upload a copy of your current database, and run the upgrade scripts,

then reskin the new cart,
once done move it into place.

and no there is no upgrade script

12 Mar 2008, 2:19 AM
#6
nhradeuce avatar

nhradeuce

New Zenner

Join Date:
Sep 2006
Posts:
64
Plugin Contributions:
0

Re: Zen Cart Suddenly wonky after server upgrade to PHP 5

You would probably save a ton of time just starting with a fresh install and upgrading the DB only. That would certainly be the fastest way to have your store up and running again.