Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

script PHP de creation automatique télédéploiement

Bonjour,

nous avons recement upgrade une plateforme (inutilisé depuis 2 à 3 ans )

de 2.1 > 2.3 >2.4> 2.4.1> 2.5> 2.6> 2.7

nous avons des scripts php lancés par crontab pour générer des teledeploeiments, mais ceux-ci renvoi des erreurs que je ne comprends pas :

PHP Notice:  Undefined variable: protectedGet in /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/auth.php on line 86
PHP Warning:  Cannot modify header information - headers already sent by (output started at /usr/share/ocsinventory-reports/ocsreports/dbconfig.inc.php:14) in /usr/share/ocsinventory-reports/ocsreports/require/function_cookies.php on line 32
PHP Warning:  Cannot modify header information - headers already sent by (output started at /usr/share/ocsinventory-reports/ocsreports/dbconfig.inc.php:14) in /usr/share/ocsinventory-reports/ocsreports/require/function_table_html.php on line 1891
{"draw":null,"recordsTotal":2,"recordsFiltered":2,"data":[{"NAME":"<a href='index.php?function=group_show&head=1&systemid=10'>UBUNTU-POSTE-TAG<\/a>","ID":"10","DESCRIPTION":"Postes ayant pour tag : &quot;UBUNTU-POSTE&quot;","LASTDATE":"2016-10-05 12:21:07","NBRE":"48","ACTIONS":"      "},{"NAME":"<a href='index.php?function=group_show&head=1&systemid=18'>FEDORA-LAPOSTE-GRP<\/a>","ID":"18","DESCRIPTION":"all Fedora","LASTDATE":"2016-10-11 14:57:09","NBRE":"1","ACTIONS":"      "}],"customized":true}<script language='javascript'>
    function active(id, sens) {
        var mstyle = document.getElementById(id).style.display    = (sens!=0?"block" :"none");
    }</script><center><div id='my-alert-' class='alert alert-success fade in' role='alert'>Your package was successfully created in the directory /var/lib/ocsinventory-reports/download/1599577528</div></center>PHP Fatal error:  Call to undefined function found_id_pack() in /usr/share/ocsinventory-reports/ocsreports/scripts/generateSecurityPackets.php on line 116

merci de votre aide

in OCS Inventory NG server for Unix by (760 points)

Please log in or register to answer this question.

 
Powered by Question2Answer
...