Getting config.php write permission error [solved]

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
wournos
Forum Members
Forum Members
Posts: 40
Joined: Sat Jun 23, 2007 6:23 pm

Getting config.php write permission error [solved]

Post by wournos »

After uploading the entire cmsmadesimple folder and changing read/write access just like your guides (Quick FTP Installation) says, I still get write access denied of the config.php. I found a thread on these forums that suggested adding a CHMOD to the config.php too, and set the permission to 0666. Nothing works. I still don't have write permission of the config.php file according to the installation page.

I have done so many things that my head is currently spinning.
I am by no means a techie so I would prefer as simple yet detailed explanation as possible.

/W
Last edited by wournos on Mon Jun 25, 2007 7:02 am, edited 1 time in total.
Pierre M.

Re: Getting config.php write permission error

Post by Pierre M. »

Hello,

have you tried Filezilla ?
http://wiki.cmsmadesimple.org/index.php/FTP_program

Please explain how you have created the config.php and tried to chmod it. And may be tell us what your hosting is too.

Pierre M.
wournos
Forum Members
Forum Members
Posts: 40
Joined: Sat Jun 23, 2007 6:23 pm

Re: Getting config.php write permission error

Post by wournos »

While trying to install another CMS, my host told me that in order to create the CHMOD file I needed to add the following code to a text file.

Code: Select all

<?php chmod("tmp/templates_c", 0774); echo
"rättigheter ändrade"; ?> 
("rättigheter ändrade" means 'permission changed' in Swedish)

But none of the text file programs I have could be saved as .php. Not properly anyway. I had to make it a Dreamweaver .php file.

I followed your guide and added the rest of the folders (tmp/templates_c, tmp/cache, uploads, uploads/images, modules) the same way as the above code. I don't know how to merge them into one single string of code though.
The guide did not say where to put the CHMOD for the config.php file so I added it into itself - which probably wasn't a good idea.


My host id One.com and I use Cyberduck as FTP. I also use Mac so not all programs are available to me.

/W

Edit:
I have found the right way to change CHMOD through my FTP. I have set the permission of all files to 775 and the config file to 666. I skipped step 6 because the host offers a database of my own. But after all this step 8 is still showing that the config file lacks write access.

Any ideas?

/W
Last edited by wournos on Sun Jun 24, 2007 11:40 am, edited 1 time in total.
Pierre M.

Re: Getting config.php write permission error

Post by Pierre M. »

wournos wrote: Edit:
I have found the right way to change CHMOD through my FTP. I have set the permission of all files to 775 and the config file to 666. I skipped step 6 because the host offers a database of my own. But after all this step 8 is still showing that the config file lacks write access.
Hello again,

well done so far (chmod with FTP tool).

Please describe with more details :
-the whole life cycle of the config.php file (where is it created ? how ? how is it chmoded ? what are all your actions about it...)
-what were the green/yellow/red flags/lights during installation about file permission, ownership and access rights.
-please remind me of what "step 6" and "step 8" are and copy the error message you see.

Pierre M.
wournos
Forum Members
Forum Members
Posts: 40
Joined: Sat Jun 23, 2007 6:23 pm

Re: Getting config.php write permission error

Post by wournos »

Hello again.

I managed to fix everything last night. Apparently the config file was in the wrong directory. I misunderstood the guide but have now fixed the problem and installed everything.

Thanks for your help though. I really appriciate it. :)

/W
Pierre M.

Re: Getting config.php write permission error [solved]

Post by Pierre M. »

You are welcome :-)
If you think something is confusing in the guide, please tell it so we can improve the documentation. Or you can improve the wiki yourself (with your forum account).
Have fun with CMSms
Pierre M.
Locked

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