Koozali.org: home of the SME Server

OCS and GLPI

Offline JanzY

  • 10
  • +0/-0
Re: OCS and GLPI
« Reply #15 on: August 13, 2009, 09:24:30 PM »
Hi Globalsi,

like you already mentioned, the version 1.72 needs PHP 5 and on SME server 7.4 in installed PHP 4.3.9 .

The version of GLPI installed with that method is 0.68.3 (I'm almost certain).

I did't tried to upgrade PHP for testing glpi 1.72 because I run some other applications on my SME server and I really don't won't to broke any of them.

GLPI version 1.71.6 runs with no complications for me.

By.
Fast but not last..

Offline Nokia390

  • ***
  • 88
  • +0/-0
Re: OCS and GLPI
« Reply #16 on: August 14, 2009, 10:20:00 AM »
ok
It works (0.71.6)
but have the same problem whith 7.2
best regards

Offline JanzY

  • 10
  • +0/-0
Re: OCS and GLPI
« Reply #17 on: August 14, 2009, 02:48:02 PM »
Hi,

read my answer to Globalsi.

By
Fast but not last..

Offline globalsi

  • ****
  • 167
  • +0/-0
Re: OCS and GLPI
« Reply #18 on: August 14, 2009, 03:47:18 PM »
Hi,
I installed glpi-0.71.6 with new installation (instead of update)
I have actived OCSNG in the configuration/restriction

I have 2 computers listed in OCSNG but when i try to import them in glpi, I have this message : "no new computer to import"....

any ideas or tips ?
for exemple, what is in setup / OCSNG Mode
 - OCSweb database user
 - OCSweb user password

thanks

« Last Edit: August 14, 2009, 04:24:45 PM by globalsi »

Offline Nokia390

  • ***
  • 88
  • +0/-0
Re: OCS and GLPI
« Reply #19 on: August 14, 2009, 04:53:24 PM »
hi
I think you have to sincronise glpi and ocs

put dbname
user and password ( config show ocs ), it work for me.

Offline globalsi

  • ****
  • 167
  • +0/-0
Re: OCS and GLPI
« Reply #20 on: August 14, 2009, 05:20:25 PM »
ok, all works fine now.

Offline JanzY

  • 10
  • +0/-0
Re: OCS and GLPI
« Reply #21 on: August 18, 2009, 09:51:12 PM »
Hi,

Just when I thought everthing works I realized, that I don't see any software in GLPI.
How about you 2?

By.
Fast but not last..

Offline JanzY

  • 10
  • +0/-0
Re: OCS and GLPI
« Reply #22 on: August 18, 2009, 10:24:27 PM »
Hi,

Just when I thought everthing works I realized, that I don't see any software in GLPI.
How about you 2?

By.

I find the problem.
In the synchronization settings of OCS NG "Use the software dictionary of OCS" I change from Yes 2 NO and now I see software 2.

Sorry for this post but in the first (and second) look I didn't find the problem. Anyway please post your settings just to compare.

By.
Fast but not last..

Offline Nokia390

  • ***
  • 88
  • +0/-0
Re: OCS and GLPI
« Reply #23 on: August 21, 2009, 11:15:05 AM »
hi
i upgrade to PHP5 and glpi 0.72.1 works fine, i dont have problems with other contribs, because we have option to only glpi work whith php5, like egroupware still working with php 4.3.9.

best regards

Offline globalsi

  • ****
  • 167
  • +0/-0
Re: OCS and GLPI
« Reply #24 on: August 27, 2009, 09:10:55 AM »
I find the problem.
In the synchronization settings of OCS NG "Use the software dictionary of OCS" I change from Yes 2 NO and now I see software 2.

Sorry for this post but in the first (and second) look I didn't find the problem. Anyway please post your settings just to compare.

By.

which settings ?

Offline wlud

  • 7
  • +0/-0
Re: OCS and GLPI
« Reply #25 on: October 16, 2009, 09:56:00 PM »
As for myslef, I upgrader to php 5 following : http://wiki.contribs.org/PHP5

Then I checked that OCS and glpi 0.68.3 works well.. ok..
I moved /opt/inventory/glpi to /opt inventory/glpi068
I copied the 0.72 glpi dir in /opt/inventory
and .. white page.. I checked all the rights and ownership of the directories and set them exactly to theose of 0.68.3.. same thing..
I checked /var/log/messages and this is what I get :

Oct 16 21:48:49 support httpd: PHP Parse error:  parse error, unexpected '=', expecting ')' in /opt/inventory/glpi/inc/common.function.php on line 1591

line 1591 is : function getURLContent ($url, &$msgerr=NULL, $rec=0) {


any idea ?

Cheers,
Phil.


Offline wlud

  • 7
  • +0/-0
Re: OCS and GLPI
« Reply #26 on: October 16, 2009, 09:57:59 PM »
P.S : ocs is still working well, so i suppose php5 is correctly set..

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: OCS and GLPI
« Reply #27 on: October 16, 2009, 10:00:18 PM »
Oct 16 21:48:49 support httpd: PHP Parse error:  parse error, unexpected '=', expecting ')' in /opt/inventory/glpi/inc/common.function.php on line 1591
line 1591 is : function getURLContent ($url, &$msgerr=NULL, $rec=0) {
any idea ?

what about posting on glpi's forums? :-)

Offline wlud

  • 7
  • +0/-0
Re: OCS and GLPI
« Reply #28 on: October 16, 2009, 10:15:58 PM »
My bad, I'll try there..

Offline Nokia390

  • ***
  • 88
  • +0/-0
Re: OCS and GLPI
« Reply #29 on: November 23, 2009, 01:06:25 PM »
Now have the same problem with GLPI 0.72.3, doesn´t work.