Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Critical Error when uploading  (Read 2903 times)

0 Members and 1 Guest are viewing this topic.

PrinzII

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Critical Error when uploading
« on: February 07, 2006, 03:43:27 pm »

Coppermine version: 1.4.2

Whenever I upload pictures, I get the following critical error:

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 ('', '8', 'userpics/10001/', 'Moi2005smaller.JPG', '64045', '150445', '436', '290', '1139322740', '1', 'PrinzII','Pic of me taken circa December 2005', '', '', 'YES', '', '', '', '', '67.163.51.59', '67.163.51.59', '0')" on 0

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

File: /home/lawrence/public_html/gallery/include/functions.inc.php - Line: 248

The strange thing is it looks as if it is accepting the picture but when it gets to the point where I am selecting which category to place it in, that's when I get the above message.

I will also double check all settings per the sticky.
Logged

Nibbler

  • Guest
Re: Critical Error when uploading
« Reply #1 on: February 07, 2006, 04:21:03 pm »

Verify your mysql user has the ALTER privilege and run the update.php script.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Critical Error when uploading
« Reply #2 on: February 07, 2006, 11:17:19 pm »

update from cpg1.4.2 to the most recent stable cpg1.4.3 as well.
Logged

PrinzII

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Critical Error when uploading
« Reply #3 on: May 02, 2006, 06:25:44 am »

Checked the My SQL User and it has Alter.

GauGau: I am going to update to 1.4.5 and see what happens.
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 15 queries.