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.11.1 available

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

OCS 2.6 - Page Blanche

Bonjour, si mon user fait parti de sadmin, la page reste blanche mise à part les menus en haut. Si je le met dans le profil admin c'est OK. Quelqu'un peut-il m'aider. Merci

Debian 4.9.130-2 / OCS 2.6 / PHP 7.0.33-0+deb9u5 /  Apache/2.4.38

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

5 Answers

0 votes
Bonjour, personne n'a rencontré ce cas ? Si l'utilisateur qui se connecte à la console fait parti du groupe SADMIN la page reste blanche alors que si je me connecte avec un utilisateur qui fait parti du groupe ADMIN ca fonctionne normalement.
by (260 points)
0 votes
Bonjour

Est-ce qu'il y a des erreurs dans le fichier /var/log/apache2/error.log quand l'utilisateur a le profil sadmin?

Merci de poster le contenu du fichier.

Cordialement

Frank
by (88.5k points)
0 votes
error.log :

Scalar value @args[...] better written as $args[...] at /usr/local/share/perl/5.24.1/Apache/Ocsinventory/Interface/AssetCategory.pm line 53.
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
Scalar value @args[...] better written as $args[...] at /usr/local/share/perl/5.24.1/Apache/Ocsinventory/Interface/AssetCategory.pm line 53.
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
[Mon Apr 20 17:47:09.756392 2020] [mpm_prefork:notice] [pid 728] AH00163: Apache/2.4.38 (Debian) mod_perl/2.0.10 Perl/v5.24.1 configured -- resuming normal operations
[Mon Apr 20 17:47:09.756479 2020] [core:notice] [pid 728] AH00094: Command line: '/usr/sbin/apache2'
[Mon Apr 20 17:48:01.219069 2020] [:error] [pid 782] [client 10.40.17.4:59139] PHP Fatal error:  Uncaught Error: Call to undefined function curl_init() in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php:432\nStack trace:\n#0 /usr/share/ocsinventory-reports/ocsreports/require/html_header.php(126): get_update_json()\n#1 /usr/share/ocsinventory-reports/ocsreports/require/header.php(396): require_once('/usr/share/ocsi...')\n#2 /usr/share/ocsinventory-reports/ocsreports/index.php(44): require('/usr/share/ocsi...')\n#3 {main}\n  thrown in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 432, referer: http://srvocs/ocsreports/index.php
by (260 points)
0 votes
Installe le module curl pour php7, il est manquant.

Cordialement

Frank
by (88.5k points)
0 votes

Désolé je suis pas expert, j'ai fait çà : apt-get install php7.0-curl

et j'ai des erreurs :

by (260 points)
 
Powered by Question2Answer
...