coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: fotomad on April 20, 2006, 02:59:58 PM

Title: mySQL database error while assigning gallery
Post by: fotomad 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
Title: Re: mySQL database error while assigning gallery
Post by: Nibbler 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.
Title: Re: mySQL database error while assigning gallery
Post by: fotomad 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