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

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

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

Post 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
Last edited by fearmydesign on Sun Sep 11, 2011 12:47 am, edited 1 time in total.
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
darkfool58
Forum Members
Forum Members
Posts: 15
Joined: Mon May 24, 2010 8:40 am

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

Post 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
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

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

Post 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
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

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

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

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

Post 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
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
Locked

Return to “[locked] Installation, Setup and Upgrade”