You are not logged in.
Hello, I have GLPI version 0.83.9 and when I set the MODE OCS displays the error: Version OCS-NG invalid: Requires RC3
I've tried the procedure as the link: http://forums.ocsinventory-ng.org/viewtopic.php?id=4961
I've tried to do: you have to change something in your ocsserver.class.php, Try this.. row number 1025 till row number 1033
FILE OCSSERVER.CLASS
# Check OCS version
if ($what & 1) {
$result = $DBocs->query("SELECT `TVALUE`
FROM `config`
WHERE `NAME` = 'GUI_VERSION'");
// Update OCS version on ocsservers
if ($DBocs->numrows($result)) {
$server = new OcsServer();
$server->update(array('id' => $DBocs->ocsservers_id,
'ocs_version' => $DBocs->result($result, 0, 0)));
}
if ($DBocs->numrows($result) != 1
|| ($DBocs->result($result, 0, 0) < self::OCS_VERSION_LIMIT
&& strpos($DBocs->result($result, 0, 0),'2.0') !== 0)) { // hack for 2.0 RC
return false;
}
}
Offline