You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-06-22 13:16:02

pavithranpndn
Member
Registered: 2022-03-07
Posts: 6

Php Error

Hi ,

Can someone help me out with the below error?

"Uncaught Error: Call to a member function fetch_assoc() on boolean in /var/www/html/glpi/inc/dbmysql.class.php:330
Stack trace:
#0 /var/www/html/glpi/plugins/ocsinventoryng/inc/ocsdbclient.class.php(341): DBmysql->fetch_assoc(false)
#1 /var/www/html/glpi/plugins/ocsinventoryng/inc/ocsdbclient.class.php(1008): PluginOcsinventoryngOcsDbClient->getComputerSections(Array, 524159, 2, 31, 0)

#2 /var/www/html/glpi/plugins/ocsinventoryng/inc/ocsclient.class.php(374): PluginOcsinventoryngOcsDbClient->getComputers(Array, '523')

#3 /var/www/html/glpi/plugins/ocsinventoryng/inc/ocsprocess.class.php(1159): PluginOcsinventoryngOcsClient->getComputer('523', Array)

#4 /var/www/html/glpi/plugins/ocsinventoryng/front/ocsng.sync.php(52): PluginOcsinventoryngOcsProcess::synchronizeComputer(Array)

#5 {main} thrown in /var/www/html/glpi/inc/dbmysql.class.php on line 330"

Advance Thanks,

Offline

#2 2022-06-22 19:54:39

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,819
Website

Re: Php Error

What GLPI and plugin version are you using?
Can you provide any more information about the issue you are receiving like what you were doing at the time?


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2022-06-23 07:12:47

pavithranpndn
Member
Registered: 2022-03-07
Posts: 6

Re: Php Error

Hi cconard96

Am using GLPI 9.4.5 and OCSNG 2.9.2, I've trying to import new computers while clicking import am facing the given error.

Offline

#4 2022-06-23 14:29:11

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,819
Website

Re: Php Error

I do not see that version for the OCS plugin.
They are only up to version 2.0.1 of the plugin and only version 1.6 and 1.6.1 are compatible with GLPI 9.4.
Was that version number the version for the OCS server?


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#5 2022-06-27 14:24:00

pavithranpndn
Member
Registered: 2022-03-07
Posts: 6

Re: Php Error

Hi,

OCSNG Server version was 2.9.2 and the plugin version was 1.6.1

Offline

Board footer

Powered by FluxBB