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

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

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