Closed jcervantes-sipecom closed 3 years ago
You probably didn't install the Webapplication plugin. There is no impact on the plugin functionality, normally. K.r,
Hi Yes, but this error avoids the plugins page load, if it was not in debug mode, the error could not be displayed, the page is completely blank.
Also the Webapplication plugin is installed and active:
I had to move the archisw folder to another location to be able to load the plugins page and once I verified the Webapplication plugin is installed and activated, I moved the archisw folder back to the plugins folder. But the error persist:
If the Webapplications plugin is necessary then it should be added in the setup.php which is required, like this:
'requirements' => [ 'glpi' => [ 'min' => '9.5', 'dev' => false, 'plugins' => [ 'webapplications', ],
Additionally, on line 63 specify that the Webapplications plugin must be activated. I solved it like this:
$ plugin = new Plugin (); if (class_exists ($itemtype) && $plugin-> isActivated ($ itemtype)) {
Attach my setup.php (setup.php.txt)
In this way I could load the plugin page when:
The Webapplication is not installed or installed but not active:
The Webapplication is installed and active:
In fact, the plugin Webapplication is now integrated into GLPI core, as appliance. So, the "registerType" method doesn't exist anymore for Webapplication. In order to avoid the error message, you should modify the line 58 into a comment : // 'PluginWebapplicationsWebapplication', Can you confirm that this is a solution for you ? I will then release a new version of the plugin. Thank you for your contribution,
Yes, the problem doesn't show it anymore when installing the plugin.
Hi, I already install the plugin but I'm getting the followin error on Debug mode when trying to Activate it:
My GLPI is for testing: GLPI 9.5.2 Plugin version: v2.2.1 SO: Ubuntu 20.04.1 LTS
Also, I'm using the Filesystem Hirerarchie Standard for Ubuntu: