Advanced search  

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

Pages: [1]   Go Down

Author Topic: Strange MYSQL error  (Read 9359 times)

0 Members and 1 Guest are viewing this topic.

Feri

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Strange MYSQL error
« on: October 17, 2019, 12:45:23 am »

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:

Quote
While 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.  :-[
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Strange MYSQL error
« Reply #1 on: October 17, 2019, 12:24:14 pm »

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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Feri

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Strange MYSQL error
« Reply #2 on: October 17, 2019, 04:22:04 pm »

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

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Strange MYSQL error
« Reply #3 on: October 17, 2019, 09:29:09 pm »

I see, and is there any way to bypass that?
How about ... not upload so many at one time. ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.