Th3-822 / rapidleech

http://rapidleech.com/forum/
590 stars 522 forks source link

Progress bar not showing #165

Closed dausruddin closed 5 years ago

dausruddin commented 5 years ago

I am using Nginx 1.14.0 and PHP-FPM 7.2.11 and progress bar doesn't shows up. I already disable output buffering and disabled gzip.

Anyone successfully running it on nginx and php 7.2 ?

zimorok commented 5 years ago

I did man. Read more on here http://kuyau.blogspot.com/2013/05/rapidleech-with-php-fastcgi-and-nginx.html

dausruddin commented 5 years ago

@zimorok the irony is I already visited the website and I followed the steps mentioned, used the exact options inside nginx config. Still the progress bar wont show until the file finished leeching.

dausruddin commented 5 years ago

I have tried this code to test my output buffering and it is working fine. Still progress bsr in rapidleech wont shoe


<?php

echo 'Begin ...<br />';
for( $i = 0 ; $i < 10 ; $i++ )
{
    echo $i . '<br />';
    flush();
    ob_flush();
    sleep(1);
}
echo 'End ...<br />';
zimorok commented 5 years ago

The buffer works after the config hack or before?

My php-fastcgi have this weird config. I have few php config file. After I found the right one, i just follow the tuts, then everything works just fine

zimorok commented 5 years ago

Most important, restart all the service after config change

dausruddin commented 5 years ago

@zimorok I can't recall whether it is working before or not because I rarely use it. Now I have a new server that I am installing it on, that is why I realized about this issue.

I rebooted them all. Like I said, I already tested my setting by using code posted above and it is working fine. Somehow rapidleech wont. Maybe there are specific package that I need to install.

dausruddin commented 5 years ago

At last I solved it. I was testing on my Android using Chrome. So I try to test on my PC and it is working fine. Turned out the problem came from AdGuard that I am using on my phone.