Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Multi Cross Sell Module

    Quote Originally Posted by Lazar View Post
    I got the error mistake displayed at the every product page:

    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 '' at line 7
    in:
    [select distinct p.products_id, p.products_image, pd.products_name from zen_products_xsell1 xp, zen_products p, zen_products_description pd where xp.products_id = '2' and xp.xsell_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '3' and p.products_status = 1 order by xp.sort_order asc limit ]

    Any idea about this?
    Hi Lazar
    The key problem is at the very end.
    There is a limit statement with nothing after it.
    You need to have a number here. eg: limit 6

    The support thread is here:
    http://www.zen-cart.com/forum/showthread.php?t=158571
    Your problem is the same or similar to post #3 and the answer is in post #31

  2. #2
    Join Date
    Feb 2011
    Location
    Between London and Cetinje
    Posts
    107
    Plugin Contributions
    0

    Default Re: Multi Cross Sell Module

    Quote Originally Posted by gilby View Post
    I am assuming you had a previous cross sell installed??
    Almost certainly some of the previous mods configuration values are still there.

    Search the configuration table for configuration_key = "MAX_DISPLAY_XSELL"
    And delete this entry.

    While you at it see if "MIN_DISPLAY_XSELL" is also there and delete it as well
    Can you explain me how to delete this entry in admin?

  3. #3
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Multi Cross Sell Module

    Quote Originally Posted by Lazar View Post
    Can you explain me how to delete this entry in admin?
    Can't do it in admin

    You need to use a system tool on your website account.
    Something like phpmyadmin

  4. #4
    Join Date
    Feb 2011
    Location
    Between London and Cetinje
    Posts
    107
    Plugin Contributions
    0

    Default Re: Multi Cross Sell Module

    Do I need to have a look at Structure tab in phpmyadmine? I can't find MAX_DISPLAY_XSELL key there. I've found the next two entries:
    products_xsell and products_xsell1.

  5. #5
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Multi Cross Sell Module

    Quote Originally Posted by Lazar View Post
    Do I need to have a look at Structure tab in phpmyadmine? I can't find MAX_DISPLAY_XSELL key there. I've found the next two entries:
    products_xsell and products_xsell1.
    "products_xsell" and "products_xsell1" are database tables
    They are not keys.

    You need to look in the "configuration" table
    to find the "keys" that need to be removed

    Click on the "configuration" table
    go to the end of the table
    Check for the key MAX_DISPLAY_XSELL and MIN_DISPLAY_XSELL
    Stepping backwards thru this table
    When found delete them

  6. #6
    Join Date
    Feb 2011
    Location
    Between London and Cetinje
    Posts
    107
    Plugin Contributions
    0

    Default Re: Multi Cross Sell Module

    Done!
    Thank you mate. You're great!

    Lazar

 

 

Similar Threads

  1. v151 Multi Cross Sell V1.03
    By ttmb33 in forum Customization from the Admin
    Replies: 4
    Last Post: 26 Sep 2013, 02:48 AM
  2. v151 Multi Cross Sell
    By ttmb33 in forum Customization from the Admin
    Replies: 1
    Last Post: 30 Jul 2013, 12:04 AM
  3. Which one? Multi Cross Sell vs Ultimate Cross Sell?
    By Renz in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 3 Jul 2013, 08:30 AM
  4. v150 Multi Cross Sell
    By ttmb33 in forum Customization from the Admin
    Replies: 1
    Last Post: 7 Dec 2012, 03:12 AM
  5. Multi cross sell mod
    By bonsey61 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 9 Oct 2010, 08:12 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