Admin settings with blank pages

Admin settings with blank pages

by Robotive ir -
Number of replies: 0

Hi Dear,

I decided to change my host and after doing this I encountered a problem,
After transferring the users of the site, there was no problem, but when I entered the site with the admin, it showed a blank page and I could not do any administrative work.
After searching the forum, I found that I had to enable debugging mode  --->  for this result:
1- Change Config.php  in Moodle root dir Add this

//=========================================================================
// 7. SETTINGS FOR DEVELOPMENT SERVERS - not intended for production use!!!
//=========================================================================

// Force a debugging mode regardless the settings in the site administration
 @error_reporting(E_ALL | E_STRICT);   // NOT FOR PRODUCTION SERVERS!
 @ini_set('display_errors', '1');         // NOT FOR PRODUCTION SERVERS!
 $CFG->debug = (E_ALL | E_STRICT);   // === DEBUG_DEVELOPER - NOT FOR PRODUCTION SERVERS!
 $CFG->debugdisplay = 1;              // NOT FOR PRODUCTION SERVERS!

// You can specify a comma separated list of user ids that that always see
// debug messages, this overrides the debug flag in $CFG->debug and $CFG->debugdisplay
// for these users only.
 $CFG->debugusers = '2';

-----------------------------------------------------------------
When I save it and open http://mysite/admin/search.php I see this report:
Warning: require_once(/home/my-moodle/lib/antivirus/clamav/classes/scanner.php): failed to open stream: No such file or directory in /home/my-moodle/lid/antivirus/clamav/setting.php on line 29

2- I found it scanner.php is not in that directory
3- then I copy this file from backup and it work correctly.

I hope this feature is useful for someone

be regards,




Average of ratings: -