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 2016-06-13 14:38:23

TontonLud
Member
Registered: 2012-04-18
Posts: 19

[0.90.3] Mauvais message erreur upload fichier

Bonjour,

J'ai constaté un mauvais message d'erreur lors de l'upload d'un fichier trop gros pour le post_max_size de php.

Le message d'erreur qui est marqué est "'Type de fichier non autorisé".
http://imgur.com/10OZGwo


 
GLPI 0.90.3 ( => /var/www/)

Server
 
Operating system: Linux 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 03:35:39 UTC 2016 x86_64
PHP 5.6.22 apache2handler (Core, PDO, Phar, Reflection, SPL, apache2handler, bz2, calendar, ctype, curl, date, ereg, exif,
    fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, json, ldap, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd,
    openssl, pcre, pdo_mysql, pdo_sqlite, session, sockets, sqlite3, standard, tokenizer, zip, zlib)
Setup: max_execution_time="30" memory_limit="128M" post_max_size="20M" safe_mode="" session.save_handler="files"
    upload_max_filesize="1K" 
Software: Apache ()
    Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36
Server Software: MySQL Community Server (GPL) by Remi
    Server Version: 5.5.50
    Server SQL Mode: 
    Parameters: root@localhost/glpidb
    Host info: Localhost via UNIX socket
    
OK/var/www/config : OK
OK/var/www/files : OK
OK/var/www/files/_dumps : OK
OK/var/www/files/_sessions : OK
OK/var/www/files/_cron : OK
OK/var/www/files/_graphs : OK
OK/var/www/files/_lock : OK
OK/var/www/files/_plugins : OK
OK/var/www/files/_tmp : OK
OK/var/www/files/_rss : OK
OK/var/www/files/_uploads : OK
OK/var/www/files/_pictures : OK
OK/var/www/files/_log : OK
OKSELinux mode is Disabled

Libraries
 
htmLawed version 1.1.21 in (/var/www/lib/htmlawed)
phpCas version 1.3.4 in (/var/www/lib/phpcas)
PHPMailer version 5.2.8 in (/var/www/lib/phpmailer)
ZetaComponent ezcGraph installed in (/var/www/lib/zeta/Base):  OK
Zend Framework version 2.4.9 in (/var/www/lib/Zend)
SimplePie version 1.3.1 in (/var/www/lib/simplepie)
TCPDF version 6.2.12 in (/var/www/lib/tcpdf)
ircmaxell/password-compat in (/var/www/lib/password_compat). Compatitility: Ok

LDAP directories
 
Server: '10.13.1.1', Port: '389', BaseDN: 'OU=****,DC=****,DC=**', Connection filter: none, RootDN: 'CN=****,OU=****,DC=****,DC=**', Use TLS: none

Mysql replicas
 
Not active

Notifications
 
Way of sending emails: SMTP (anonymous@192.168.1.200)

Mails receivers
 
Name: '***@****.fr' Active: No
    Server: '{***}' Login: '***' Password: Yes

Plugins list
 
    custom               Name: Custom                         Version: 0.90-1.0.1 State: Not installed
    formcreator          Name: Formulaires                    Version: 0.90-1.3.3 State: Not installed
    pdf                  Name: Impression pdf                 Version: 1.0        State: Not installed
    mreporting           Name: Plus de rapports               Version: 0.90+1.1   State: Not installed
    projet               Name: Projets                        Version: 1.5.0      State: Not installed
    reports              Name: Rapports                       Version: 1.9.1      State: Not activated
    dashboard            Name: Tableau de bord                Version: 0.7.3      State: Enabled

Offline

#2 2016-06-14 19:02:05

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: [0.90.3] Mauvais message erreur upload fichier

Je viens de refaire un test et si le type est bien autorisé, le message indiqué est correct (fichier excédant la valeur de la variable dans le php.ini).


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

Board footer

Powered by FluxBB