Jump to content

./site/config.php must be writable?


Godfrey
 Share

Recommended Posts

I'm trying to install another copy of processwire, this time I replaced some files with the BootWire files.

Since my FTP was being incapable (extremely slow and not uploading all files correctly) I wiped everything then used cPanel to upload a zipfile instead. 


After extracting, on the first install page I'm getting  "Error: File ./site/config.php must be writable. Please adjust the permissions before continuing."

What file should I change permissions for to fix this? I've played around with the file permissiosn for multiple folders and files but with no luck. 

What permission should I set the file? Will 755 do? 

Thanks for any help!

Link to comment
Share on other sites

Hi ShaltNot

Not too sure if this will help you, but I was arrangin some files whilst setting up a site and I got the same error you did!!

I was spending ages trying to figure out what the f*** was wrong with the files permission.

It turns out I put config.php in the wrong place!!! In other words... the error could also mean ProcessWire can't find the file.

So check to make sure that config.php is actually where its supposed to be !!!

Ryan... if your reading this, maybe you could revise the error message to indicate that in addition to wrong permissions, you should check it's located in the right place.

Cheers

  • Like 1
Link to comment
Share on other sites

Oh, huh. So where was it in the wrong place? I'm actually not sure which file is ./site/config.php ... because in my site folder there is no config.php.... Is that the problem in itself? I found a config.php and index.config.php in my "wire" folder, but not my "site" folder. 

Link to comment
Share on other sites

Oh, it was the case that config.php did not exist in my site folder. I have no idea how that file disappeared in the process of extracting and uploading. But basically I extracted the original processwire zip file again and found that there did exist a config.php in the site folder. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...