-
Notifications
You must be signed in to change notification settings - Fork 27
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
Permission error and missing file during installation #45
Comments
Thank you so much for this! Perhaps the developers should have a look at this? EDIT: |
@PCTipsGR Yes, this fixes the issue |
One should never use 777 as permission on files/folders on a publicly facing web server. Alas, something is blocking Ajax.log from being created. I am looking into it, but it would be nice if anyone had a php error log from a case this happens. |
Here is an excerpt from the file error_log from a fresh install, where the same issue was encountered.
Manually creating the directory /log/ containing the file ajax.log solved the issue. |
After uploading installer.php + pockethold folder to server, I was stuck on step 1, and received a 500 error.
Output from apache error log
[Tue Mar 05 11:32:39.109649 2019] [php7:warn] [pid 19699] [client 192.168.0.3:51517] PHP Warning: file_put_contents(/var/www/html/flarum/pockethold/log/ajax.log): failed to open stream: No such file or directory in /var/www/html/flarum/pockethold/classes/pockethold.class.php on line 41, referer: http://192.168.0.19/flarum/installer.php
This was resolved with manually creating the ajax.log in pockethold/log/ajax.log
OS: Debian 8
EDIT: Changed title to better reflect issue
The text was updated successfully, but these errors were encountered: