-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check if 'rtorrent.dat' cache file exists/readable before using it #1912
Conversation
Reason of this? |
The only reason is if the "share" folder has wrong permissions ; ruTorrent can still be loaded ( and we can even add a warning message about permissions issue, maybe? ). |
But... yeah... there is no "real" reason for this, there is already an error message if "settings" folder is not readable by webserver user. So I will close this... |
If share folder has wrong permission, then we must generate an error. |
#1911 has relation to the wrong permission of share folder, right? If yes - then why user can't see an error message? He is a blind, or we have an error in diagnostic? |
@Novik: This user removed the rtorrent.dat file and I still don't really understand why he did that... He tried to find a "bug" when it's normally impossible to reproduce... |
But if he delete this file, then ruTorrent must to create it again when user reload interface (on getplugins.php call). Why this wasn't happening? |
With some "weird" PHP caching, it doesn't recreate the cache file. I really don't know how it is possible. |
I understood, thanks.
|
Thanks for explaining this, I was really interested in knowing what's going wrong. I can see a lot of php files are giving js output so I will just exclude PHP extension from caching. |
Close #1911