fusioninventory / fusioninventory-for-glpi

FusionInventory plugin for GLPI
http://www.FusionInventory.org/
GNU Affero General Public License v3.0
361 stars 148 forks source link

Error with Deploy package interface #3183

Open noedelcroix opened 3 years ago

noedelcroix commented 3 years ago

Hi, I have a problem with the package actions. When I click on the "+" to add a file or program, nothing happend... As you can see I have an error with the onclick event. Thanks in advance for your help or the patch. Capture d’écran de 2021-06-03 17-23-15 Capture d’écran de 2021-06-03 17-23-53 Capture d’écran de 2021-06-03 17-24-01

ddurieux commented 3 years ago

Version?

noedelcroix commented 3 years ago

Last version of GLPI and fusioninventory. GLPI : 9.5.5 fusioninventory : 9.5+3.0

ddurieux commented 3 years ago

Do you have errors in the network tab of you browser debug tool ?

Do you have errors in the glpi log files (glpi/files/log/php-errors.log) ?

noedelcroix commented 3 years ago

No nothing. Just 200 status files and empty php-errors.log...

ddurieux commented 3 years ago

And run GLPI in debug?

noedelcroix commented 3 years ago

I think there isn't any errors. Isn't it a frontend error ? Capture d’écran de 2021-06-03 20-34-06

noedelcroix commented 3 years ago

And deploy package look like to be loaded Capture d’écran de 2021-06-03 20-36-00

ddurieux commented 3 years ago

the button not works always?

How to you have installed the plugin?

noedelcroix commented 3 years ago

Yes it's not working. I installed by downloading the last release on github and adding it into plugins folder of glpi.

ddurieux commented 3 years ago

do you have previous version of plugin, I mean in the folder glpi/plugins/?

If yes, do you have delete it before uncompress the new version?

noedelcroix commented 3 years ago

Just other plugins Capture d’écran de 2021-06-03 21-00-23

ddurieux commented 3 years ago

What is fox?

noedelcroix commented 3 years ago

It's a theme plugin (change color and logo). Even this plugin (fox) disabled, the problem is there

ddurieux commented 3 years ago

and disable too formcreator and mreporting?

noedelcroix commented 3 years ago

Sorry, I have the same problem... Maybe I will try to reinstall (an other time) fusioninventory plugin. ![Uploading Capture d’écran de 2021-06-03 21-05-20.png…]()

noedelcroix commented 3 years ago

Capture d’écran de 2021-06-03 21-05-20

ddurieux commented 3 years ago

you have logout and login to test after disable these plugins?

noedelcroix commented 3 years ago

Yes of course. I just tried a new install and i unfortunately have the same problem...

ddurieux commented 3 years ago

I have no more idea ;(

noedelcroix commented 3 years ago

Ok thanks a lot for your help I will check and post the solution (if I will get it)

ddurieux commented 3 years ago

The best solution is to debug in the code

noedelcroix commented 3 years ago

yes, thanks

noedelcroix commented 3 years ago

I found the problem, so now, I have to solve it and to know why there is the problem. The lib folder of fusioninventory plugin is not loaded and I don't know yet why (the folder exist and is accessible by his url). Capture d’écran de 2021-06-04 14-49-42 Capture d’écran de 2021-06-04 14-52-03