Advanced search  

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

Pages: [1]   Go Down

Author Topic: Upload Approval Error  (Read 2196 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.37 seconds with 19 queries.