خطأ

خطأ عند القراءة من قاعدة البيانات
Debug info: Can't create/write to file '/tmp/#sql-temptable-1fbdda-486e-20900.MAI' (Errcode: 30 "Read-only file system")
SELECT
bi.id,
COALESCE(bp.id, bs.id) AS blockpositionid,
bi.blockname,
bi.parentcontextid,
bi.showinsubcontexts,
bi.pagetypepattern,
bi.requiredbytheme,
bi.subpagepattern,
bi.defaultregion,
bi.defaultweight,
COALESCE(bp.visible, bs.visible, 1) AS visible,
COALESCE(bp.region, bs.region, bi.defaultregion) AS region,
COALESCE(bp.weight, bs.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, ctx.locked AS ctxlocked

FROM cocoon_block_instances bi
JOIN cocoon_block b ON bi.blockname = b.name
LEFT JOIN cocoon_block_positions bp ON bp.blockinstanceid = bi.id
AND bp.contextid = ?
AND bp.pagetype = ?
AND bp.subpage = ?
LEFT JOIN cocoon_block_positions bs ON bs.blockinstanceid = bi.id
AND bs.contextid = ?
AND bs.pagetype = ?
AND bs.subpage = ?
LEFT JOIN cocoon_context ctx ON (ctx.instanceid = bi.id AND ctx.contextlevel = ?)

WHERE
bi.parentcontextid IN (?, ?)
AND bi.pagetypepattern IN (?,?,?,?)
AND (bi.subpagepattern IS NULL OR bi.subpagepattern = ?)
AND (bp.visible = 1 OR bp.visible IS NULL) AND (bs.visible = 1 OR bs.visible IS NULL)
AND b.visible = 1
AND (bi.requiredbytheme = 0)

ORDER BY
COALESCE(bp.region, bs.region, bi.defaultregion),
COALESCE(bp.weight, bs.weight, bi.defaultweight),
bi.id
-- line 791 of /lib/blocklib.php: call to mysqli_native_moodle_database->get_recordset_sql()
-- line 1642 of /lib/pagelib.php: call to block_manager->load_blocks()
-- line 1110 of /lib/pagelib.php: call to moodle_page->starting_output()
-- line 1393 of /lib/outputrenderers.php: call to moodle_page->set_state()
-- line 1980 of /lib/setuplib.php: call to core_renderer->header()
-- line 216 of /course/calendarCourse.php: call to bootstrap_renderer->__call()
[array (
0 => 1,
1 => 'course-calendarCourse',
2 => '',
3 => 1,
4 => 'course-calendarCourse',
5 => '',
6 => 80,
7 => 1,
8 => 1,
9 => 'course-calendarCourse',
10 => 'course-calendarCourse-*',
11 => 'course-*',
12 => '*',
13 => '',
)]
Error code: dmlreadexception
Stack trace:
  • line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
  • line 1212 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 791 of /lib/blocklib.php: call to mysqli_native_moodle_database->get_recordset_sql()
  • line 1642 of /lib/pagelib.php: call to block_manager->load_blocks()
  • line 1110 of /lib/pagelib.php: call to moodle_page->starting_output()
  • line 1393 of /lib/outputrenderers.php: call to moodle_page->set_state()
  • line 1980 of /lib/setuplib.php: call to core_renderer->header()
  • line 216 of /course/calendarCourse.php: call to bootstrap_renderer->__call()