Upload Approval Error Upload Approval Error
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.