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: error processing database querry  (Read 4227 times)

0 Members and 1 Guest are viewing this topic.

pixnj

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
error processing database querry
« on: July 11, 2006, 10:57:30 pm »

I upgraded and now I get this error when I try to upload a pic

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 ('', '32', 'userpics/10001/', 'pimphand~3.jpg', '43495', '83258', '444', '336', '1152650973', '1', 'djphilly','pimp', '', 'pimp', 'YES', '', '', '', '', '67.81.160.73', '67.81.160.73', '0')" on 0

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

File: /home/djphilly/public_html/creamy_images/include/functions.inc.php - Line: 248

how can I fix this. Thanks in advance.

Rob
« Last Edit: July 26, 2006, 05:59:18 am by GauGau »
Logged

Nibbler

  • Guest
Re: error processing database querry
« Reply #1 on: July 11, 2006, 11:03:43 pm »

Did you run update.php ?
Logged

smithmarcw

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: error processing database querry
« Reply #2 on: July 26, 2006, 12:10:44 am »

Sorry nub here... How do I run update.php. I'm having the same problem  ???
Logged

Nibbler

  • Guest
Re: error processing database querry
« Reply #3 on: July 26, 2006, 12:16:37 am »

Type in update.php at the end of your gallery url, eg http://yoursite.com/gallery/update.php
Logged

smithmarcw

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: error processing database querry
« Reply #4 on: July 26, 2006, 12:24:44 am »

You the bomb! 8)  Thanks for the quick response and simple "noob" like explanation! :P IT WORKED!
Logged

pixnj

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: error processing database querry
« Reply #5 on: August 01, 2006, 04:36:45 pm »

I did that. Now I cant log into the site. It keeps saying ***couldnt log in. try again*** I checked the database and all the users still exist.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.