coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: furious fantasy on May 01, 2007, 11:01:42 PM

Title: Critical Error - There was an error while processing a database query
Post by: furious fantasy on May 01, 2007, 11:01:42 PM
Hey there, I can upload my images but when I assign it to a album I get hit with an error message.  I ran it in debug mode and got this message ???

While executing query "INSERT INTO cpg_pictures (aid, filepath, filename, filesize, total_filesize, pwidth, pheight, ctime, owner_id, owner_name, title, caption, keywords, approved, user1, user2, user3, user4, pic_raw_ip, pic_hdr_ip, position) VALUES ('26', 'userpics/', 'diamonbacks_07_dean~1.jpg', '130834', '217595', '860', '574', '1178051773', '1', 'furious','', '', '', 'YES', '', '', '', '', '68.98.217.7', '68.98.217.7', '0')" on 0

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

Any thoughts??

Thanks!!!!!!!!! :)
Title: Re: Critical Error - There was an error while processing a database query
Post by: Nibbler on May 01, 2007, 11:08:13 PM
I'd guess you updated your gallery without running update.php
Title: Re: Critical Error - There was an error while processing a database query
Post by: furious fantasy on May 01, 2007, 11:17:28 PM
Heh?  I did update my gallery...yup.  Any thoughts or am i up the river?
Title: Re: Critical Error - There was an error while processing a database query
Post by: Nibbler on May 01, 2007, 11:20:55 PM
Run update.php
Title: Re: Critical Error - There was an error while processing a database query
Post by: furious fantasy on May 01, 2007, 11:28:10 PM
OK, I'm guessing that is not something I can do in coppermine itself...or maybe I can.  If you can let me know how to do that I think that would be great. :D  If you don't want to waste your time on a newbie I understand.   :-\
Title: Re: Critical Error - There was an error while processing a database query
Post by: furious fantasy on May 01, 2007, 11:42:38 PM
Ok, I figured it out.  I am so smart!

Thanks!!!!