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 when uploading - PLEASE HELP  (Read 3111 times)

0 Members and 1 Guest are viewing this topic.

merlincooper

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Error when uploading - PLEASE HELP
« on: December 23, 2005, 12:01:10 am »

Hi,

When trying to upload photos to the database I get the following error message:

"There was an error while processing a database query.

While executing query "INSERT INTO cpg140_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 ('', '1', 'userpics/10001/', 'daft~0.jpg', '366945', '396710', '710', '1042', '1135292360', '1', 'merlin','df', 'df', '', 'YES', '', '', '', '', '10.0.0.30', '10.0.0.30', '0')" on 0

mySQL error: Out of range value adjusted for column 'pid' at row 1

File: C:\Program Files\Apache Group\Apache2\htdocs\include\functions.inc.php - Line: 248"


This stops the process and means that I cannot add any photos to the database.

It seems to be a problem with creating the primary key but I am not experienced enough to know how to fix it.

Help woudl be much appreciated.

Thank you in advance

Merlin
« Last Edit: December 23, 2005, 12:26:32 am by Nibbler »
Logged

Nibbler

  • Guest
Logged

merlincooper

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Error when uploading - PLEASE HELP
« Reply #2 on: December 23, 2005, 12:25:52 am »

Thanks very much indeed

all working now
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.