Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2007
    Posts
    41
    Plugin Contributions
    0

    database error Cannot use the Sql install patch or import direct to data base

    Hi
    Can someone tell me if it is possible to mend a corrupt data base.
    When I need to import a sql patch either direct to data base or through my admin in always errors.
    Every patch or update fails and gets similar error message as stated below.

    this is the message I received

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"configWantButton"' at line 1
    in:
    [DELETE FROM admin_pages WHERE page_key = "configWantButton";]
    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 tried the same patch on my other shops database via admin and it all worked fine.

    Does this mean my database is corrupt in some way and can it be fixed,
    Don't want to start from scratch as I have over 2000 products on the site plus customer details, pictures etc.

    Im not very good with databases, so any help in simple terms would be helpful.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Cannot use the Sql install patch or import direct to data base

    No, it doesn't mean database corruption.

    Try changing the double quote " to a single quote' in both cases surrounding configWantButton.

    The other thing is are you sure that that value is in your database to be deleted?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v139h Upload SQL Patch via phpMyAdmin in MySQL INSTEAD OF Amin-Tools-Install AQL patch ????
    By shags38 in forum Customization from the Admin
    Replies: 11
    Last Post: 20 Aug 2012, 04:19 AM
  2. Data base patch?
    By maperr55 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 10
    Last Post: 5 Jun 2010, 01:44 AM
  3. Moved servers and data base will not import any help?
    By touchclothing in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 11 Apr 2008, 10:08 PM
  4. Error trying to use Data base optomise
    By sparktronic in forum General Questions
    Replies: 3
    Last Post: 16 Jan 2008, 06:35 AM
  5. Data Base Patch
    By Renz in forum Customization from the Admin
    Replies: 1
    Last Post: 29 Jun 2006, 05:26 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