I have developed a new plugin, that worked fine... To extend I added some functionality to access tags, for that I added this line:
require_once (__DIR__ . '../../../tag/clasess/tag.php');
As you can see I have a typo there... It is obvious that I can fix the code, but what I was wondering about is... What if that code was released to the wild and installed by some innocent user, with no access to the server (via UI)...
In my case moodle keeps displaying a fatal error, that prevents ANY action via the UI...
Fatal error: require_once(): Failed opening required '/var/www/sites/moodle-server.openapp.co.il/iaa/local/ws_rashim../../../tag/clasess/tag.php' (include_path='/var/www/sites/moodle-server.openapp.co.il/iaa/lib/zend:/var/www/sites/moodle-server.openapp.co.il/iaa/lib/pear:.:/usr/share/pear:/usr/share/php') in /var/www/sites/moodle-server.openapp.co.il/iaa/local/ws_rashim/locallib.php on line 7
There is any way to fix it without access to the server?