Strange MYSQL error Strange MYSQL error
 

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

Strange MYSQL error

Started by Feri, October 17, 2019, 12:45:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Feri

Hi guys. I'm having an issue with uploads which worked fine until now. This error comes when I try to upload like 250-300 images at once and then after 150 it just stops with an error code. The error code is the same for multiple files:

QuoteWhile executing query 'INSERT INTO cpg16x_pictures (aid, filepath, filename, filesize, total_filesize, pwidth, pheight, ctime, owner_id, title, caption, keywords, approved, user1, user2, user3, user4, pic_raw_ip, pic_hdr_ip, position, guest_token) VALUES ('49', 'userpics/10001/49/', '8471680207_6809fd557b_o~1.png', '365707', '466881', '380', '240', '1571265532', '1', '', '', '', 'YES', '', '', '', '', '', '', '0', '')' in include/picmgmt.inc.php on line 184

database error: 2006 : MySQL server has gone away

Could you guys please help me out, because I've been searching for hours now and nothing relevant has been found yet.  :-[

phill104

It is usually the hosting that is the problem with errors like this. Some have strict limits, especially on shared servers, so everyone gets a fair shot at processor and disk time.
It is a mistake to think you can solve any major problems just with potatoes.

Feri

I see, and is there any way to bypass that?

ron4mac

Quote from: Feri on October 17, 2019, 04:22:04 PM
I see, and is there any way to bypass that?
How about ... not upload so many at one time. ;)