( ! ) Warning: mysqli::query(): MySQL server has gone away in /var/opt/otlamp/w1/sdo/www/htdocs/lib/dml/mysqli_native_moodle_database.php on line 1244 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0000 | 362008 | {main}( ) | .../index.php:0 |
2 | 0.0841 | 6570576 | local_crw->display_showcase( ) | .../index.php:188 |
3 | 0.1054 | 6596560 | crw_categories_list_tiles->display( ) | .../lib.php:404 |
4 | 0.1054 | 6596560 | crw_categories_list_tiles->outputhtml( ) | .../lib.php:66 |
5 | 0.1054 | 6606064 | crw_categories_list_tiles_renderer->__construct( ) | .../lib.php:44 |
6 | 0.2296 | 7562200 | crw_categories_list_tiles_renderer->get_parentid( ) | .../renderer.php:101 |
7 | 0.2296 | 7562200 | coursecat::get( ) | .../renderer.php:371 |
8 | 0.2296 | 7562576 | coursecat::get_records( ) | .../coursecatlib.php:248 |
9 | 0.2297 | 7564256 | mysqli_native_moodle_database->get_records_sql( ) | .../coursecatlib.php:710 |
10 | 0.2298 | 7565472 | query
( ) | .../mysqli_native_moodle_database.php:1244 |
( ! ) Warning: mysqli::query(): Error reading result set's header in /var/opt/otlamp/w1/sdo/www/htdocs/lib/dml/mysqli_native_moodle_database.php on line 1244 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0000 | 362008 | {main}( ) | .../index.php:0 |
2 | 0.0841 | 6570576 | local_crw->display_showcase( ) | .../index.php:188 |
3 | 0.1054 | 6596560 | crw_categories_list_tiles->display( ) | .../lib.php:404 |
4 | 0.1054 | 6596560 | crw_categories_list_tiles->outputhtml( ) | .../lib.php:66 |
5 | 0.1054 | 6606064 | crw_categories_list_tiles_renderer->__construct( ) | .../lib.php:44 |
6 | 0.2296 | 7562200 | crw_categories_list_tiles_renderer->get_parentid( ) | .../renderer.php:101 |
7 | 0.2296 | 7562200 | coursecat::get( ) | .../renderer.php:371 |
8 | 0.2296 | 7562576 | coursecat::get_records( ) | .../coursecatlib.php:248 |
9 | 0.2297 | 7564256 | mysqli_native_moodle_database->get_records_sql( ) | .../coursecatlib.php:710 |
10 | 0.2298 | 7565472 | query
( ) | .../mysqli_native_moodle_database.php:1244 |
Ошибка чтения из базы данных. Ни в коем случае не выполняйте выключение (перезагрузку) сервера, так как это может привести к необратимой потере данных!
Debug info: MySQL server has gone away
SELECT cc.id,cc.name,cc.idnumber,cc.parent,cc.sortorder,cc.coursecount,cc.visible,cc.depth,cc.path, ctx.id AS ctxid, ctx.path AS ctxpath, ctx.depth AS ctxdepth, ctx.contextlevel AS ctxlevel, ctx.instanceid AS ctxinstance
FROM mdl_course_categories cc
JOIN mdl_context ctx ON cc.id = ctx.instanceid AND ctx.contextlevel = ?
WHERE cc.id = ? ORDER BY cc.sortorder
[array (
0 => 40,
1 => 786,
)]
Error code: dmlreadexception
Stack trace:
- line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 1245 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 710 of /lib/coursecatlib.php: call to mysqli_native_moodle_database->get_records_sql()
- line 248 of /lib/coursecatlib.php: call to coursecat::get_records()
- line 371 of /local/crw/plugins/categories_list_tiles/renderer.php: call to coursecat::get()
- line 101 of /local/crw/plugins/categories_list_tiles/renderer.php: call to crw_categories_list_tiles_renderer->get_parentid()
- line 44 of /local/crw/plugins/categories_list_tiles/lib.php: call to crw_categories_list_tiles_renderer->__construct()
- line 66 of /local/crw/plugins/categories_list_tiles/lib.php: call to crw_categories_list_tiles->outputhtml()
- line 404 of /local/crw/lib.php: call to crw_categories_list_tiles->display()
- line 188 of /local/crw/index.php: call to local_crw->display_showcase()
Ошибка чтения из базы данных. Ни в коем случае не выполняйте выключение (перезагрузку) сервера, так как это может привести к необратимой потере данных!
Debug info: MySQL server has gone away
SELECT
bi.id,
COALESCE(bp.id, bs.id) AS blockpositionid,
bi.blockname,
bi.parentcontextid,
bi.showinsubcontexts,
bi.pagetypepattern,
bi.requiredbytheme,
bi.subpagepattern,
bi.defaultregion,
bi.defaultweight,
COALESCE(bp.visible, bs.visible, 1) AS visible,
COALESCE(bp.region, bs.region, bi.defaultregion) AS region,
COALESCE(bp.weight, bs.weight, bi.defaultweight) AS weight,
bi.configdata
, ctx.id AS ctxid, ctx.path AS ctxpath, ctx.depth AS ctxdepth, ctx.contextlevel AS ctxlevel, ctx.instanceid AS ctxinstance
FROM mdl_block_instances bi
JOIN mdl_block b ON bi.blockname = b.name
LEFT JOIN mdl_block_positions bp ON bp.blockinstanceid = bi.id
AND bp.contextid = ?
AND bp.pagetype = ?
AND bp.subpage = ?
LEFT JOIN mdl_block_positions bs ON bs.blockinstanceid = bi.id
AND bs.contextid = ?
AND bs.pagetype = ?
AND bs.subpage = ?
LEFT JOIN mdl_context ctx ON (ctx.instanceid = bi.id AND ctx.contextlevel = ?)
WHERE
(bi.parentcontextid IN (?, ?) OR (bi.showinsubcontexts = 1 AND bi.parentcontextid IN (?,?)))
AND bi.pagetypepattern IN (?,?,?,?,?)
AND (bi.subpagepattern IS NULL OR bi.subpagepattern = ?)
AND (bp.visible = 1 OR bp.visible IS NULL) AND (bs.visible = 1 OR bs.visible IS NULL)
AND b.visible = 1
AND ((bi.blockname IN (?,?) AND bi.requiredbytheme = 1) OR (bi.blockname NOT IN (?,?) AND bi.requiredbytheme = 0))
ORDER BY
COALESCE(bp.region, bs.region, bi.defaultregion),
COALESCE(bp.weight, bs.weight, bi.defaultweight),
bi.id
[array (
0 => 1146,
1 => 'local-crw-index',
2 => '',
3 => 1,
4 => 'local-crw-index',
5 => '',
6 => 80,
7 => 1146,
8 => 1,
9 => '257093',
10 => '1',
11 => 'local-crw-index',
12 => 'local-crw-index-*',
13 => 'local-crw-*',
14 => 'local-*',
15 => '*',
16 => '',
17 => 'navigation',
18 => 'settings',
19 => 'navigation',
20 => 'settings',
)]
Error code: dmlreadexception
Stack trace:
- line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 1184 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 796 of /lib/blocklib.php: call to mysqli_native_moodle_database->get_recordset_sql()
- line 1499 of /lib/pagelib.php: call to block_manager->load_blocks()
- line 975 of /lib/pagelib.php: call to moodle_page->starting_output()
- line 1216 of /lib/outputrenderers.php: call to moodle_page->set_state()
- line 2828 of /lib/outputrenderers.php: call to core_renderer->header()
- line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
- line ? of unknownfile: call to default_exception_handler()