[Solved]: There was an error while processing a database query Please help [Solved]: There was an error while processing a database query Please help
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: There was an error while processing a database query Please help

Started by spikeeds, May 20, 2009, 09:41:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

spikeeds

Here is the Debug info


While executing query "SELECT * FROM cpg_pictures WHERE approved = 'YES' AND aid IN (1,3,4,5,9)  ORDER BY RAND() LIMIT -1" on 0

mySQL error: 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 '-1' at line 1

Joachim Müller

Post even less information - we're mind readers and just need to look into our magic crystal balls... ::)

spikeeds

Every time i click a picture it says There was an error while processing a database query.  I already activated the debug mode. And that's what it came out. How to fix it?

Hein Traag

Post some more info such as website URL, which cpg version you are using. What were you doing when you got this error? Were you uploading or what else?

spikeeds

Problem solved. There was a problem with the lightbox plugin i remove it and the error was gone. I love that plugin, anyways have you guys experience that problem in lightbox?

Hein Traag


Joachim Müller

Quote from: spikeeds on May 21, 2009, 07:26:08 AM
Problem solved.
Marking as solved then (something that you should have done).
One issue per thread as per board rules - you shouldn't have asked another question in this thread. Locking.