Results 1 to 8 of 8
  1. #1
    Join Date
    May 2006
    Posts
    188
    Plugin Contributions
    0

    Default Cross Sell SQL Error

    I'm trying to upload the products_xsell.sql file via Admin->Tools->Install SQL Patch, but keep getting this error.

    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 'true','false'), ', now())' at line 1
    in:
    [INSERT INTO zen_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Cross-Sell - Display prices?', 'XSELL_DISPLAY_PRICE', 'false', 'Cross-Sell -- Do you want to display the product prices too?
    Default: false', 18, 72, 'zen_cfg_select_option(array('true','false'), ', now());]
    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.
    How would I fix this?

  2. #2
    Join Date
    Jun 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: Cross Sell SQL Error

    Did you happen to figure this out? I'm getting the same error.

    Please let me know!

    Thanks so much-
    Amy

  3. #3
    Join Date
    May 2006
    Posts
    188
    Plugin Contributions
    0

    Default Re: Cross Sell SQL Error

    No, unfortunately, I have not. I am going to leave this contribution off of my Zencart until someone can help me out.

  4. #4
    Join Date
    May 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Cross Sell SQL Error

    Im getting exactly the same error, can anyone please please help.....

    Thanks,

    Craig.

  5. #5
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Cross Sell SQL Error

    Don't upload sql-patch. Use copy/paste!!!!

  6. #6
    Join Date
    May 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Cross Sell SQL Error

    Andrew....

    Thank you very much, working perfectly as far as I can tell !!



  7. #7
    Join Date
    Jun 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: Cross Sell SQL Error

    I tried that too and it seems to work! Yee ha!

    thanks!

    amy

  8. #8
    Join Date
    Nov 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Cross Sell SQL Error

    Quote Originally Posted by a_berezin View Post
    Don't upload sql-patch. Use copy/paste!!!!
    Hi Andrew,

    I have the same error. But as a beginner, I don't know how to copy/paste!

    Thanks:george

 

 

Similar Threads

  1. Cross Sell SQL error
    By garwak in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 18 Jan 2013, 03:06 AM
  2. Fatal Error After installing Cross Sell - Just Another Cross Sell Mod
    By kconklin in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 9 Jul 2010, 02:38 PM
  3. Cross Sell Install Trouble - SQL Error - help would be great!
    By steveo3279 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 25 Jan 2008, 08:14 PM
  4. Cross Sell My Sql Syntax Error
    By squid in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 22 Sep 2007, 11:04 PM
  5. Cross sell sql error
    By bean_2k1 in forum Contribution-Writing Guidelines
    Replies: 7
    Last Post: 10 Apr 2007, 03:19 PM

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