UseBB Community

The official board for UseBB help and discussion

UseBB Community » Help & Support » General Configuration Trouble

General Configuration Trouble

Moderators: Gaia.

Page: 1

Author Post
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.
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.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
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. »
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)?
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
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?
Developer
Registered: Apr 2004
Posts: 2216
Location: Belgium
In your FTP client you can "chmod" files so they are writable.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
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.
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...
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
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. :lol:
Developer
Registered: Apr 2004
Posts: 2216
Location: Belgium
Glad to see it solved. :)
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
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
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.
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!
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).
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
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!

Page: 1

UseBB Community » Help & Support » General Configuration Trouble

UseBB Community is powered by UseBB 1 Forum Software