'Position' in 'field list'?????????? 'Position' in 'field list'??????????
 

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

Main Menu

'Position' in 'field list'??????????

Started by thoxic, December 17, 2005, 07:35:41 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

thoxic

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



There was an error while processing a database query.

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.

Nibbler

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

thoxic

Quote from: Nibbler on December 17, 2005, 07:42:09 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...

Nibbler

Run update.php then, and avoid using fantastico.

thoxic