forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: merlincooper on December 23, 2005, 12:01:10 am

Title: Error when uploading - PLEASE HELP
Post by: merlincooper 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
Title: Re: Error when uploading - PLEASE HELP
Post by: Nibbler on December 23, 2005, 12:09:28 am
http://forum.coppermine-gallery.net/index.php?topic=24309.0
Title: Re: Error when uploading - PLEASE HELP
Post by: merlincooper on December 23, 2005, 12:25:52 am
Thanks very much indeed

all working now