Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Critical Error  (Read 2933 times)

0 Members and 1 Guest are viewing this topic.

Shelia

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Critical Error
« on: September 14, 2005, 05:44:21 am »

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
Logged

Nibbler

  • Guest
Re: Critical Error
« Reply #1 on: September 14, 2005, 08:41:38 am »

Code: [Select]
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.
Logged

Shelia

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Critical Error
« Reply #2 on: September 14, 2005, 05:00:43 pm »

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
« Last Edit: September 14, 2005, 05:06:12 pm by Shelia »
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.