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 2010-10-14 09:28:13

cnova
Member
Registered: 2010-10-14
Posts: 20

OCS Import 1.4.0 for glpi 0.78 fails

I used the previous version without problems, but when I've installed 1.4.0, I find the following error:

PHP Notice:  Use of undefined constant MASS_OCS_IMPORT_LOCKFILE - assumed 'MASS_OCS_IMPORT_LOCKFILE' in /var/www/plugins/massocsimport/scripts/run.php on line 75

and import task fails.

Regards

Offline

#2 2010-10-14 09:32:54

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: OCS Import 1.4.0 for glpi 0.78 fails

Le script run.php n'a probablement pas été adapté.... de toute manières il n'était prévu que pour Windows

Sous Linux, il faut utiliser le .sh uniquement.


[english] run.php was designed for windows only... and is probably not updated for 0.78...

With linux, you must only use the .sh

+


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#3 2010-10-14 09:48:51

cnova
Member
Registered: 2010-10-14
Posts: 20

Re: OCS Import 1.4.0 for glpi 0.78 fails

Using ocsng_fullsync.sh as you said, solves the problem.

Merci

Offline

Board footer

Powered by FluxBB