mySQL database error while assigning gallery mySQL database error while assigning gallery
 

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]

Main Menu

mySQL database error while assigning gallery

Started by fotomad, April 20, 2006, 02:59:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fotomad

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

Nibbler

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.

fotomad

thanks, i will look a the last mod i did, and if i can't fix it will upgrade