I'm making some simple queries in my little CMS but I'm receiving the error
MySQL error HY000/2006: mysql server has gone away
I have two similar modules actually.
One of them, I get some text data from user and an image data. I'm uploading the image with verot.net class. Then I make a URI for that. Finally I'm inserting in 2 tables in my database.
First table stores the main data of content, the second table stores the lingual datas of the content.
In the second module I have an extra input: multi-file input. I upload my gallery files with verot.net too, then make the same process with previous module I told.
Then I get the error "MySQL server has gone away."
My max_allowed_packet
is around 800 millions of bytes...
What causes this annoying this error?