Page 1 of 1

[SOLVED] Its not generating the config.php file - File Not..

Posted: Sun Sep 04, 2011 9:03 pm
by fearmydesign
Hi, I am trying to install version 1.9.4.3 on 1and1 Hosting, but on the second step of the intallation, its giving me an "X"

Code: Select all

File not writable! (/homepages/23/d381353229/htdocs/config.php)
I can't seem to find the config file, but then I read that its generated automatically, but this is only the 2ns step of the install and I can't even get past this... at what point of the install is this file generated? Any suggestions on how I can fix or skip this?

1and1 does not have a simple cPanel backend, they have their own weird admin control... I had to convert the Tar to Zip upload so that I could extract the file on the server.

Thank you

Re: Its not generating the config.php file - File Not Writab

Posted: Mon Sep 05, 2011 9:16 pm
by darkfool58
incase this is of any help i would connect to your webspace by ftp(http://faq.1and1.com/web_space__access/ ... index.html) then perform a ftp install http://wiki.cmsmadesimple.org/index.php ... ck_Install.

Then you havent got to worry about 1&1s web interface cludging the files.

One other comment make sure you set the ftp client in binary upload mode.

hope this helps

Russ

Re: Its not generating the config.php file - File Not Writab

Posted: Sat Sep 10, 2011 11:32 pm
by fearmydesign
Thanks Russ, but this is weird, now I am having this same problem on my regular server where I have installed over 10 cmsms 1.9.4.2 and 1.8 versions but never had issues until now... my server gave me the same error File not writable!

Code: Select all

File not writable! (/home/website/public_html/config.php)
Has anyone else experienced this issue with the new version? Please let me know, thank you

Rod

Re: Its not generating the config.php file - File Not Writab

Posted: Sat Sep 10, 2011 11:56 pm
by calguy1000

Code: Select all

I can't seem to find the config file, but then I read that its generated automatically,
CMSMS will ATTEMPT to create the config file automatically. However this SHOULD NOT WORK in most normal hosted web servers. It was done as a convenience to those people that are installing in test environments etc. Normally, The HTTP process should not be able to write to files that you do not explicitly give it access to.

That means that you need to create an empty config.php (as per the instructions) and change the permissions on that file (and the tmp/cache and tmp/templates_c, modules, and uploads directories) so that the HTTP process can write to them.

Re: Its not generating the config.php file - File Not Writab

Posted: Sun Sep 11, 2011 12:47 am
by fearmydesign
calguy1000 wrote:

Code: Select all

I can't seem to find the config file, but then I read that its generated automatically,
That means that you need to create an empty config.php (as per the instructions) and change the permissions on that file (and the tmp/cache and tmp/templates_c, modules, and uploads directories) so that the HTTP process can write to them.
I guess I was freaking out because I never had to create an empty config file before, and like I said I have done plenty of installations before on this same server and never had this issue. It worked now... I'm still curious though...

Thanks for your help Calguy