( ! ) 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.0450 | 5349472 | theme_opentechnology_core_renderer->header( ) | .../index.php:112 |
3 | 0.0533 | 6350312 | theme_opentechnology_core_renderer->render_page_layout( ) | .../outputrenderers.php:1221 |
4 | 0.0533 | 6367768 | include( '/var/opt/otlamp/w1/sdo/www/htdocs/theme/opentechnology/layout/frontpage.php' ) | .../outputrenderers.php:1291 |
5 | 0.0534 | 6367768 | theme_opentechnology_get_html_for_settings( ) | .../frontpage.php:32 |
6 | 0.0633 | 6625696 | block_manager->region_uses_dock( ) | .../lib.php:640 |
7 | 0.5175 | 9882128 | block_manager->ensure_content_created( ) | .../blocklib.php:644 |
8 | 0.5175 | 9882128 | block_manager->create_block_contents( ) | .../blocklib.php:1268 |
9 | 0.5175 | 9882128 | block_courses_showcase->get_content_for_output( ) | .../blocklib.php:1216 |
10 | 0.5176 | 9883312 | block_courses_showcase->formatted_contents( ) | .../moodleblock.class.php:230 |
11 | 0.5176 | 9883312 | block_courses_showcase->get_content( ) | .../moodleblock.class.php:288 |
12 | 0.5176 | 9884064 | block_courses_showcase\viewtype\crw_default->get_showcase( ) | .../block_courses_showcase.php:122 |
13 | 0.5179 | 9892064 | local_crw->display_showcase( ) | .../crw_default.php:58 |
14 | 2.2474 | 10797496 | crw_categories_list_tiles->display( ) | .../lib.php:404 |
15 | 2.2474 | 10797496 | crw_categories_list_tiles->outputhtml( ) | .../lib.php:66 |
16 | 2.2474 | 10807000 | crw_categories_list_tiles_renderer->__construct( ) | .../lib.php:44 |
17 | 2.5124 | 11467664 | file_storage->get_area_files( ) | .../renderer.php:72 |
18 | 2.5124 | 11469016 | mysqli_native_moodle_database->get_records_sql( ) | .../file_storage.php:657 |
19 | 2.5125 | 11471568 | 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.0450 | 5349472 | theme_opentechnology_core_renderer->header( ) | .../index.php:112 |
3 | 0.0533 | 6350312 | theme_opentechnology_core_renderer->render_page_layout( ) | .../outputrenderers.php:1221 |
4 | 0.0533 | 6367768 | include( '/var/opt/otlamp/w1/sdo/www/htdocs/theme/opentechnology/layout/frontpage.php' ) | .../outputrenderers.php:1291 |
5 | 0.0534 | 6367768 | theme_opentechnology_get_html_for_settings( ) | .../frontpage.php:32 |
6 | 0.0633 | 6625696 | block_manager->region_uses_dock( ) | .../lib.php:640 |
7 | 0.5175 | 9882128 | block_manager->ensure_content_created( ) | .../blocklib.php:644 |
8 | 0.5175 | 9882128 | block_manager->create_block_contents( ) | .../blocklib.php:1268 |
9 | 0.5175 | 9882128 | block_courses_showcase->get_content_for_output( ) | .../blocklib.php:1216 |
10 | 0.5176 | 9883312 | block_courses_showcase->formatted_contents( ) | .../moodleblock.class.php:230 |
11 | 0.5176 | 9883312 | block_courses_showcase->get_content( ) | .../moodleblock.class.php:288 |
12 | 0.5176 | 9884064 | block_courses_showcase\viewtype\crw_default->get_showcase( ) | .../block_courses_showcase.php:122 |
13 | 0.5179 | 9892064 | local_crw->display_showcase( ) | .../crw_default.php:58 |
14 | 2.2474 | 10797496 | crw_categories_list_tiles->display( ) | .../lib.php:404 |
15 | 2.2474 | 10797496 | crw_categories_list_tiles->outputhtml( ) | .../lib.php:66 |
16 | 2.2474 | 10807000 | crw_categories_list_tiles_renderer->__construct( ) | .../lib.php:44 |
17 | 2.5124 | 11467664 | file_storage->get_area_files( ) | .../renderer.php:72 |
18 | 2.5124 | 11469016 | mysqli_native_moodle_database->get_records_sql( ) | .../file_storage.php:657 |
19 | 2.5125 | 11471568 | query
( ) | .../mysqli_native_moodle_database.php:1244 |
Ошибка
Ошибка чтения из базы данных. Ни в коем случае не выполняйте выключение (перезагрузку) сервера, так как это может привести к необратимой потере данных!
Debug info: MySQL server has gone away
SELECT f.id AS id, f.contenthash, f.pathnamehash, f.contextid, f.component, f.filearea, f.itemid, f.filepath, f.filename, f.userid, f.filesize, f.mimetype, f.status, f.source, f.author, f.license, f.timecreated, f.timemodified, f.sortorder, f.referencefileid, r.repositoryid AS repositoryid, r.reference AS reference, r.lastsync AS referencelastsync
FROM mdl_files f
LEFT JOIN mdl_files_reference r
ON f.referencefileid = r.id
WHERE f.contextid = ?
AND f.component = ?
AND f.filearea = ?
AND f.itemid = ? ORDER BY itemid, filepath, filename
[array (
0 => 259309,
1 => 'local_crw',
2 => 'categoryicon',
3 => 748,
)]
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 657 of /lib/filestorage/file_storage.php: call to mysqli_native_moodle_database->get_records_sql()
- line 72 of /local/crw/plugins/categories_list_tiles/renderer.php: call to file_storage->get_area_files()
- 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 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()