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: mySQL database error while assigning gallery  (Read 4698 times)

0 Members and 1 Guest are viewing this topic.

fotomad

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
mySQL database error while assigning gallery
« on: April 20, 2006, 02:59:58 pm »

Can anyone help me, I uploaded via FTP then tried to assign the photo to a gallery when the database error occurs :


There was an error while processing a database query.

debug :
While executing query "INSERT INTO cpg135_pictures (pid, aid, filepath, filename, filesize, total_filesize, pwidth, pheight, ctime, owner_id, owner_name, title, caption, keywords, approved, user1, user2, user3, user4, user5, user6, user7, user8, user9, user10, user11, user12, user13, user14, user15, pic_raw_ip, pic_hdr_ip) VALUES ('', '1', 'album/', 'flower_1.jpg', '851867', '905135', '1511', '2000', '1145537935', '1', 'john', '10151263', 'Undated Caption
', 'Flower', 'YES', '', '', '', '', '', '')" on 0

mySQL error: Column count doesn't match value count at row 1

/home/sites/public/include/functions.inc.php - 86
« Last Edit: April 20, 2006, 09:53:51 pm by GauGau »
Logged

Nibbler

  • Guest
Re: mySQL database error while assigning gallery
« Reply #1 on: April 20, 2006, 04:28:41 pm »

The error is a direct result of your code modifications. If you added a mod then seek support on the thread dealing with that mod.
Logged

fotomad

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: mySQL database error while assigning gallery
« Reply #2 on: April 20, 2006, 04:42:59 pm »

thanks, i will look a the last mod i did, and if i can't fix it will upgrade
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.