Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
SQL errors - sometimes its coming sometimes not and till now i saw it only in event module...
Screenshot attached
I shared the same with my webhosts
and their reply is...
"I am not seeing this error on your site.
As a PHP developer, this appears to be a coding logic issue. The mysqli_close function is being ran before it checks if the connection is still open. If this error only occasionally shows up, something is closing the MySQL connection before the function can.
Better PHP logic for this would be as follows:
$mysqlcon = mysqli_connect('127.0.0.1', 'user', password');
// code here
if($mysqlcon) // checks if connection is still open
{
mysqli_close($mysqlcon);
} // Otherwise this is skipped, hiding the error.
You can also use display_errors(0) in your code to hide the error.
For better syntax highlighting I've put this on pastebin for you below:
When i changed to mysql
it gave me following error
Warning: sprintf() [function.sprintf]: Too few arguments in /home/engineeringwall/public_html/plugins/system/koowa/koowa.php on line 38
my webhost has also reported the following errors - ( he has also enabled joomla cache) hope it is fine....
You seem to have an issue with a MySQLi function as your error log is full of these errors:
[21-Feb-2015 15:28:50 Asia/Kolkata] PHP Warning: mysqli_close() [<a href='function.mysqli-close'>function.mysqli-close</a>]: Couldn't fetch mysqli in /home/engineeringwall/public_html/libraries/joomla/database/driver/mysqli.php on line 210
[21-Feb-2015 15:28:50 Asia/Kolkata] PHP Warning: mysqli_close() [<a href='function.mysqli-close'>function.mysqli-close</a>]: Couldn't fetch mysqli in /home/engineeringwall/public_html/libraries/joomla/database/driver/mysqli.php on line 210
[21-Feb-2015 15:29:08 Asia/Kolkata] PHP Warning: mysqli_close() [<a href='function.mysqli-close'>function.mysqli-close</a>]: Couldn't fetch mysqli in /home/engineeringwall/public_html/libraries/joomla/database/driver/mysqli.php on line 210
[21-Feb-2015 15:29:08 Asia/Kolkata] PHP Warning: mysqli_close() [<a href='function.mysqli-close'>function.mysqli-close</a>]: Couldn't fetch mysqli in /home/engineeringwall/public_html/libraries/joomla/database/driver/mysqli.php on line 210
[21-Feb-2015 15:29:08 Asia/Kolkata] PHP Warning: mysqli_close() [<a href='function.mysqli-close'>function.mysqli-close</a>]: Couldn't fetch mysqli in /home/engineeringwall/public_html/libraries/joomla/database/driver/mysqli.php on line 210
You should look at resolving the issue or switching to the regular MySQL interface.