? Pending

User tests: Successful: Unsuccessful:

avatar csthomas
csthomas
19 Nov 2017

Summary of Changes

After mysql crash on heavy query (or mysql server is working for a long time) session can not be saved because connection fails.

I have got below errors:

[18-Nov-2017 16:06:09 Europe/Berlin] PHP Warning:  mysqli_errno() expects parameter 1 to be mysqli, boolean given in .../libraries/joomla/database/driver/mysqli.php on line 987
[18-Nov-2017 16:06:09 Europe/Berlin] PHP Warning:  mysqli_error() expects parameter 1 to be mysqli, boolean given in .../libraries/joomla/database/driver/mysqli.php on line 999
[18-Nov-2017 16:06:09 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in .../components/com_content/models/articles.php on line 612
[18-Nov-2017 16:06:09 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in .../modules/mod_articles_latest/helper.php on line 122
[18-Nov-2017 16:06:09 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in .../templates/.../html/mod_articles_latest/default.php on line 13

and in apache2 error:

PHP Warning:  session_write_close(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/var/lib/php/sessions) in .../libraries/joomla/session/handler/native.php on line 201

Testing Instructions

Core review.

For me it only takes 1 second to start mysql again. Less value does not work.

Expected result

After a query fails because mysql crash do not block session to save data by connection fails.

avatar csthomas csthomas - open - 19 Nov 2017
avatar csthomas csthomas - change - 19 Nov 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Nov 2017
Category Libraries
avatar csthomas csthomas - change - 18 Jul 2018
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2018-07-18 09:57:52
Closed_By csthomas
Labels Added: ?
avatar csthomas csthomas - close - 18 Jul 2018

Add a Comment

Login with GitHub to post a comment