Zen Cart Logo
Forums / Upgrading to 1.5.x / Fallen prey to server PHP upgrade - need to identify my installed version

Fallen prey to server PHP upgrade - need to identify my installed version

Views: 6,722

Results 1 to 5 of 5
4 Sep 2012, 3:03 PM
#1
hawkweber avatar

hawkweber

New Zenner

Join Date:
Aug 2007
Posts:
15
Plugin Contributions:
0

Fallen prey to server PHP upgrade - need to identify my installed version

My host has also upgraded their PHP version which killed my admin portion of the site (get the dreaded "Deprecated function ereg()..." message. I know I now have to quickly upgrade my version of zen-cart. While the site is up and running, I can't get into the admin portion - that is where the error messages show up - so I can't view the main page to see what the installed version is. I need to know that so I can make sure I do a proper file comparison to identify my customizations.

What file would have the version number? I have looked at a number of them but the headers only list copyright dates.

4 Sep 2012, 3:10 PM
#2
jc8125 avatar

jc8125

Zen Follower

Join Date:
Oct 2007
Posts:
143
Plugin Contributions:
0

Re: Fallen prey to server PHP upgrade - need to identify my installed version

i n c l u d e s / v e r s i o n . p h p

4 Sep 2012, 3:21 PM
#3
hawkweber avatar

hawkweber

New Zenner

Join Date:
Aug 2007
Posts:
15
Plugin Contributions:
0

Re: Fallen prey to server PHP upgrade - need to identify my installed version

Thanks jc8125! wow, I'm at version 1.3.7.1 - didn't realize I was that far behind.

Is there any way to turn on "Down for Maintenance" when one can't get into the admin console due to the php version problem?

4 Sep 2012, 3:32 PM
#4
jc8125 avatar

jc8125

Zen Follower

Join Date:
Oct 2007
Posts:
143
Plugin Contributions:
0

Re: Fallen prey to server PHP upgrade - need to identify my installed version

if you have access to phpmyadmin, navigate to the "configuration" table, find the "DOWN FOR MAINTENANCE" row, and change the value from false to true. or, you can run this sql command from phpmyadmin (i'm not expert but just tested on my local install and it worked..)

update configuration set configuration_value = "true" where configuration_key = "DOWN_FOR_MAINTENANCE"

4 Sep 2012, 4:56 PM
#5
hawkweber avatar

hawkweber

New Zenner

Join Date:
Aug 2007
Posts:
15
Plugin Contributions:
0

Re: Fallen prey to server PHP upgrade - need to identify my installed version

Thanks!