Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / after upgrade, no images and can't use admin

after upgrade, no images and can't use admin

Locked

Views: 2,919

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
22 Jul 2007, 12:49 AM
#1
sobebabies avatar

sobebabies

Zen Follower

Join Date:
Sep 2006
Posts:
158
Plugin Contributions:
0

after upgrade, no images and can't use admin

I just upgraded from 1.3.5 to fully patched 1.3.7. I backed up the database and copied it to a new database, pointed my new shop's config files there, and did upgrade. It gave some warnings but they seemed harmless (no I do not have them but it was of the nature of not being able to modify tables in ways that they were already modified).

I looked at my new shop and it has no images:
http://www.sobebabies.com/new-shop/

But it's connecting to the new database fine; now I can see all my products.

So I tried to go to my admin but I simply can not get in. Any php file I try to access in my admin directory gives this error:

0 DB_ERROR_NOT_CONNECTED
in:
[select * from project_version WHERE project_version_key = 'Zen-Cart Database' ]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I have been looking at all the threads on this. I have verified that the pathnames and db passwords in my configure.php files are correct and as far as I know, my database is fine. I can browse records of various tables. The admin table looks correct.

I've compared my older versions of configure.php to the new versions and the only differences are the pathnames to my store and the database host/username/pw. Other than that, all the same.

Does one config file get used for the store and the other for the admin? They have the same info. How could my store be getting to my db but the admin can't?

22 Jul 2007, 2:10 AM
#2
sobebabies avatar

sobebabies

Zen Follower

Join Date:
Sep 2006
Posts:
158
Plugin Contributions:
0

Re: after upgrade, no images and can't use admin

Well I copied my images over but I seriously didn't see that in the upgrade instructions. Perhaps I am blind. :cry: But I still can't go live since I can not get to my admin. That sucks; it's all totally ready to go as far as I can see but not usable and by the time I get this figured out, I'll have to dump and reload the db again.

22 Jul 2007, 2:28 AM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: after upgrade, no images and can't use admin

Sounds like the two configure.php files are not configured the same ...
/includes/configure.php
/admin/includes/comfigure.php

Or ... you need to reload the files for:
/admin

as some may be missing or damaged or otherwise bad ...

22 Jul 2007, 2:42 AM
#4
sobebabies avatar

sobebabies

Zen Follower

Join Date:
Sep 2006
Posts:
158
Plugin Contributions:
0

Re: after upgrade, no images and can't use admin

Oh YAY! I AM a dufus! It was the tiniest of typos. The DB and PW fields were swapped. You rock! Woo hoo! Moving on! (but missed stuff and will have to reload that darned db before goin' live - oh well!)

Thank you!:clap:

22 Jul 2007, 2:43 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: after upgrade, no images and can't use admin

Glad that you are back on track ... :cool:

23 Aug 2007, 5:31 PM
#6
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: after upgrade, no images and can't use admin

We just moved to a new hosting provider and are hitting this same problem. I even copied the database section from the /includes/configure.php to the /admin/includes/configure.php and no difference. I'm still hunting.

sobebabies:

But it's connecting to the new database fine; now I can see all my products.

So I tried to go to my admin but I simply can not get in. Any php file I try to access in my admin directory gives this error:

0 DB_ERROR_NOT_CONNECTED
in:
[select * from project_version WHERE project_version_key = 'Zen-Cart Database' ]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I have been looking at all the threads on this. I have verified that the pathnames and db passwords in my configure.php files are correct and as far as I know, my database is fine. I can browse records of various tables. The admin table looks correct.

I've compared my older versions of configure.php to the new versions and the only differences are the pathnames to my store and the database host/username/pw. Other than that, all the same.

Does one config file get used for the store and the other for the admin? They have the same info. How could my store be getting to my db but the admin can't?

23 Aug 2007, 5:59 PM
#7
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: after upgrade, no images and can't use admin

dhcernese:

We just moved to a new hosting provider and are hitting this same problem. I even copied the database section from the /includes/configure.php to the /admin/includes/configure.php and no difference. I'm still hunting.Well, I thought I did, but I must have not saved it. That was the cause (mismatched passwords).

26 Aug 2007, 6:34 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: after upgrade, no images and can't use admin

Thanks for the update and glad that you are now working again ... :smile: