Warning: Failed opening '/home/httpd/html/moodle/mod/reading/db/mysql.php' for inclusion (include_path='.:/usr/local/lib/php')
in /home/httpd/html/moodle/admin/index.php on line 137
I did a painless upgrade from 1.0.5 to 1.0.6 beta 1 all works well. I am logged in as admin.
After adding a new category and clicking on the Administration link at the top I get this little message as above. All works though. Funny thing line 137 of the index.php file the end of the file.
Thanks
Tom V.
Re: Has anyone seen this yet after adding a new category...
If you used CVS you MUST use the -P and -d options:
cvs update -dP
Cheers,
Martin
Re: Has anyone seen this yet after adding a new category...
Martin, I have seen this same error when I upgraded as well and I downloaded from the new release. I noticed that there is no file mysql.php in the mod/reading/db/ folder. Moving a copy to this location created another error. The rest of the site appears ok. The error exist only when going to the admin page. I am running on WInNT.
Warning: Failed opening 'd:\program files\easyphp\www\moodle/mod/reading/db/mysql.php' for inclusion (include_path='.;d:\Program Files\EasyPHP\php\pear\') in d:\program files\easyphp\www\moodle\admin\index.php on line 137
' + inobj[objprop] + '\n');
}
op.document.close();
}
function fillmessagebox(text) {
document.form.message.value = text;
}
function openpopup(url,name,height,width) {
fullurl = "http://hermes.jcsu.edu/moodle" + url;
options = "menubar=0,location=0,scrollbars,resizable,width="+width+",height="+height;
windowobj = window.open(fullurl,name, options);
windowobj.focus();
}
function copyrichtext(textname) {
textname.value = document.richedit.docHtml;
return true;
}
// done hiding -->
Frank
Re: Has anyone seen this yet after adding a new category...
There shouldn't even BE a mod/reading directory.
To fix this you'll need to:
- delete the mod/reading directory, and
- delete the record containing 'reading' from the 'modules' table
Cheers,
Martin
Re: Has anyone seen this yet after adding a new category...
