Forums / Installing on a Windows Server / PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

Views: 5,636

Results 1 to 17 of 17
4 Dec 2012, 12:02 AM
#1
neonfyr avatar

neonfyr

New Zenner

Join Date:
Dec 2012
Posts:
20
Plugin Contributions:
0

PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

My server host sent me an email telling me to upgrade my PHP from 5.2 to 5.4.

When I did this my site got all crazy and I got an error message generated by ZenCart.

I do not have a copy of the error message on hand, but can switch it back to 5.4 to help describe the issue further.

Upon switching back to 5.2, the issue fixed itself.

I searched to find others with the same issue and could not find the same issue - apologies if this has already been addressed.

4 Dec 2012, 4:31 AM
#2
neonfyr avatar

neonfyr

New Zenner

Join Date:
Dec 2012
Posts:
20
Plugin Contributions:
0

Re: PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

apologies, but I believe this message should be posted in the report bug area.

I will post it there, please delete.

4 Dec 2012, 4:39 AM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,844
Plugin Contributions:
17

Re: PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

I really hope you didn't as this is not a bug. Version 1.3.8 is seven years old and not compatible with current PHP versions. Not to mention the known vulnerabilities making it a hacker's target.

Time to upgrade.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

4 Dec 2012, 4:41 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

Right. It's not really a bug, since PHP 5.4 didn't exist when v1.3.8a was built.

You need to upgrade your Zen Cart to the latest version.
https://www.zen-cart.com/upgrade

.
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 Dec 2012, 7:05 PM
#5
neonfyr avatar

neonfyr

New Zenner

Join Date:
Dec 2012
Posts:
20
Plugin Contributions:
0

Re: PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

Thank You for your help! You really made my day =)

6 Dec 2012, 12:26 AM
#6
rayw1679 avatar

rayw1679

Zen Follower

Join Date:
Mar 2005
Location:
Waxahachie, Texas
Posts:
172
Plugin Contributions:
0

Re: PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

Dr. Byte, I have the same issue. The concern is that I can't get the 1.5 config files to work; therefore, I can't upgrade. My store (1.3.8a) will die in a few months if it won't run under PHP5.4 or if I don't get an answer to my configure problem (I think I posted it in March, but don't hold me to it), which is still pending.

I've read where I don't need to use SSL, but that's contrary to everything else I've ever read. So, I can't upgrade, and I can't keep running what I have. I'm now forced to search for another store, which isn't what I want to do, either.

I worked in software support for a very large software company for about 10 years. It's very easy to become complacent and even to disregard some people as not smart enough to run your product when you're the guru. (I was Dr. 8-bit, plus 1 parity, and snarled when when some people didn't understand a limit of 32,767 on certain parms). Zen-cart is supposed to be for the "average" person from what I'm reading, and I don't know that's the case. I spent 20 years in mainframes and have installed software in Clear Lake (you know the one, you've seen it on the news, except they always started by saying "Houston, ..." instead of "Clear Lake, ..." I've also taught classes at White Sands Missile Range, but PHP is a different world than MVS.

I lease an entire server ($$$) just to get fast response from Zen-Cart. I'd like to keep it going, but some of this is beyond my areas of expertise.

Thanks,
Ray

6 Dec 2012, 4:06 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

@rayw1679,
Your issue is more specialized than the topic in this thread.
I've responded in your other thread, where the discussion is more relevant.

.
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.

6 Dec 2012, 2:58 PM
#8
rayw1679 avatar

rayw1679

Zen Follower

Join Date:
Mar 2005
Location:
Waxahachie, Texas
Posts:
172
Plugin Contributions:
0

Re: PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

Yes, and I appreciate that. I have responded to your post.

I just wanted to make sure you understood the gravity of what some of us are facing. I think neonfyr was feeling some frustration. Frankly, for me, I'm not the systems engineer I once was. Two spinal surgeries and the resulting pain meds have limited my technical skills considerably.

Thanks,
Ray

12 Dec 2012, 3:28 AM
#9
neonfyr avatar

neonfyr

New Zenner

Join Date:
Dec 2012
Posts:
20
Plugin Contributions:
0

Re: PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

Well, I've upgraded to the Zen Cart v1.5.1

I flipped the switch to go to PHP 5.4 from 5.2 and the site is still down.

So I will switch back to get the site to function, but I have to switch to PHP 5.4 very soon.

Please advise if you have any idea. =)

12 Dec 2012, 3:40 AM
#10
neonfyr avatar

neonfyr

New Zenner

Join Date:
Dec 2012
Posts:
20
Plugin Contributions:
0

Re: PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

The folks at my net host 1and1 said they are working on resolving the compatibility issues with PHP 5.4 and Zen Cart, I sure hope so.

=)

12 Dec 2012, 3:48 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

neonfyr:

and the site is still down.
Care to explain the symptoms in more detail?
http://www.zen-cart.com/content.php?124-blank-page

.
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.

12 Dec 2012, 3:48 AM
#12
neonfyr avatar

neonfyr

New Zenner

Join Date:
Dec 2012
Posts:
20
Plugin Contributions:
0

Re: PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

Sorry!
There seems to be a problem connecting to our database. Please give us a few minutes to remedy the problem. Thank you.

This is what the error reads.

12 Dec 2012, 4:04 AM
#13
drbyte avatar

drbyte

Sensei

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

Re: PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

So, am I correct that it's triggering a redirect from your store to the /nddbc.html file? That's caused specifically when PHP is unable to connect to your database by using the DB_XXXXXXX settings in your configure.php file. So it suggests something's wrong with your server's PHP configuration.

Has your hosting company offered any details about how they've configured, their PHP 5.4 differently from their PHP 5.2? Especially (but not limited to) MySQL settings

.
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.

12 Dec 2012, 4:24 AM
#14
neonfyr avatar

neonfyr

New Zenner

Join Date:
Dec 2012
Posts:
20
Plugin Contributions:
0

Re: PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

Yes, Dr. Byte you are correct that it directs to the web url you mentioned.

I will inquire with my host company about differences in their PHP 5.2 to 5.4.

Thank You!

12 Dec 2012, 4:34 AM
#15
neonfyr avatar

neonfyr

New Zenner

Join Date:
Dec 2012
Posts:
20
Plugin Contributions:
0

Re: PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

I had my programmer fix the issue.

He said it was an error in the zen cart programing.

I'll get more details.

12 Dec 2012, 4:44 AM
#16
neonfyr avatar

neonfyr

New Zenner

Join Date:
Dec 2012
Posts:
20
Plugin Contributions:
0

Re: PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

My programmers reply...

The file with the error is located on includes/classes/ssu/cores/parser.php on line 17 of Zen Cart version 1.5.1

The error was that there is a duplicate use of the keyword 'protected' which originally shows

protected protected static function getClass() {

The correct value must be

protected static function getClass() {

12 Dec 2012, 5:00 AM
#17
drbyte avatar

drbyte

Sensei

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

Re: PHP upgrade from 5.2 to 5.4 issue - Caused by SSU plugin

SSU is a plugin you installed. It is not part of Zen Cart core files.

Please report the bug in the SSU plugin's support thread.

.
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.