( ! ) 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 | 361376 | {main}( ) | .../index.php:0 |
2 | 0.0538 | 5349472 | theme_opentechnology_core_renderer->header( ) | .../index.php:112 |
3 | 0.0744 | 6350312 | theme_opentechnology_core_renderer->render_page_layout( ) | .../outputrenderers.php:1221 |
4 | 0.0744 | 6367768 | include( '/var/opt/otlamp/w1/sdo/www/htdocs/theme/opentechnology/layout/frontpage.php' ) | .../outputrenderers.php:1291 |
5 | 0.0745 | 6367768 | theme_opentechnology_get_html_for_settings( ) | .../frontpage.php:32 |
6 | 0.0835 | 6625696 | block_manager->region_uses_dock( ) | .../lib.php:640 |
7 | 0.5848 | 9887256 | block_manager->ensure_content_created( ) | .../blocklib.php:644 |
8 | 0.5848 | 9887256 | block_manager->create_block_contents( ) | .../blocklib.php:1268 |
9 | 0.5848 | 9887256 | block_courses_showcase->get_content_for_output( ) | .../blocklib.php:1216 |
10 | 0.5848 | 9888440 | block_courses_showcase->formatted_contents( ) | .../moodleblock.class.php:230 |
11 | 0.5849 | 9888440 | block_courses_showcase->get_content( ) | .../moodleblock.class.php:288 |
12 | 0.5849 | 9889192 | block_courses_showcase\viewtype\crw_default->get_showcase( ) | .../block_courses_showcase.php:122 |
13 | 0.5852 | 9897192 | local_crw->display_showcase( ) | .../crw_default.php:58 |
14 | 0.5913 | 9910576 | local_crw->get_category_children( ) | .../lib.php:376 |
15 | 1.0807 | 10198968 | local_crw->get_category_children( ) | .../lib.php:731 |
16 | 1.8432 | 10742384 | local_crw->get_category_children( ) | .../lib.php:731 |
17 | 1.8433 | 10743064 | coursecat->get_children( ) | .../lib.php:719 |
18 | 1.8440 | 10748104 | coursecat::get_records( ) | .../coursecatlib.php:1167 |
19 | 1.8458 | 10750168 | mysqli_native_moodle_database->get_records_sql( ) | .../coursecatlib.php:710 |
20 | 1.8460 | 10751128 | 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 | 361376 | {main}( ) | .../index.php:0 |
2 | 0.0538 | 5349472 | theme_opentechnology_core_renderer->header( ) | .../index.php:112 |
3 | 0.0744 | 6350312 | theme_opentechnology_core_renderer->render_page_layout( ) | .../outputrenderers.php:1221 |
4 | 0.0744 | 6367768 | include( '/var/opt/otlamp/w1/sdo/www/htdocs/theme/opentechnology/layout/frontpage.php' ) | .../outputrenderers.php:1291 |
5 | 0.0745 | 6367768 | theme_opentechnology_get_html_for_settings( ) | .../frontpage.php:32 |
6 | 0.0835 | 6625696 | block_manager->region_uses_dock( ) | .../lib.php:640 |
7 | 0.5848 | 9887256 | block_manager->ensure_content_created( ) | .../blocklib.php:644 |
8 | 0.5848 | 9887256 | block_manager->create_block_contents( ) | .../blocklib.php:1268 |
9 | 0.5848 | 9887256 | block_courses_showcase->get_content_for_output( ) | .../blocklib.php:1216 |
10 | 0.5848 | 9888440 | block_courses_showcase->formatted_contents( ) | .../moodleblock.class.php:230 |
11 | 0.5849 | 9888440 | block_courses_showcase->get_content( ) | .../moodleblock.class.php:288 |
12 | 0.5849 | 9889192 | block_courses_showcase\viewtype\crw_default->get_showcase( ) | .../block_courses_showcase.php:122 |
13 | 0.5852 | 9897192 | local_crw->display_showcase( ) | .../crw_default.php:58 |
14 | 0.5913 | 9910576 | local_crw->get_category_children( ) | .../lib.php:376 |
15 | 1.0807 | 10198968 | local_crw->get_category_children( ) | .../lib.php:731 |
16 | 1.8432 | 10742384 | local_crw->get_category_children( ) | .../lib.php:731 |
17 | 1.8433 | 10743064 | coursecat->get_children( ) | .../lib.php:719 |
18 | 1.8440 | 10748104 | coursecat::get_records( ) | .../coursecatlib.php:1167 |
19 | 1.8458 | 10750168 | mysqli_native_moodle_database->get_records_sql( ) | .../coursecatlib.php:710 |
20 | 1.8460 | 10751128 | 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 IN (?,?,?,?,?,?,?) ORDER BY cc.sortorder
[array (
0 => 40,
1 => '542',
2 => '522',
3 => '851',
4 => '609',
5 => '931',
6 => '917',
7 => '976',
)]
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 1167 of /lib/coursecatlib.php: call to coursecat::get_records()
- line 719 of /local/crw/lib.php: call to coursecat->get_children()
- line 731 of /local/crw/lib.php: call to local_crw->get_category_children()
- line 731 of /local/crw/lib.php: call to local_crw->get_category_children()
- line 376 of /local/crw/lib.php: call to local_crw->get_category_children()
- line 58 of /blocks/courses_showcase/classes/viewtype/crw_default.php: call to local_crw->display_showcase()
- line 122 of /blocks/courses_showcase/block_courses_showcase.php: call to block_courses_showcase\viewtype\crw_default->get_showcase()
- line 288 of /blocks/moodleblock.class.php: call to block_courses_showcase->get_content()
- line 230 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
- line 1216 of /lib/blocklib.php: call to block_base->get_content_for_output()
- line 1268 of /lib/blocklib.php: call to block_manager->create_block_contents()
- line 644 of /lib/blocklib.php: call to block_manager->ensure_content_created()
- line 640 of /theme/opentechnology/lib.php: call to block_manager->region_uses_dock()
- line 32 of /theme/opentechnology/layout/frontpage.php: call to theme_opentechnology_get_html_for_settings()
- line 1291 of /lib/outputrenderers.php: call to include()
- line 1221 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
- line 112 of /index.php: call to core_renderer->header()