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
Looks like you've modified the code. Either review your modifications or upload a clean copy of editpics.php.