Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2008
    Location
    UK
    Posts
    326
    Plugin Contributions
    1

    Default 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

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

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

  3. #3
    Join Date
    Apr 2008
    Location
    UK
    Posts
    326
    Plugin Contributions
    1

    Default 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

  4. #4
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

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

  5. #5
    Join Date
    Apr 2008
    Location
    UK
    Posts
    326
    Plugin Contributions
    1

    Default 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

  6. #6
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

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

  7. #7
    Join Date
    Apr 2008
    Location
    UK
    Posts
    326
    Plugin Contributions
    1

    Default 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

 

 

Similar Threads

  1. Replies: 6
    Last Post: 25 Sep 2015, 03:00 AM
  2. 1.38a to 1.39h upgrade problems - Never get database needs updating
    By letsmod in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 9 Dec 2010, 04:13 AM
  3. Updating database problems
    By pb4 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 13 Oct 2009, 04:44 PM
  4. updating database
    By Neemisha in forum Basic Configuration
    Replies: 4
    Last Post: 3 Oct 2007, 02:58 PM
  5. How do I avoid corruption when updating database? Only allowed one database.
    By kevin_a in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 9 May 2007, 07:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg