[development] D7 : progress bar info not correct in status report

blokkie blokkie at h0m3.be
Wed Jan 20 20:29:50 UTC 2010


Hi,

_System info _
     database : mysql  Ver 14.14 Distrib 5.1.42, for pc-linux-gnu (i686) 
using readline 6.0
     php : PHP 5.3.1 with Suhosin-Patch (cli) (built: Nov 23 2009 21:35:08)
     webserver : nginx version: nginx/0.7.64


On the following drupal 7 url  : 
http://local.drupal/index.php?q=admin/reports/status

there is in blue :


	
Upload progress 	Not enabled
Your server is not capable of displaying file upload progress. File 
upload progress requires an Apache server running PHP with mod_php.




This is not correct because  nginx (webserver) also supports this :
http://wiki.nginx.org/NginxHttpUploadProgressModule


source file to adjust:
modules/file/file.install:      $description = t('Your server is not 
capable of displaying file upload progress. File upload progress 
requires an Apache server running PHP with mod_php.');


Can this be fixed to a text like : Your server is currently not capable 
of displaying file upload progress. Consult your webserver documentation 
to enable this.





Additional info, my nginx virtual host file :

server {
       listen       80;
       server_name  local.drupal;
       root   /srv/http/drupal;
       access_log /srv/http/logs/drupal/access.log;
       error_log /srv/http/logs/drupal/error.log;

       location / {
         index index.php index.html index.htm;
       }
         location ~ \.php$ {
             root           /srv/http/drupal;
             fastcgi_pass   127.0.0.1:9000;
             fastcgi_index  index.php;
             fastcgi_param  SCRIPT_FILENAME  
$document_root$fastcgi_script_name;
             include        fastcgi_params;
         }
}



Kind regards ,
Blokkie



More information about the development mailing list