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 2011-01-03 11:21:53

jacek_kubek
Member
Registered: 2011-01-03
Posts: 2

GLPI Version 0.78.1 / OCS Inventory NG 2.0rc1 incompatibility

I have just start to try OCS Inventory NG 2.0rc1 and found out that it is incompatible with GLPI Version 0.78.1:

Home >
Setup > 
OCSNG Mode 
          
Connection to OCSNG database
Invalid OCSNG Version: RC3 is required

Is there any fix/workaround other than downgrade to OCS Inventory NG 1.3.3?

Offline

#2 2011-01-03 11:24:26

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: GLPI Version 0.78.1 / OCS Inventory NG 2.0rc1 incompatibility

hello
ocs 2.0 has not yet been tested with glpi

Offline

#3 2011-01-03 13:51:30

jacek_kubek
Member
Registered: 2011-01-03
Posts: 2

Re: GLPI Version 0.78.1 / OCS Inventory NG 2.0rc1 incompatibility

Temporary workaround.

File /www-server-docs-path/glpi/inc/ocsserver.class, line 1030:

if ($DBocs->numrows($result) != 1 || $DBocs->result($result, 0, 0) < 4020) {

Just ignore checking the second condition, e.g.:

if ($DBocs->numrows($result) != 1 /*|| $DBocs->result($result, 0, 0) < 4020*/) {

Offline

Board footer

Powered by FluxBB