You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Pages: 1
ok, I have followed the instructions, installed the v7.0 files and changed permissions of the all the files in public and private directories, but after the first page of the installer script, after it asks for my password, it says:
"The writeconfig() function was unable to save data to the configuration file."
The only file that it does not let me change the permissions on is config.php which stays on 755 regardless of if I try to change it. Is it that causing me the problems, or am I missing something?
Offline
What doesn't let you change the permissions of that file? The permissions of that file are the reason for the error if your provider has things configured so that the web server process can not write to files with permissions set to 755.
Also be aware that some providers have implemented scanners that will periodically go through directories and change the permissions of files without warning. I've had that process change things on me during an installation.
Offline
Remove the config.php files from the server (from both the public and private directories) then change the installer.php, index.php and admin.php scripts as follows:
At the top of each, you will see:
$perms_level_files = '755'; $perms_level_dirs = '755'; $perms_level_config = '755';
Change to:
$perms_level_files = '777'; $perms_level_dirs = '777'; $perms_level_config = '777';
And then run the installer again. Make sure your public and private directories are chmod 777 as well. This will correct your permissions issue.
Offline
I have the same problem for an UPGRADE from 6.x, not a new install.
Naturally I wish to retain the data from the original install. If I delete the config.php files, will the 6.x data be retained during the install?
Thanks!
Offline
You're installing V7 in a completely different location than V6 so deleting config.php should not impact V6 at all (just make sure you're deleting the V7 ones).
Offline
webmaster wrote:
Remove the config.php files from the server (from both the public and private directories) then change the installer.php, index.php and admin.php scripts as follows:
At the top of each, you will see:Code:
$perms_level_files = '755'; $perms_level_dirs = '755'; $perms_level_config = '755';Change to:
Code:
$perms_level_files = '777'; $perms_level_dirs = '777'; $perms_level_config = '777';And then run the installer again. Make sure your public and private directories are chmod 777 as well. This will correct your permissions issue.
Nick,
I have tried both ways, by default the folders were set to 777.
Even after setting them to 755, still no go, same error as above
I even set the 3 lines of the files you mentioned to 755 from 777
step 10 of 13: Database Selection
The writeconfig() function was unable to save data to the configuration file.
Last edited by mdowning (09-10-2012 12:30:31)
Offline
Pages: 1