forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: solupine on June 17, 2006, 11:09:06 pm

Title: Error uploading photos
Post by: solupine on June 17, 2006, 11:09:06 pm
I am having a problem uploading photos to my site, both individually and if I try to batch add them.  I don't think I ever changed any settings, so I am not sure why it is doing this now.  After I upload it says the photos were uploaded successfully, but when I click the next button to continue I get this error message:

-------------------------
While executing query "INSERT INTO cpg_pictures (pid, 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 ('', '44', 'userpics/10001/', '022606_Beijing_004.JPG', '250170', '327291', '900', '600', '1150577979', '1', 'synkwho','test', 'test', '', 'YES', '', '', '', '', '69.255.27.23', '69.255.27.23', '0')" on 0

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

Any help would be greatly appreciated.  Thanks!

-R
Title: Re: Error uploading photos
Post by: Sami on June 17, 2006, 11:34:39 pm
did you check your cpg_pictures for "position" column? is it there or not?
Title: Re: Error uploading photos
Post by: kegobeer on June 18, 2006, 03:26:53 am
Please don't cross post.  Post all replies on the other thread (http://forum.coppermine-gallery.net/index.php?topic=32806.0;topicseen).  This thread is closed.
Title: Re: Error uploading photos
Post by: Joachim Müller on June 18, 2006, 10:16:15 am
The other thread you refered to has been moved to the crap bin (not sure who did without flagging it as double-post), so I'm re-opening this one and moving it to the proper sub-board (as it is not related to plugins and therefor shouldn't have been posted on the plugins board).
The error message probably comes from an improperly-done upgrade. Post more details (see upload troubleshooting section of the docs).
Title: Re: Error uploading photos
Post by: Tranz on June 18, 2006, 08:01:54 pm
Sorry, I was the one who moved the other thread to crap bin without marking as double-post. I didn't realize this thread had been closed, so I removed the one that had no replies.

@solupine: Do not double-post. See how much trouble you caused us?