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.

Affichage liste des logiciels impossible

Bonjour

Utilisateur d'OCS depuis plus de 10 ans je suis confronté à un problème assez bizarre. Nous avons migré notre serveur vers Centos 7 , PHP 5.6 et MariaDB 10.1, mais depuis impossible d'affiché la liste des logiciels ... j'ai systématiquement un message "Processing..."

Le plus étonnant c'est que la recherche fonctionne elle ...

Le problème se pose avec les version 2.2.1 et 2.3

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

1 Answer

0 votes

bon je viens de trouver ... voici la solution si cela peux dépanner une autre personne.

Dans mon php.ini j'avais forcé la valeur default_charset à  ISO-8859-15 afin de résoudre des problèmes d'accent dans une de mes applications. Pour résoudre le problème ci-dessus, il faut inhiber ce paramètre en modifiant le fichier /etc/httpd/conf.d/ocsinventory-reports.conf

    # PHP tuning (not working on all distribution, use php.ini instead)
    <IfModule mod_php5.c>
        AddType application/x-httpd-php .php
        php_flag file_uploads           on
        # Some PHP tuning for deployment feature up to 8 MB
        # post_max_size must be greater than upload_max_filesize
        # because of HTTP headers
        php_value post_max_size         101m
        php_value upload_max_filesize   100m
     php_value default_charset none
        # You may have to uncomment following on errors
        #php_value max_execution_time -1
        #php_value max_input_time -1
        
        # Uncomment following if you need to specify a mysql socket
        #php_value mysql.default_socket "path/to/mysql/unix/socket"

        #!! Mandatory !! : set magic_quotes_gpc to off (to make ocsreports works correctly)
        php_flag magic_quotes_gpc      off
    </IfModule>

by (380 points)
 
Powered by Question2Answer
...