Forums / All Other Contributions/Addons / Is PHP 5.3.2 Supported? - SEO URLs

Is PHP 5.3.2 Supported? - SEO URLs

Locked

Views: 2,226

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
4 Aug 2010, 3:51 PM
#1
imacamper avatar

imacamper

New Zenner

Join Date:
Nov 2009
Posts:
50
Plugin Contributions:
0

Is PHP 5.3.2 Supported? - SEO URLs

I'm using Zen Cart 1.38 and it has been working fine. Last night, my ISP decided to upgrade its PHP software from 5.2.x to 5.3.2. Now my Zen Cart site is badly broken. index.php just returns a blank page. I'm in big trouble :Flush:

I followed the 2b instruction at https://www.zen-cart.com/tutorials/index.php?article=82 and created an includes/local/configure.php file with the appropriate content. index.php still returns a blank page. However admin/index.php returns a lot of warnings about deprecated calls and then bombs with this fatal error:

Fatal error: Cannot redeclare date_diff() in /home/alchemis/public_html/store/admin/includes/functions/general.php on line 3001

Can I quickly do something to make 1.38 work with PHP 5.3.2? If not, will upgrading to 1.39 fix my troubles?

Please help! :onfire:

Thanks,

Drew

4 Aug 2010, 4:00 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Is PHP 5.3.2 Supported? - SEO URLs

Zen Cart v1.3.9 is compatible with PHP 5.3.x
Zen Cart v1.3.8a and older are not.

Options:
a) Upgrading to the latest Zen Cart version is the recommended method.
b) Patching v1.3.8a may buy you some time briefly, but remember that v1.3.8a and older also had some security vulnerabilities, and thus upgrading is still the best approach. Patch announcement was posted here: http://www.zen-cart.com/forum/showthread.php?t=140960

.
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 Aug 2010, 4:32 PM
#4
imacamper avatar

imacamper

New Zenner

Join Date:
Nov 2009
Posts:
50
Plugin Contributions:
0

Re: Is PHP 5.3.2 Supported? - SEO URLs

Thank for your reply. I will upgrade but need to get my store back online ASAP. Thus I've installed the patch for now. My admin screen works again but the main /index.php still returns blank even with error reporting on in includes/local/configure.php.

I suspect the trouble is caused by some plug-ins I have installed. These are the ones I have:

Easy Populate
Simple SEO URL
Recover Cart Sales
Sitemap XML
Google Base Feeder

Any suggestions on getting things going?

Thanks for your help.

Drew

5 Aug 2010, 1:48 PM
#5
imacamper avatar

imacamper

New Zenner

Join Date:
Nov 2009
Posts:
50
Plugin Contributions:
0

Re: Is PHP 5.3.2 Supported? - SEO URLs

Simple Seo URL 3.8.4 (as downloaded from EazyCommerce.com) does not work with PHP 5.3. I get the following error when running on a PHP 5.3.4 server:

PHP Fatal error:  Multiple access type modifiers are not allowed in includes/classes/ssu/cores/parser.php on line 17

A Google search turned up this page:

http://www.devshed.com/c/a/PHP/Using-Late-Static-Bindings-in-PHP-53/3/

which suggests that "self::" now needs to be "static::" for getClass().

I have been unable to test as my ISP has rolled back to PHP 5.2.4.

I have posted this info in the Simple SEO Support thread.