Forums / General Questions / Updated PHP5.2 to PHP5.3 now nothing works,,, nothing, notta,

Updated PHP5.2 to PHP5.3 now nothing works,,, nothing, notta,

Views: 2,829

Results 1 to 11 of 11
12 Dec 2014, 4:51 PM
#1
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Updated PHP5.2 to PHP5.3 now nothing works,,, nothing, notta,

Think I hosed myself? zen 1.51
I want to install COWOA, so I check my PHP version on Godaddy. It showed 5 with no .2 after the 5.
When I finally figured out how to change versions, the screen showed that 5.2 was active and 5.3 was an option.

Well COWOA apparantly needs 5.2, godaddy's version showed to be 5, so I figured since 5.2 is no longer supported, might as well install 5.3,,,

That's when I get "WARNING: An Error occurred, please refresh the page and try again."

Customer sees "problem conencting to database"

log file ,,, 12-Dec-2014 09:39:04 America/Phoenix] PHP Fatal error: 0:DB_ERROR_NOT_CONNECTED :: select * from zen_project_version WHERE project_version_key = 'Zen-Cart Database' in /home/content/m/e/s/userid/html/store/includes/classes/db/mysql/query_factory.php on line 120

Whaty I need to do?

12 Dec 2014, 5:03 PM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Updated PHP5.2 to PHP5.3 now nothing works,,, nothing, notta,

mespe:

PHP Fatal error: 0:DB_ERROR_NOT_CONNECTED :: select * from zen_project_version WHERE project_version_key = 'Zen-Cart Database' in /home/content/m/e/s/userid/html/store/includes/classes/db/mysql/query_factory.php on line 120

Whaty I need to do?

Don't be misled by the "PHP Fatal Error". This doesn't have anything to do with PHP itself. It is simply the reporting agent.

The real problem relates to your database settings, so the 1st thing you need to do is inspect your configure.php files and ensure that they have valid settings for the database.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

12 Dec 2014, 5:06 PM
#3
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Updated PHP5.2 to PHP5.3 now nothing works,,, nothing, notta,

configure.php, which one, what needs to be changed?

12 Dec 2014, 5:08 PM
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Updated PHP5.2 to PHP5.3 now nothing works,,, nothing, notta,

mespe:

configure.php, which one, what needs to be changed?

If it is only the customers getting this error it will be /includes/configure.php
If the error is when accessing the admin part of the site then it'll be /YOURADMIN/includes/configure.php

If both, then both :)

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

12 Dec 2014, 5:11 PM
#5
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Updated PHP5.2 to PHP5.3 now nothing works,,, nothing, notta,

Found my problem,,, almost there,,, when I was trying to figure out the php version, I wound up changing the password on the database. Changed the configuration.php in includes and now the store is up, but need to find the other one so that i can log in as admin

12 Dec 2014, 5:13 PM
#6
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Updated PHP5.2 to PHP5.3 now nothing works,,, nothing, notta,

found it, it was in admin/includes

12 Dec 2014, 5:13 PM
#7
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Updated PHP5.2 to PHP5.3 now nothing works,,, nothing, notta,

anywhere else I need to look?

12 Dec 2014, 5:16 PM
#8
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,733
Plugin Contributions:
56

Re: Updated PHP5.2 to PHP5.3 now nothing works,,, nothing, notta,

The error you showed at the top (DB_ERROR_NOT_CONNECTED) means your configure files are specifying the wrong DB information. Look at includes/configure.php and YOUR_ADMIN/includes/configure.php.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

12 Dec 2014, 5:20 PM
#9
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Updated PHP5.2 to PHP5.3 now nothing works,,, nothing, notta,

mespe:

anywhere else I need to look?

Nope. Just those two.

RU Still having problems?

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

12 Dec 2014, 5:28 PM
#10
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Updated PHP5.2 to PHP5.3 now nothing works,,, nothing, notta,

No problems with the store, but COWOA doesn't seem to work yet
No change in the checkout procedure/paypal doesn't show up, still need to log on to buy something,,,

12 Dec 2014, 6:02 PM
#11
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Updated PHP5.2 to PHP5.3 now nothing works,,, nothing, notta,

OK back on track,,, problem with COWOA was default template oriented,,,