Zen Cart Logo
Forums / General Questions / 1064 SQL error on Featured Products page

1064 SQL error on Featured Products page

Locked

Views: 1,330

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
19 Jul 2010, 6:13 AM
#1
stevelucky avatar

stevelucky

New Zenner

Join Date:
Jun 2010
Posts:
44
Plugin Contributions:
0

1064 SQL error on Featured Products page

I've searched all over and found several threads that seem to mention this issue, but no solutions that seem to work for me. When I go to the Featured Products page, I get 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 'limit 10' at line 1
in:
[ limit 10]

I can't figure out how to solve this for the life of me. Any ideas out there?

:wacko:

19 Jul 2010, 6:38 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: 1064 SQL error on Featured Products page

stevelucky:

I've searched all over and found several threads that seem to mention this issue, but no solutions that seem to work for me. When I go to the Featured Products page, I get this error:

I can't figure out how to solve this for the life of me. Any ideas out there?

:wacko:

This post may help:

http://www.zen-cart.com/forum/showpost.php?p=782318&postcount=2

19 Jul 2010, 4:04 PM
#3
stevelucky avatar

stevelucky

New Zenner

Join Date:
Jun 2010
Posts:
44
Plugin Contributions:
0

Re: 1064 SQL error on Featured Products page

Well, that didn't answer it but helped me find a clue. There was nothing listed as a 0 so that wasn't it. However there is an element called "Maximum Display of Featured Products Page". This was set to 10. When I tried changing it to 9, my error changed to:

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 'limit 9' at line 1
in:
[ limit 9]

when previously it had been:

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 'limit 10' at line 1
in:
[ limit 10]

So it would seem that my issue is directly related to that element.

21 Jul 2010, 9:58 PM
#4
stevelucky avatar

stevelucky

New Zenner

Join Date:
Jun 2010
Posts:
44
Plugin Contributions:
0

Re: 1064 SQL error on Featured Products page

Does anyone have any more thoughts on this?

5 Sep 2010, 2:42 PM
#5
stevelucky avatar

stevelucky

New Zenner

Join Date:
Jun 2010
Posts:
44
Plugin Contributions:
0

Re: 1064 SQL error on Featured Products page

I would really love some more guidance on this if anyone has any.

24 Sep 2010, 12:15 PM
#6
jencdesigns avatar

jencdesigns

New Zenner

Join Date:
Sep 2010
Posts:
2
Plugin Contributions:
0

Re: 1064 SQL error on Featured Products page

I've been looking for the same answer - with no luck either. Have you found a solution yet?