crashreportsviewer
crashreportsviewer copied to clipboard
unable to create config.php
Hi!
at the end of the installation I am facing the following message:
"Unable to create config.php
. Check file/folder permissions."
I have create a user using the tools of my provider strato.de Here is my .htaccess:
AuthUserFile /mnt/rid/41/07/5394107/htdocs/.htuser
AuthName "Gesicherter Bereich" AuthType Basic
Options +FollowSymlinks RewriteCond %{REQUEST_URI} ^/dist.* [NC] RewriteRule .* - [L]
RewriteEngine on RewriteRule ^([^/]+)/report/([0-9]+)/field/([^/]+)/?$ field.php?package=$1&id=$2&field=$3 [QSA] RewriteRule ^([^/]+)/issue/([a-z0-9]+)/?$ report.php?package=$1&issue_id=$2 [QSA] RewriteRule ^([^/]+)/([^/]+)/([0-9]+)/?$ $2.php?package=$1&v=$3 [QSA] RewriteRule ^([^/]+)/([^/]+)/?$ $2.php?package=$1 [QSA]
What else can I do to fix this error message?
The web application needs write access to the folder. The PHP script tried to write the file config.php
but couldn't. Please check folder permissions, or try to create the file yourself.
I am having the same problem but manually added the config.php and sql table. Still, I cannot submit. ps, I also added "ini_set('display_errors', 'On');" to some php files;it seems php works fine
The problem seems to be that install.php script tries to write the config file outside the document root: $_SERVER['DOCUMENT_ROOT'] . "/../config.php" I changed the location to $_SERVER['DOCUMENT_ROOT'] . "/config.php" so the installation finished successfully. But ACRA still does not work because on the main site acra.mydomain.com I am getting the following error message: "Server down".
My setup is a little different. I installed acra on a subfolder of my webhost provier. So the subdomain acra.mydomain.com points to the subfolder "www/acra" and not to the root "www". This is my problem. Oher php scripts are do not work because of incorrect import paths. This makes the tool unusable. Is there any way to get it running within a subfolder of www?
Hi,
I don't see why you would want to create a subfolder into www
, but you should be able to do so by adding little modifications to the code. Could you track down why the message server down is displayed?
I had to change all places where it references server document root to "config.php" - and only that. I created the file myself and the initialization module took care of the rest