Article

  • 3 years

    3 years

    YetiShare / Core

    1561

Remote URL upload progress indicator not being displayed.

Remote URL upload progress indicator not being displayed.

There are several reasons why the remote url progress indicator will not show. They will be different for Apache2 and Nginx.

Apache2

You will need access to your main php.ini file and set the following

output_buffering = 4096
output_handler =
zlib.output_compression = Off
zlib.output_compression_level = -1
zlib.output_handler =

Once you have made the edits, you will need to restart apache.

Nginx

You will need to make the edits in the php.ini file as shown above, plus the following

Edit nginx.conf *

fastcgi_keep_conn on;
fastcgi_buffering off;
proxy_buffering off;
gzip off;

* Note: The settings may be in specific "domain.conf" files, the path to these files should be listed in the main nginx.conf file.

You will need to restart Nginx after making the changes for the changes to take effect.

Test buffering is working after you've made the changes.

You can test that buffering is working by opening the following test script in the admin area of your Yetishare installation

http://www.yourdomain.com/admin/_test_scripts/test_output_buffering.php

The output of the file should be:

1
***wait 1 second***
2
***wait 1 second***
..../* SNIP *\....
***wait 1 second***
9
***wait 1 second***
10

If the information is shown on screen after 10 seconds then buffering still isn't working, further investigation will be required.