Welcome Guest[3.144.29.213], connected from
Problems with settings.php file.
|
Post: #1
|
|||
|
|||
Problems with settings.php file.
Anytime I wanted to change a setting at the configuration this morning it said that settings.php file is not writtable. It was driving me nuts. After contacting my host they fixed it by chmodding it or something. The tech support told me to check the file if it is writable next time with an if statement. How can I do that?
|
|||
12-08-2009, 09:18 PM
(This post was last modified: 12-08-2009 09:18 PM by skiilz.)
Post: #2
|
|||
|
|||
RE: Problems with settings.php file.
If you are using FileZilla to upload your files to your host you just need to go to the file you want to CHMOD and right lcick it and select Permissions.
CHMOD FILES: 666: ./inc/config.php 666: ./inc/settings.php 777: ./cache/ 777: ./cache/themes/ 777: ./uploads/ 777: ./uploads/avatars/ 777: ./admin/backups/ 666: ./inc/languages/english/*all files* 666: ./inc/languages/english/admin/*all files* |
|||
Post: #3
|
|||
|
|||
RE: Problems with settings.php file.
Also in addition to check with the if conditional, use this code:
PHP Code:[Highlight] if(!is_writable("../inc/settings.php")) You can check for any file. Only thing you gotta do is enter the right path for the file at the if statement. |
|||
Post: #4
|
|||
|
|||
RE: Problems with settings.php file.
Thanx man
|
|||
Post: #5
|
|||
|
|||
RE: Problems with settings.php file.
No problem, glad to have been of help.
|
|||
Post: #6
|
|||
|
|||
RE: Problems with settings.php file.
No problem mate.
We are here to help you. |
|||
0 member(s) viewed this thread in the last 365 days :
|
« Next Oldest | Next Newest »
|
WWWHostingServer.com
|
||||||
|
||||||
|
Possibly Related Threads... | |||||
Thread: | Author | Replies: | Views: | Last Post | |
Problems with settings.php file. | mini | 1 | 1,254 |
08-20-2010 08:49 AM Last Post: exdiogene |
|
|
|
|
Powered By MyBB, © 2002-2024 MyBB Group. Golden Crown - Designed and Published by ghazal & exdiogene of MyBBCodes. Hosting provided by WWWHostingServer.com |