Upload problem "database error: 2006 : MySQL server has gone away" Upload problem "database error: 2006 : MySQL server has gone away"
 

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

Upload problem "database error: 2006 : MySQL server has gone away"

Started by dmrow, March 11, 2020, 09:16:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dmrow

I have a new 1.6.08 installation of Coppermine.  Love it - well, love most of it.   ;)

I've a problem uploading some files.  I have done the various uploading troubleshooting steps, and am now trying simple uploading one file at a time.  When I do, I get this message

While executing query 'SELECT category FROM xp8o_albums WHERE aid='10'' in uniload.php on line 369

database error: 2006 : MySQL server has gone away


Note that the aid value varies from time to time.

I have set the max upload size to 40 MB (way bigger than the pic sizes) and lengthened the various timeout values.

Any ideas what might be causing this, and how to solve?

Many tks

David.

phill104

Have you managed to upload anything? What type of file were you trying to upload? Are you self hosting?

Please follow the guide here and answer the questions above https://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm
It is a mistake to think you can solve any major problems just with potatoes.

dmrow

Hi, Phill

Yes, have managed to upload most of the files.  They are primarily jpg files.  No, I'm using Hostinger to host.

And, yes, have followed the guide you link to.  :)

Many thanks for any further insight you can assist with

David.

ron4mac

Check the output for Phpinfo to see whether max_execution_time or max_input_time are set too short.