Announcement

#1 2016-11-30 04:14:26

Kenny Stier
Guest

PHP MySQLi Error

Hello,

My Piwigo site work great! Unless you try to do a lot of browsing in the gallery. If I give the server any kind of load at all (I start clicking around on different buttons) Something crashes and gives me this error

--

Warning: mysqli::__construct(): (HY000/2002): No such file or directory in /var/www/gallery.millhousenchurch.com/include/dblayer/functions_mysqli.inc.php on line 67

Warning: my_error(): Couldn't fetch mysqli in /var/www/gallery.millhousenchurch.com/include/dblayer/functions_mysqli.inc.php on line 837

Warning: my_error(): Couldn't fetch mysqli in /var/www/gallery.millhousenchurch.com/include/dblayer/functions_mysqli.inc.php on line 837
Piwigo encountered a non recoverable error

[mysql error ]
Can't connect to server
#1 my_error /var/www/gallery.millhousenchurch.com/include/common.inc.php(121)
#2 include_once /var/www/gallery.millhousenchurch.com/picture.php(25)
--

Then every page of the gallery I try to view (even the Admin pages) give me an error similar to the one above. After waiting a few minutes, everything goes back to normal until I start doing many tasks with the gallery.

This is very odd, please help!

Piwigo version: 2.8.3
PHP version: 7.0.8-0ubuntu0.16.04.3
MySQL version: 5.7.16-0ubuntu0.16.04.1
Piwigo URL: https://icgallery.flexstart.me/
Webserver: Caddy - https://caddyserver.com

 

#2 2016-11-30 10:55:29

flop25
Piwigo Team
2006-07-06
7037

Re: PHP MySQLi Error

Hello
your mysql server is either instable or has awful performances; or it comes from mysql itself
that's a system administration (sys admin) thing


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2018-05-23 03:36:02

phnord
Member
2018-05-22
3

Re: PHP MySQLi Error

I ran into this error and I believe it was caused by my server running out of RAM. I added additional swap file pace and the issue appears to have been resolved.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact