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: 'Position' in 'field list'??????????  (Read 4223 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.

I´ve 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.022 seconds with 19 queries.