Forums / General Questions / Updating products - database problems

Updating products - database problems

Locked
Results 1 to 7 of 7
This thread is locked. New replies are disabled.
30 Jul 2008, 09:10
#1
confused_aswell avatar

confused_aswell

Zen Follower

Join Date:
Apr 2008
Posts:
315
Plugin Contributions:
1

Updating products - database problems

Hi

I have tried to update one of my items today and found that I am getting this error when i try to update from the admin > catalog > catagories/products.

1146 Table 'myusername_zc1.zen_seo_cache' doesn't exist
in:
[DELETE FROM zen_seo_cache WHERE cache_name LIKE '%seo_urls%']
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

My shop has been working fine, but I restored the database to a working backup I made a few weeks ago after I made some changes. I may have caused a few more problems in doing this, any suggestions?

The shop is working fine but just can't update anything.

Thanks,

Phil
30 Jul 2008, 09:17
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Posts:
2,957
Plugin Contributions:
0

Re: Updating products - database problems

You backed up your database a couple of weeks ago.
Did you add the SEO module AFTER that backup? And did it require a SQL patch for the dbase?

If so, you still have the SEO module code files (php files) that are giving instructions for a Dbase operation, and the (restored from backup made 2 weeks ago) dbase is not configured to accept them.
30 Jul 2008, 11:18
#3
confused_aswell avatar

confused_aswell

Zen Follower

Join Date:
Apr 2008
Posts:
315
Plugin Contributions:
1

Re: Updating products - database problems

Hi

I tried to install googlefroogle after the backup, but couldn't get it working so I decided to remove all of the files relating to that mod on my server and I tidied up the database tables that didn't have zen in them, I then came unstuck because then the supertracker mod didn't work. This is when I restored to the back up from a few weeks ago. I have really messed up haven't I?

Hope this helps,

Phil
30 Jul 2008, 11:47
#4
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Posts:
2,957
Plugin Contributions:
0

Re: Updating products - database problems

When you say you "tidied up the database tables that didn't have zen in them", do you mean that your database uses PREFIXES?

It would appear that you have something installed (php files) that are trying to interact with the database.

You may have to remove supertracker mod (php files). As I don't use this mod, I don't know if it over-wites any core files, but if it does, you may need to restore the originals.

Basically, you need to get your php side compatible with the mysql side.

If there is php that's trying to interact with dbase tables that don't exist anymore, you'll get the error messages.
30 Jul 2008, 12:19
#5
confused_aswell avatar

confused_aswell

Zen Follower

Join Date:
Apr 2008
Posts:
315
Plugin Contributions:
1

Re: Updating products - database problems

Hi

I guess that I will have to restore the files to what it was originally, what is the best way to restore the database and files without deleting the whole thing off?

Thanks,

Phil

Yes, my database uses prefixes. eg zen_customers
30 Jul 2008, 13:19
#6
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Posts:
2,957
Plugin Contributions:
0

Re: Updating products - database problems

As the restored database is functionally intact, it would be unwise to start manually playing around with the tables.

Basically, when you try to update, your ZC is looking for a table called:-
zen_seo_cache.

This table was probably created when you ran a SQL patch for that module.

If you open the module's folders and files (on your local drive) you will see both the folder names and file paths associated with the module.

You should REMOVE these files from your SERVER - making sure of course - that if you remove a core file that the module over-writes, you will then need to upload the ORIGINAL of that file.

It's a bit tedious, but that's all I can suggest.

Don't tamper with your database (unless you make a copy of it and play around with the copy).
30 Jul 2008, 17:11
#7
confused_aswell avatar

confused_aswell

Zen Follower

Join Date:
Apr 2008
Posts:
315
Plugin Contributions:
1

Re: Updating products - database problems

Hi

I will try and have a look later tonight. I feel foolish for what I did, I am going to have be a lot more strict on what I do.

Thanks,

Phil