Hello,
I have problem in reading assigement Word and Excel file. I can't read at all. I get some php code in opening files intstead of Word or Excel file. See Below. It starts happen after moodle log file database was corrupt. But, now I already fix database error.
Thanks,
Myo Gyi
<?PHP //$Id: mysql.php,v 1.1 2004/04/18 23:20:33 stronk7 Exp $ | |||||
// | |||||
// This file keeps track of upgrades to Moodle's | |||||
// blocks system. | |||||
// | |||||
// Sometimes, changes between versions involve | |||||
// alterations to database structures and other | |||||
// major things that may break installations. | |||||
// | |||||
// The upgrade function in this file will attempt | |||||
// to perform all the necessary actions to upgrade | |||||
// your older installtion to the current version. | |||||
// | |||||
// If there's something it cannot do itself, it | |||||
// will tell you what you need to do. | |||||
// | |||||
// Versions are defined by backup_version.php | |||||
// | |||||
// This file is tailored to MySQL | |||||
function online_users_upgrade($oldversion=0) { | |||||
global $CFG; | |||||
$result = true; | |||||
if ($oldversion < 2004041000 and $result) { | |||||
$result = true; //Nothing to do |