Zen Cart Logo
Forums / General Questions / Need help with PHP 5.2 to 5.4

Need help with PHP 5.2 to 5.4

Views: 869

Results 1 to 6 of 6
10 Feb 2014, 1:35 AM
#1
mtcyclist avatar

mtcyclist

New Zenner

Join Date:
Feb 2014
Location:
Billings, MT
Posts:
2
Plugin Contributions:
0

Need help with PHP 5.2 to 5.4

My name is Gerry and I have a small internet business that uses Zen Cart. The code for the website was written by Kim Edwards , AKA “Kiddo.” I have been unable to contact her in quite some time and know that she went into hospice care a couple of years ago and was quite ill at that time. I received a notice from Host Monster on February 8 that they are discontinuing support for PHP 5.2 which is what Kim used when she wrote the code for my website. I did the test they suggested to determine if my website is compatible with PHP 5.4 and it is not, all I see is a blank white screen. I suspect that this is due to the Google Analytics code that is in there somewhere. The notice didn’t state when 5.2 will go away but I suspect quite soon. I need some help or I lose my website and will have to start all over without the help of someone who really knows what they’re doing.

Zen-Cart is also badly out of date and I have no idea who to update it. This is one of several things I asked her about telling me but she seemed quite reluctant to tell me how to do anything. She probably thought I would hose up something and she would have to fix it. Now I seem pretty much out of luck.

Thanks

10 Feb 2014, 2:09 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Need help with PHP 5.2 to 5.4

Your current Zencart version won't work with PHP 5.4, and I'm not sure if the mystical patches (I haven't been able to find them) will work on a Zencart version that old.

Maybe someone else can provide a link to the patches and will know if they'll work with version 1.3.7.

10 Feb 2014, 10:23 PM
#3
mtcyclist avatar

mtcyclist

New Zenner

Join Date:
Feb 2014
Location:
Billings, MT
Posts:
2
Plugin Contributions:
0

Re: Need help with PHP 5.2 to 5.4

Thanks. If I knew how to do it I would just go ahead and update Zen Cart but I have no idea how to do it. I guess I'm faced with rebuilding it or not having it.

10 Feb 2014, 10:49 PM
#4
pazdar avatar

pazdar

Zen Follower

Join Date:
Jan 2008
Posts:
174
Plugin Contributions:
0

Re: Need help with PHP 5.2 to 5.4

Good Evening;

Which version is compatible with php 5.4?

11 Feb 2014, 6:21 PM
#5
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Need help with PHP 5.2 to 5.4

mtcyclist:

Thanks. If I knew how to do it I would just go ahead and update Zen Cart but I have no idea how to do it. I guess I'm faced with rebuilding it or not having it.

1.3.7 contains so much deprecated code, that patching it would take more time, then just rebuilding your site with 1.51 or 1.5.2
And it is not only the php compatibility, it is also the code concerning your shops safety. If a hacker discovers your site he/she will have no trouble kacking it

11 Feb 2014, 7:22 PM
#6
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,069
Plugin Contributions:
56

Re: Need help with PHP 5.2 to 5.4

Design75:

1.3.7 contains so much deprecated code, that patching it would take more time, then just rebuilding your site with 1.51 or 1.5.2
And it is not only the php compatibility, it is also the code concerning your shops safety. If a hacker discovers your site he/she will have no trouble kacking it
It's not just the deprecated code in your version of Zen Cart, it's also the use of deprecated code by any plugins you might use. It's safe to say that if any of your plugins require admin-level interaction (even their "own" configuration entry screen) that they're currently incompatible with the current (and up-coming) version of Zen Cart due to the more secure form of plugin enabling.

Do you know what plugins (including your template) are currently being used by your store?