-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
PHP - Warning - 3rdparty HTMLpurifier #666
Comments
Here is the code concerned by the error.
|
The first problem disapeared but now I got this new one. [Thu Apr 24 19:07:28 2014] [error] [client xxx] PHP Warning: require_once(inc/poche/global.inc.php): failed to open stream: Permission denied in /var/www/ultrawaves/wallabag/index.php on line 13, referer: https://ultrawaves.fr/wallabag/ I set the folder permission to 700 and now it's working, but with a 600 it doesn't. |
It's only the inc/ folder which needs a chmod 755, like the db/ and the cache/ folders. |
@solarus0, just read a bit more about file/folder permissions in linux: execute bit means "able to view", "search" for folder. So, pls don't experiment with permissions, if possible. |
Ok I'm sorry. I "experimented" permissions, in order to find what needed to be executable. chmod -R 400 * It's not a bug so I close this issue |
@solarus0, good explanation about directory permissions you can find for example here http://unix.stackexchange.com/questions/21251/why-do-directories-need-the-executable-x-permission-to-be-opened . |
I've just reboot my Apache2 server, and since that I can't access to wallabag, I get a blank page with a code HTTP 200.
In the Apache error log's - I got thousands of this error..
[Thu Apr 24 15:46:56 2014] [error] [client xxx.xxx.xxx.xxx] PHP Warning: readdir() expects parameter 1 to be resour
ce, boolean given in /var/www/ultrawaves/wallabag/inc/3rdparty/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer
.php on line 122
Thanks for your help.
The text was updated successfully, but these errors were encountered: