| Author |
Post |
|
|
#1 Wed Sep 14, 2005 2:31 pm
|
|
Member
Registered: Sep 2005
Posts: 5
|
Hello. I installed UseBB and everything works. All but the General configuration. When I change the setting using the ACP/General Configuration, and then hit SAVE, I get a new page with the following error:
UseBB General Error
An error was encoutered. We apologize for any inconvenience.
In file functions_admin.php on line 186:
E_WARNING - fopen(./config.php) [function.fopen]: failed to open stream: Permission denied
This error should probably not have occured, so please report it to the webmaster. Thank you for your help.
If you are the webmaster of this board and you believe this is a bug, please send a bug report.
Anyone know what this is and how to fix it?
Thanks.
|
|
|
#2 Wed Sep 14, 2005 4:16 pm
|
|
Developer
Registered: Apr 2004
Posts: 2216
Location: Belgium
|
config.php should be writable by the webserver. Normally UseBB should note you about this, but it seems that PHP recognizes config.php as writable although it isn't.
|
|
|
#3 Wed Sep 14, 2005 8:37 pm
|
|
Member
Registered: Sep 2005
Posts: 5
|
Thanks for the reply. Is there a way to fix this? Is this a problem with my server? All of the other ACP functions work. « Last edit by superr on Wed Sep 14, 2005 8:45 pm. »
|
|
|
#4 Wed Sep 14, 2005 8:44 pm
|
|
Developer
Registered: Apr 2004
Posts: 2216
Location: Belgium
|
I don't know how to fix this, it could be anything. But I suppose just making config.php writable would fix the problem (try chmod 0777)?
|
|
|
#5 Wed Sep 14, 2005 8:50 pm
|
|
Member
Registered: Sep 2005
Posts: 5
|
I am not familliar with "chmod 0777". Is this something I can do to my server or to the php file itself?
|
|
|
#6 Wed Sep 14, 2005 8:54 pm
|
|
Developer
Registered: Apr 2004
Posts: 2216
Location: Belgium
|
In your FTP client you can "chmod" files so they are writable.
|
|
|
#7 Wed Sep 14, 2005 9:01 pm
|
|
Member
Registered: Sep 2005
Posts: 5
|
Okay, thanks for the help. I believe that my host does not support the CHMOD. It is a windows server. I think that is my problem. Thank you for your time.
|
|
|
#8 Wed Sep 14, 2005 11:24 pm
|
|
Developer
Registered: Apr 2004
Posts: 2216
Location: Belgium
|
Sorry to hear that. Maybe you could contact your web host and ask him if it is possible to make .php files writable by PHP applications...
|
|
|
#9 Wed Sep 14, 2005 11:57 pm
|
|
Member
Registered: Sep 2005
Posts: 5
|
I contacted my host, and they were able to make the folder writable. This solved the problem. Thank you very much for all of your time and help. 
|
|
|
#10 Thu Sep 15, 2005 12:32 am
|
|
Developer
Registered: Apr 2004
Posts: 2216
Location: Belgium
|
Glad to see it solved. 
|
|
|
#11 Thu Sep 15, 2005 6:36 am
|
|
Member
Registered: Jul 2005
Posts: 232
Location: Stockholm
|
about chmodding sometimes you set a number like 777 but sometimes there's 9 fields and if someone see this just fill them all.. it's a common problem i've encountered on many forums
|
|
|
#12 Sun Sep 18, 2005 6:15 pm
|
|
Member
Registered: Jul 2005
Posts: 20
Location: London
|
CHMOD ain't supported by hosts. It's the FTP client it self, so you should be fine with CHOMODing, nothing to do with your host.
|
|
|
#13 Sun Sep 18, 2005 6:54 pm
|
|
Member
Registered: Mar 2005
Posts: 196
Location: Hungary
|
o0slowpaul0o wrote CHMOD ain't supported by hosts. It's the FTP client it self, so you should be fine with CHOMODing, nothing to do with your host.
In fact, CHMOD can be disallowed on the server. Some providers do it, and drives people mad when they wanna install a CMS or similar. _______________ Long Live Rock n' Roll!
|
|
|
#14 Sun Sep 18, 2005 6:55 pm
|
|
Developer
Registered: Apr 2004
Posts: 2216
Location: Belgium
|
I will probably make it allow using a non-writable config.php but General configuration in the ACP will be disabled then (or not able to submit the form).
|
|
|
#15 Sun Sep 18, 2005 7:58 pm
|
|
Member
Registered: Mar 2005
Posts: 196
Location: Hungary
|
Dietrich wrote I will probably make it allow using a non-writable config.php but General configuration in the ACP will be disabled then (or not able to submit the form).
I think you should leave it the way it is, because having hosts with such idiot restrictions should not be dealt with in your end. _______________ Long Live Rock n' Roll!
|