0% found this document useful (0 votes)
24 views

View PHP

The document describes errors encountered when trying to access a database and load assignment activity records. It contains debugging stack traces showing the code flow and method calls that resulted in the errors.

Uploaded by

fabian villacis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

View PHP

The document describes errors encountered when trying to access a database and load assignment activity records. It contains debugging stack traces showing the code flow and method calls that resulted in the errors.

Uploaded by

fabian villacis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Firefox https://eva2-mecapacito.educacion.gob.ec/mod/assign/view.

php

Error al leer de la base de datos


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.filename != ?

AND f.itemid = ? ORDER BY id


[array (
0 => 136688,
1 => 'assignsubmission_file',
2 => 'submission_files',
3 => '.',
4 => '323565',
)]
Error code: dmlreadexception
Stack trace:

• line 494 of /lib/dml/moodle_database.php: dml_read_exception thrown


• line 293 of /lib/dml/moodle_read_slave_trait.php: call to moodle_database->query_end()
• line 1371 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database-
>query_end()
• line 667 of /lib/filestorage/file_storage.php: call to mysqli_native_moodle_database-
>get_records_sql()
• line 198 of /mod/assign/submission/file/locallib.php: call to file_storage->get_area_files()
• line 530 of /mod/assign/submission/file/locallib.php: call to assign_submission_file->count_files()
• line 7576 of /mod/assign/locallib.php: call to assign_submission_file->is_empty()
• line 7672 of /mod/assign/locallib.php: call to assign->submission_empty()
• line 7750 of /mod/assign/locallib.php: call to assign->save_submission()
• line 506 of /mod/assign/locallib.php: call to assign->process_save_submission()
• line 55 of /mod/assign/view.php: call to assign->view()

Error al leer de la base de datos


Debug info: MySQL server has gone away
SELECT * FROM mdl_assign WHERE id = ?
[array (
0 => '873',
)]
Error code: dmlreadexception
Stack trace:

• line 494 of /lib/dml/moodle_database.php: dml_read_exception thrown


• line 293 of /lib/dml/moodle_read_slave_trait.php: call to moodle_database->query_end()
• line 1371 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database-
>query_end()
• line 1679 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database-
>get_records_sql()

1 de 2 20/05/2024, 08:22 p. m.
Firefox https://eva2-mecapacito.educacion.gob.ec/mod/assign/view.php

• line 1651 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()


• line 1630 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
• line 2114 of /lib/pagelib.php: call to moodle_database->get_record()
• line 507 of /lib/pagelib.php: call to moodle_page->load_activity_record()
• line 962 of /lib/pagelib.php: call to moodle_page->magic_get_activityrecord()
• line 64 of /lib/classes/output/activity_header.php: call to moodle_page->__get()
• line 863 of /lib/pagelib.php: call to core\output\activity_header->__construct()
• line 962 of /lib/pagelib.php: call to moodle_page->magic_get_activityheader()
• line 2994 of /lib/outputrenderers.php: call to moodle_page->__get()
• line 389 of /lib/setuplib.php: call to core_renderer->fatal_error()
• line ? of unknownfile: call to default_exception_handler()

2 de 2 20/05/2024, 08:22 p. m.

You might also like