Thank you Rick for your response. I just wanted to give an update. I wasn't didn't understand quite what to do with your advice so I put it on hold. Besides, I was still talking with my website support.
After contacting my hosting provider he wasn't able to help with the problem. But he suggested that I try to install Moodle using the Softilicious install in Cpanel. So I decided to give it a try: I used the Softalicious install in cpanel to install Moodle 2.6.2. It installed it without any problem. However, whenever I created a course, and then added some content, and added a file, such as a scorm package, I would get this error message
--------------------------------------------------------------------
Error writing to database
More information about this error
Debug info: Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. InnoDB is limited to row-logging when transaction isolation level is READ COMMITTED or READ UNCOMMITTED.
INSERT INTO mdl_course_modules (course,module,instance,visible,visibleold,idnumber,groupmode,groupingid,groupmembersonly,showdescription,added) VALUES(?,?,?,?,?,?,?,?,?,?,?)
[array (
0 => '5',
1 => 18,
2 => 0,
3 => '1',
4 => '1',
5 => '',
6 => 0,
7 => 0,
8 => 0,
9 => 0,
10 => 1396279828,
)]
Error code: dmlwriteexception
Stack trace:
line 446 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 1080 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1122 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
line 1435 of /course/lib.php: call to mysqli_native_moodle_database->insert_record()
line 91 of /course/modlib.php: call to add_course_module()
line 270 of /course/modedit.php: call to add_moduleinfo()
-------------------------------------------------------------------
I found the solutions to this error here: https://moodle.org/mod/forum/discuss.php?d=209286 In the second message by Steven Jones:
"More specifically this was the fix for me:
Look in:
moodle\lib\dml\mysqli_native_moodle_database.php
Search for:
READ COMMITTED
Replace with:
REPEATABLE READ"
I followed his instructions and on line 1497 replaced the READ COMMITTED with REPEATABLE READ. That got rid of the error message and now I am able to save content.
Best Wishes,
Stephen