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: 'Position' in 'field list'??????????  (Read 3871 times)

0 Members and 1 Guest are viewing this topic.

thoxic

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
'Position' in 'field list'??????????
« on: December 17, 2005, 07:35:41 pm »

I got this error when i try to upload one picture:



There was an error while processing a database query.

Code: [Select]
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/', 'thi1-avat.jpg', '27811', '32512', '117', '148', '1134844193', '1', 'ThӸiC','', '', '', 'YES', '', '', '', '', '200.148.4.228', '200.148.4.228', '0')" on 0

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

File: /=/=/=/=/include/functions.inc.php - Line: 248

-----

Can someone help me?! CPG 1.4.2.
« Last Edit: December 17, 2005, 10:02:34 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: 'Position' in 'field list'??????????
« Reply #1 on: December 17, 2005, 07:42:09 pm »

Make sure you have run update.php and your db user has ALTER permissions.
Logged

thoxic

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: 'Position' in 'field list'??????????
« Reply #2 on: December 17, 2005, 07:52:44 pm »

Make sure you have run update.php and your db user has ALTER permissions.

Ive upgraded in cpanel with fantastico... and the user has "alter' permissions...
Logged

Nibbler

  • Guest
Re: 'Position' in 'field list'??????????
« Reply #3 on: December 17, 2005, 07:53:48 pm »

Run update.php then, and avoid using fantastico.
Logged

thoxic

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: 'Position' in 'field list'??????????
« Reply #4 on: December 17, 2005, 08:56:18 pm »

Run update.php then, and avoid using fantastico.

Thanks, I got it now! ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.