Critical Error Critical Error
 

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

Critical Error

Started by Shelia, September 14, 2005, 05:44:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Shelia

I am a new user and my Gallery has worked just fine for about a week. Tonight the following error appeared

While executing query "SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid,title, caption, owner_id, owner_name, aid FROM cpg133_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8" on 0

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


I checked my database and in cpg133_pictures owner_id seems to be missing. Can someone post the mysql information for me to add to my database assuming that is the problem referred to in the error?

Thanks,
Shelia

Nibbler

ALTER TABLE cpg133_pictures ADD owner_id int(11) NOT NULL default '0';
ALTER TABLE cpg133_pictures ADD INDEX owner_id( `owner_id` );


You'll have lot picture ownership information, so you may prefer to go back to your latest backup instead.

Shelia

#2
I don't have a backup as my Gallary is so new. I do have a ton of photos that I uploaded. I don't have any User Gallaries. Is there any way to do a mass uploading of user info as at this point its all the same? Do I really need to include the user info?

Shelia