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

[9.5.0+1.0] network ports fusioninventory view not avaible #3023

Open 3a6u9ka opened 4 years ago

3a6u9ka commented 4 years ago

Hello, i recently upgraded glpi from 9.4.3 to 9.5.1 and fusioninventory plugin from 9.4+2.3 to 9.5.0+1.0

Fusioninventory view on network ports in network devices not avaible anymore. image

But it randomly appears by clicking on Fusioninventory SNMP tab image

and this error: image

Refresh page on Fusioninventory SNMP tab show this: image

J-C-P commented 4 years ago

I feel less lonely :-) I have the same issue but no sollution.

Additionnaly, I've seen the printer page counters are not available anymore under the SNMP tab.

3a6u9ka commented 4 years ago

J-C-P, Hi This solution for printer page counters in the SNMP tab https://github.com/fusioninventory/fusioninventory-for-glpi/issues/3005

J-C-P commented 4 years ago

J-C-P, Hi This solution for printer page counters in the SNMP tab #3005

Thanks :-)

J-C-P commented 4 years ago

Any news about the FusionInventory view not available ?

stonebuzz commented 3 years ago

Hi @J-C-P @3a6u9ka

can you test this PR -> #3036 ?

Best regards

J-C-P commented 3 years ago

It works for me. I impleted Trasher's suggestion not to modify the last bit and it works. Thanks :-)

PS : Do you know if we could expect a new version of the plugin arround octobre 7th ?

3a6u9ka commented 3 years ago

@stonebuzz working, thanks. But sometimes, network ports are displayes in FusionInventory SNMP tab, when go this tab after network ports tab and vice versa FusionInventory SNMP tab are displayes in network ports tab. Need refresh page on tab.

image image

stonebuzz commented 3 years ago

Can you retry with the new version of PR, clean "_cache" folder from /var/www/html/glpi/files/ , restart apache ?

Best regards

3a6u9ka commented 3 years ago

This screenhots already with new PR Im tryed clean "_cache" folder from /var/www/html/glpi/files/ and restart apache, nothing changed

suuguus commented 3 years ago

Are there any news about this issue ? I'v also the same problem after upgrading to 9.5 Change setup.php did not help. roger

WebGregGit commented 3 years ago

And I have the same problem with port view. GLPI 9.5.3 but problem I have since the 9.5.1 version.

sylvietto commented 3 years ago

I've changed the file setup.php as suggested in #3036 but it does not work, for me.

we-sell-bags commented 3 years ago

made the changes in #3036 and this fixed the same issue i was having....... it now shows up, correctly. there was no need to flush any cache... or restart php.

WebGregGit commented 3 years ago

Confirm, the thread can be closed - the fix is ​​working.

@sylvietto - are you sure you changed the right file and the right way?

sylvietto commented 3 years ago

I'm sure I have changed the right file. I can see the network port list in fusioninventory view (in the snmp tab) only for some devices. Anyway there is no "fusioninventory view" button when "glpi view" is enabled. I hope this could be only a temporary workaround, not a bug fix.

WebGregGit commented 3 years ago

Sorry for my skepticism but i still have my doubts :) Maybe not? Maybe a typo? I changed /var/www/html/glpi/plugins/fusioninventory/setup.php - added $_UGET; and chaged from $_GET to $_UGET. Works great. I am using 9.5.3. FusionInventory AGPLv3+ - 9.5.0+1.0.

we-sell-bags commented 3 years ago

It's your right to have doubts, even when multiple people get different results. one suggestion. open the whole file at that commit point, then copy & paste the whole file into your file.

if you get the same results.. then clearly something else is going on.

sylvietto commented 3 years ago

OK. I've made an upgrade from 9.5.2 to 9.5.3, re-enabled all the installed plugins including fusioninventory and now it works, great! Thank you very much.