( ! ) 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.0652 | 5349472 | theme_opentechnology_core_renderer->header( ) | .../index.php:112 |
3 | 0.1013 | 6350312 | theme_opentechnology_core_renderer->render_page_layout( ) | .../outputrenderers.php:1221 |
4 | 0.1013 | 6367768 | include( '/var/opt/otlamp/w1/sdo/www/htdocs/theme/opentechnology/layout/frontpage.php' ) | .../outputrenderers.php:1291 |
5 | 0.1014 | 6367768 | theme_opentechnology_get_html_for_settings( ) | .../frontpage.php:32 |
6 | 0.1089 | 6625696 | block_manager->region_uses_dock( ) | .../lib.php:640 |
7 | 0.5101 | 9873936 | block_manager->ensure_content_created( ) | .../blocklib.php:644 |
8 | 0.5101 | 9873936 | block_manager->create_block_contents( ) | .../blocklib.php:1268 |
9 | 0.5101 | 9873936 | block_courses_showcase->get_content_for_output( ) | .../blocklib.php:1216 |
10 | 0.5102 | 9875120 | block_courses_showcase->formatted_contents( ) | .../moodleblock.class.php:230 |
11 | 0.5102 | 9875120 | block_courses_showcase->get_content( ) | .../moodleblock.class.php:288 |
12 | 0.5102 | 9875872 | block_courses_showcase\viewtype\crw_default->get_showcase( ) | .../block_courses_showcase.php:122 |
13 | 0.5108 | 9883872 | local_crw->display_showcase( ) | .../crw_default.php:58 |
14 | 0.5181 | 9897256 | local_crw->get_category_children( ) | .../lib.php:376 |
15 | 1.2179 | 10185648 | local_crw->get_category_children( ) | .../lib.php:731 |
16 | 1.2181 | 10186208 | coursecat->get_children( ) | .../lib.php:719 |
17 | 1.2196 | 10236560 | coursecat::get_records( ) | .../coursecatlib.php:1167 |
18 | 1.2196 | 10246944 | mysqli_native_moodle_database->get_records_sql( ) | .../coursecatlib.php:710 |
19 | 1.2209 | 10248736 | 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.0652 | 5349472 | theme_opentechnology_core_renderer->header( ) | .../index.php:112 |
3 | 0.1013 | 6350312 | theme_opentechnology_core_renderer->render_page_layout( ) | .../outputrenderers.php:1221 |
4 | 0.1013 | 6367768 | include( '/var/opt/otlamp/w1/sdo/www/htdocs/theme/opentechnology/layout/frontpage.php' ) | .../outputrenderers.php:1291 |
5 | 0.1014 | 6367768 | theme_opentechnology_get_html_for_settings( ) | .../frontpage.php:32 |
6 | 0.1089 | 6625696 | block_manager->region_uses_dock( ) | .../lib.php:640 |
7 | 0.5101 | 9873936 | block_manager->ensure_content_created( ) | .../blocklib.php:644 |
8 | 0.5101 | 9873936 | block_manager->create_block_contents( ) | .../blocklib.php:1268 |
9 | 0.5101 | 9873936 | block_courses_showcase->get_content_for_output( ) | .../blocklib.php:1216 |
10 | 0.5102 | 9875120 | block_courses_showcase->formatted_contents( ) | .../moodleblock.class.php:230 |
11 | 0.5102 | 9875120 | block_courses_showcase->get_content( ) | .../moodleblock.class.php:288 |
12 | 0.5102 | 9875872 | block_courses_showcase\viewtype\crw_default->get_showcase( ) | .../block_courses_showcase.php:122 |
13 | 0.5108 | 9883872 | local_crw->display_showcase( ) | .../crw_default.php:58 |
14 | 0.5181 | 9897256 | local_crw->get_category_children( ) | .../lib.php:376 |
15 | 1.2179 | 10185648 | local_crw->get_category_children( ) | .../lib.php:731 |
16 | 1.2181 | 10186208 | coursecat->get_children( ) | .../lib.php:719 |
17 | 1.2196 | 10236560 | coursecat::get_records( ) | .../coursecatlib.php:1167 |
18 | 1.2196 | 10246944 | mysqli_native_moodle_database->get_records_sql( ) | .../coursecatlib.php:710 |
19 | 1.2209 | 10248736 | 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 => '5',
2 => '6',
3 => '41',
4 => '158',
5 => '16',
6 => '36',
7 => '537',
8 => '26',
9 => '103',
10 => '28',
11 => '30',
12 => '32',
13 => '42',
14 => '21',
15 => '34',
16 => '43',
17 => '44',
18 => '104',
19 => '73',
20 => '105',
21 => '84',
22 => '494',
23 => '45',
24 => '536',
25 => '210',
26 => '485',
27 => '82',
28 => '46',
29 => '47',
30 => '48',
31 => '14',
32 => '87',
33 => '668',
34 => '325',
35 => '10',
36 => '50',
37 => '22',
38 => '88',
39 => '40',
40 => '51',
41 => '53',
42 => '54',
43 => '17',
44 => '55',
45 => '57',
46 => '59',
47 => '35',
48 => '496',
49 => '11',
50 => '58',
51 => '61',
52 => '60',
53 => '24',
54 => '349',
55 => '360',
56 => '446',
57 => '12',
58 => '62',
59 => '534',
60 => '63',
61 => '64',
62 => '96',
63 => '95',
64 => '102',
65 => '52',
66 => '13',
67 => '65',
68 => '15',
69 => '722',
70 => '66',
71 => '37',
72 => '20',
73 => '71',
74 => '68',
75 => '70',
76 => '69',
77 => '98',
78 => '535',
79 => '39',
80 => '74',
81 => '75',
82 => '99',
83 => '77',
84 => '76',
85 => '78',
86 => '79',
87 => '80',
88 => '747',
89 => '748',
90 => '756',
91 => '759',
92 => '842',
93 => '865',
94 => '352',
95 => '881',
96 => '1072',
97 => '1074',
)]
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 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()