Warning: mysqli_close

GK User
Tue Aug 25, 2015 12:03 am
Hello,

I get this error when i login in site and i enter in http://pensiuneacasiana.ro/atractii-in-zona.html:
Code: Select all
Warning: mysqli_close() [function.mysqli-close]: Couldn't fetch mysqli in ... /libraries/joomla/database/driver/mysqli.php on line 209


To solve the problem i log off and clear cache.
User avatar
Junior Boarder

GK User
Tue Aug 25, 2015 12:32 am
Hi,
It doesn't seem like Template error , but like your Joomla itself is crying becuase your sever is a bad boy. Server settings like always.
Maybe in Global Configuration change from MySQLi to MYSQL.
User avatar
Platinum Boarder

GK User
Wed Aug 26, 2015 10:12 pm
Hello,

I change to "MySQL" and tried to replicate the same scenario. Seems like error is gone. I will monitor and if something change i will come with feedback.

How to decide if you use in joomla MySQL or MySQLi. I mean there is some settings i can check in order to chose right ?

Regards
User avatar
Junior Boarder

GK User
Wed Aug 26, 2015 11:27 pm
MySQLi - have better performance. But right now do not worry, all works. Of course I suggest to ask hosting support what they can do with it. Error message was from Joomla itself, not Gk template.
User avatar
Platinum Boarder

GK User
Wed Aug 26, 2015 11:29 pm
This is a live server, is not localhost !!!
User avatar
Junior Boarder

GK User
Wed Aug 26, 2015 11:30 pm
Yes, sorry I noticed after I wrote. Please read my message again, it was edited.
User avatar
Platinum Boarder

GK User
Wed Aug 26, 2015 11:34 pm
Any way you helped me. This is a cheap hosting so ... :) .

Thank you for your support !
User avatar
Junior Boarder

GK User
Thu Aug 27, 2015 6:58 am
Yes, fully understand. Cheap hosting = weak server settings, support and ... speed probably.
On "normal" hosting all works just fine, and MySQLi with MySQL 5.5+ is set by default.
User avatar
Platinum Boarder


cron