Error when uploading - PLEASE HELP Error when uploading - PLEASE HELP
 

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]

Main Menu

Error when uploading - PLEASE HELP

Started by merlincooper, December 23, 2005, 12:01:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

merlincooper

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


merlincooper