coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: kings4life on December 02, 2003, 11:07:08 PM

Title: mySQL error: Unknown column 'pic_raw_ip'
Post by: kings4life on December 02, 2003, 11:07:08 PM
While executing query "INSERT INTO cpg_pictures (pid, aid, filepath, filename, filesize, total_filesize, pwidth, pheight, ctime, owner_id, title, caption, keywords, approved, user1, user2, user3, user4, pic_raw_ip, pic_hdr_ip) VALUES ('', '1', 'modules/coppermine/albums/userpics/10002/', 'Car Show 031.jpg', '999017', '1035606', '1600', '1200', '1070401795', '2', 'Car', 'My Car!!', '', 'YES', '', '', '', '', '', '')" on 0

mySQL error: Unknown column 'pic_raw_ip' in 'field list'


Just wondering if someone could help me out.  THANKS.  This occurs when i try to upload an image.
Title: mySQL error: Unknown column 'pic_raw_ip'
Post by: DJMaze on December 03, 2003, 01:07:45 AM
If that field doesn't exist in your database in the "cpg_pictures" table then you probably didn't correctly update from 1.1D to 1.2.

When you didn't use install.php for upgrading then i understand :lol: