This new release code is throwing a number of errors on my site. filefield_nginx_progress 1.3; Pressflow 6.19.96; php-5.3.3; nginx 0.8.53.

Warning: strcmp() expects parameter 1 to be string, array given in _system_sort_requirements() (line 1124 of /usr/local/drupal/pressflow-6.19.96/modules/system/system.module).

and

Warning: usort(): Array was modified by the user comparison function in system_status() (line 1723 of /usr/local/drupal/pressflow-6.19.96/modules/system/system.admin.inc).

On the /admin/reports/status page it is showing this message correctly:

Upload progress nginx	Enabled (upload progress module )

but it is corrupting the filefield message to:

Array	Array
Array

Comments

smoothify’s picture

Thanks for reporting this - not sure how this went unnoticed but I have now committed a fix by removing the attempt to override filefield's requirements.

To avoid others running into this issue, I have created a new 1.4 release.

I will revisit this later and see if I can also improved the detection of whether nginx is configured correctly for upload progress.

brianmercer’s picture

Thanks much. 1.4 is running fine.

smoothify’s picture

Status: Active » Fixed

great - closing this issue then :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.