Salve,
come da oggetto scrivo perchè non riesco a caricare pacchetti scorm pià grandi di 55MB nonnostante abbia già modificato il php.ini e settato la dimensione massima a 100M.
Ecco il php.ini:
upload_max_filesize = 100M
max_file_uploads = 50
#scorm
extension=zip.so
cgi.fix_pathinfo=0
MENTRE l'errore è questo:
Si è verificato un errore durante la lettura del database
SELECT 'x' FROM mdl_files WHERE contenthash = ? LIMIT 0, 1
[array (
0 => '98205bbd5ccae0bcca6a860f6af46d8732175af8',
)]
Error code: dmlreadexception
- line 423 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 942 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1689 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_recordset_sql()
- line 1674 of /lib/dml/moodle_database.php: call to moodle_database->record_exists_sql()
- line 1658 of /lib/dml/moodle_database.php: call to moodle_database->record_exists_select()
- line 1884 of /lib/filestorage/file_storage.php: call to moodle_database->record_exists()
- line 1230 of /lib/filestorage/file_storage.php: call to file_storage->deleted_file_cleanup()
- line 466 of /lib/filestorage/zip_packer.php: call to file_storage->create_file_from_pathname()
- line 504 of /lib/filestorage/stored_file.php: call to zip_packer->extract_to_storage()
- line 244 of /mod/scorm/locallib.php: call to stored_file->extract_to_storage()
- line 157 of /mod/scorm/lib.php: call to scorm_parse()
- line 98 of /course/modlib.php: call to scorm_add_instance()
- line 269 of /course/modedit.php: call to add_moduleinfo()
SELECT
bi.id,
bp.id AS blockpositionid,
bi.blockname,
bi.parentcontextid,
bi.showinsubcontexts,
bi.pagetypepattern,
bi.subpagepattern,
bi.defaultregion,
bi.defaultweight,
COALESCE(bp.visible, 1) AS visible,
COALESCE(bp.region, bi.defaultregion) AS region,
COALESCE(bp.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_context ctx ON (ctx.instanceid = bi.id AND ctx.contextlevel = 80)
WHERE
(bi.parentcontextid = ? OR (bi.showinsubcontexts = 1 AND bi.parentcontextid IN (?,?)))
AND bi.pagetypepattern IN (?,?,?,?,?)
AND (bi.subpagepattern IS NULL OR bi.subpagepattern = ?)
AND b.visible = 1
ORDER BY
COALESCE(bp.region, bi.defaultregion),
COALESCE(bp.weight, bi.defaultweight),
bi.id
[array (
0 => '15',
1 => 'mod-scorm-mod',
2 => '',
3 => '15',
4 => '3',
5 => '1',
6 => 'mod-scorm-mod',
7 => 'mod-scorm-mod-*',
8 => 'mod-scorm-*',
9 => 'mod-*',
10 => '*',
11 => '',
)]
Error code: dmlreadexception
- line 423 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 942 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 628 of /lib/blocklib.php: call to mysqli_native_moodle_database->get_recordset_sql()
- line 1406 of /lib/pagelib.php: call to block_manager->load_blocks()
- line 846 of /lib/pagelib.php: call to moodle_page->starting_output()
- line 785 of /lib/outputrenderers.php: call to moodle_page->set_state()
- line 2405 of /lib/outputrenderers.php: call to core_renderer->header()
- line 375 of /lib/setuplib.php: call to core_renderer->fatal_error()
- line ? of unknownfile: call to default_exception_handler()
SAPETE DARMI UNA SPIEGAZIONE?
grazie per la collaborazione!
Matteo