Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Upload Approval Error  (Read 2096 times)

0 Members and 1 Guest are viewing this topic.

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Upload Approval Error
« on: December 27, 2007, 02:08:04 pm »

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:

Code: [Select]
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:

Code: [Select]
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
Logged

Nibbler

  • Guest
Re: Upload Approval Error
« Reply #1 on: December 27, 2007, 07:41:02 pm »

Looks like you've modified the code. Either review your modifications or upload a clean copy of editpics.php.
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 15 queries.