Issue logging in as admin

Issue logging in as admin

by Hemamalini K R -
Number of replies: 1

Installed Moodle 2.9.2 . It was working fine. Now suddenly when i login as adminuser getting the error below and not able to proceed


Warning: include(D:\moodle2/theme/userpix/version.php): failed to open stream: No such file or directory in D:\moodle2\lib\classes\component.php on line 1112

Warning: include(): Failed opening 'D:\moodle2/theme/userpix/version.php' for inclusion (include_path='D:\moodle2/lib/zend;D:\moodle2/lib/pear;.;C:\php\pear') in D:\moodle2\lib\classes\component.php on line1112


Please help. This is very critical.


PHP log has the error below:

[09-Jun-2016 17:19:46 Asia/Kolkata] PHP Warning:  include(D:\moodle2/theme/userpix/version.php): failed to open stream: No such file or directory in D:\moodle2\lib\classes\component.php on line 1112

[09-Jun-2016 17:19:46 Asia/Kolkata] PHP Warning:  include(): Failed opening 'D:\moodle2/theme/userpix/version.php' for inclusion (include_path='D:\moodle2/lib/zend;D:\moodle2/lib/pear;.;C:\php\pear') in D:\moodle2\lib\classes\component.php on line 1112


Average of ratings: -
In reply to Hemamalini K R

Re: Issue logging in as admin

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Is userpix an actual theme that you are using?  This folder that is being referenced shouldn't actually exist...

If the folder is there, then check permissions on the directory and make sure that the web user is owner and has appropriate permissions.