Upload Approval Error Upload Approval Error
 

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

Upload Approval Error

Started by will, December 27, 2007, 02:08:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

will

Hi all

Hope everyone had a good christmas, I get this error when trying to approve images from my members.

In the debug I get this:

While executing query "UPDATE cpg1410_pictures SET aid = '8', title = 'Baby's Day Out R4 (Front)', caption = '', keywords = '', user1 = '', user2 = '', user3 = '', user4 = '', approved = 'YES', ctime = 1198760559,  WHERE pid='119446' 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 'WHERE pid='119446' LIMIT 1' at line 1


Below that I get this error also:

File: /home/content/w/i/l/willtaka05/html/gallery/include/functions.inc.php - Line: 249

I've had no problem with the upload approval until now so I'm baffled to what it my be. ;D

Nibbler

Looks like you've modified the code. Either review your modifications or upload a clean copy of editpics.php.