Plugin installation gone wrong

Plugin installation gone wrong

by Nadege B. -
Number of replies: 3

Hello


We installed a plugin (questionnaire) and in the process, it asked for some updates (on the o365 series).

Everything went smoothly and everything was shown as "success" and "continue".

But it seems that this went wrong ...

Now, it's impossible to create / add any thing (user / course etc)

And if we try to go on the "install plugin" to start over or anything, there's the following error message  :


Warning: require_once(/var/www/html/learning/local/msaccount/msaccount_client.php): failed to open stream: No such file or directory in /var/www/html/learning/local/onenote/classes/api/base.php on line 127

Fatal error: require_once(): Failed opening required '/var/www/html/learning/local/msaccount/msaccount_client.php' (include_path='/var/www/html/learning/lib/zend:/var/www/html/learning/lib/pear:.:/usr/share/pear:/usr/share/php') in /var/www/html/learning/local/onenote/classes/api/base.php on line 127


How could it be possible to resolve this ?


Thank you for your help !

Regards,

Nadège

Average of ratings: -
In reply to Nadege B.

Re: Plugin installation gone wrong

by nivedita setru -

Hi,

The error -

"Fatal error: require_once(): Failed opening required '/var/www/html/learning/local/msaccount/msaccount_client.php' (include_path='/var/www/html/learning/lib/zend:/var/www/html/learning/lib/pear:.:/usr/share/pear:/usr/share/php') in /var/www/html/learning/local/onenote/classes/api/base.php on line 127"

seems to imply, 'msaccount_client.php' script is not found in this location '/var/www/html/learning/local/msaccount/'. If you have access to the server where moodle is hosted, can check if msaccount_client.php is available

$ ls /var/www/html/learning/local/msaccount/

If its not available may be it must have been missed while you were copying codebase. If you copy that script across, it should be back to its working state.


Average of ratings: Useful (1)
In reply to nivedita setru

Re: Plugin installation gone wrong

by Nadege B. -

Hello


Our sysadmin is back today and indeed, he checked and something went wrong while updating around ms_account.

He sorted it out by deleted the file directly on the server and then remaking it as it should.

Thank you for your help !

Regards,

Nadège

In reply to Nadege B.

Re: Plugin installation gone wrong

by kamesh veerachamy -

Hi ,

Please check your local plugin "local/onenote/classes/api/base.php"

line no 127.

I think you include some file in another local plugin.

But that file does not exists or path is wrong.

Please mention the file path like as .

require_once($CFG->dirroot . '/local/msaccount/msaccount_client.php');

before check the msaccount_client.php is available in local/msaccount path.

I hope this is the reason.