General developer forum

Plugins check error

Picture of Admir Djana
Plugins check error

I was try to install Learning Plan block, and i had an issue with permission...and i change it.

Now i'm getting this massage:

"Warning: require_once(/var/www/moodle/blocks/moodleblock.class.php): failed to open stream: Permission denied in /var/www/moodle/lib/upgradelib.php on line 849

Fatal error: require_once(): Failed opening required '/var/www/moodle/blocks/moodleblock.class.php' (include_path='/var/www/moodle/lib/pear:.:/usr/share/php') in /var/www/moodle/lib/upgradelib.php on line 849"

Plugin check

And i'm stuck at that place...

Is it problem with some file permission? Or...

Average of ratings: -
Me at the Moodle Moot NZ11
Re: Plugins check error

At first glance it does look like it might be a permissions related problem (depends how you have added the new plugin).

Once thing you can do is ensure the web server (e.g. www-data on an Ubuntu server) has read access to the Folder and files for this module - the Learning Plan Block.

You could temporarily make the permissions on the Blocks folder completely open, and then once the plugin Block has updated OK you could then restrict the permissions again smile

Average of ratings: Useful (1)