Problem re-opening FUDforum after maintenance [message #36030] |
Wed, 28 February 2007 23:51 |
sommer
Messages: 21 Registered: December 2005 Location: Denmark
Karma: 0
|
Junior Member |
|
|
Hi!
I'm running FUDforum as part of eGroupWare and I'm very satisfied with it. But today I ran into some problems. When trying to solve some permission issues I closed the user access to the FUDforum inside eGroupWare and now I can't re-open it.
When I click the FUDforum icon in eGroupWare a custom message to the users is displayed along with the "Administrators can login here" message. Thats fine but when I click "here" I get a blank browser-screen. So I can't re-open the forum!
As I need to re-open the forum quickly I would like to know wether I can re-open the forum directly in the MySQL database and how to do it?
Thanks,
Henrik
|
|
|
|
|
|
Re: Problem re-opening FUDforum after maintenance [message #36129 is a reply to message #36062] |
Tue, 06 March 2007 19:41 |
sommer
Messages: 21 Registered: December 2005 Location: Denmark
Karma: 0
|
Junior Member |
|
|
Yes I do. Which directory should the Globals.php be located in?
My Globals.php is located in egroupware/fudforum/setup/base/include/GLOBALS.php
Now, after trying to enable the forum it suddenly just gives me a blank screen when trying to open the forum in egroupware instead of the message that the forum is down for maintenance. What am I doing wrong?
/Henrik
[Updated on: Tue, 20 March 2007 19:05] Report message to a moderator
|
|
|
Re: Problem re-opening FUDforum after maintenance [message #36134 is a reply to message #36129] |
Wed, 07 March 2007 00:06 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
It sounds like you've introduced a parse error into GLOBALS.php when you've edited the file. If you do php -l GLOBALS.php on the command line it should be able to tell you where the error is.
FUDforum Core Developer
|
|
|
|
|
|
|
|
Re: Problem re-opening FUDforum after maintenance [message #36342 is a reply to message #36299] |
Sun, 18 March 2007 17:40 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You can find out the location of the file by making a phpinfo script
<?php phpinfo(); ?>
And then looking for the value of the error_log INI setting that it shown on the page.
FUDforum Core Developer
|
|
|
Re: Problem re-opening FUDforum after maintenance [message #36379 is a reply to message #36342] |
Tue, 20 March 2007 14:30 |
sommer
Messages: 21 Registered: December 2005 Location: Denmark
Karma: 0
|
Junior Member |
|
|
Ok, there was no error-log file defined in my php.ini so I had to create one and restart the server to make php write errors to the new error-log file. Then I tried to open eGroupWare and then the internal FudForum which gave me this error in the error-log:
Quote: | [20-Mar-2007 15:23:21] PHP Warning: fud_egw(/Library/WebServer/Documents/egroupware/fudforum/../../header.inc.p hp) [<a href='function.fud-egw'>function.fud-egw</a>]: failed to open stream: No such file or directory in /Library/WebServer/Documents/egroupware/fudforum/setup/base/include/core.in c on line 210
[20-Mar-2007 15:23:21] PHP Fatal error: fud_egw() [<a href='function.require'>function.require</a>]: Failed opening required '/Library/WebServer/Documents/egroupware/fudforum/../../header.inc.php' (include_path='.:/usr/local/php5/lib/php') in /Library/WebServer/Documents/egroupware/fudforum/setup/base/include/core.in c on line 210
|
I hope this makes sense to you?
Henrik
[Updated on: Tue, 20 March 2007 16:09] Report message to a moderator
|
|
|
|
|
Re: Problem re-opening FUDforum after maintenance [message #36406 is a reply to message #36384] |
Wed, 21 March 2007 14:45 |
sommer
Messages: 21 Registered: December 2005 Location: Denmark
Karma: 0
|
Junior Member |
|
|
There was a parse error in line 234 due to an error in one of the paths in GLOBALS.php which I have created from scratch since the break down earlier this month. The forum now works fine again
That makes me very happy! - only thing though: My eGroupWare admin user cannot access the FudForum Admin Panel. The Admin Panel links in the left margin are simply not there. What can I do to fix that problem?
Thanks!
Henrik
[Updated on: Wed, 21 March 2007 14:57] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: Problem re-opening FUDforum after maintenance [message #40058 is a reply to message #36562] |
Tue, 08 January 2008 20:28 |
sommer
Messages: 21 Registered: December 2005 Location: Denmark
Karma: 0
|
Junior Member |
|
|
Hi,
It has been long 9 months since I last had a look at this problem. Was hired by another company hence I didn't have time to search for the error.
I have found out that when logged in to eGroupWare with admin rights and
- clicking the "Admin" and
- scrolling down to and clicking the "Site configuration" link associated to the FUDforum I get a blank screen.
I have opened the php-error log which shows the following error-lines:
[Tue Jan 08 20:29:22 2008] [error] [client 87.57.xxx.xxx] PHP Notice: Undefined index: is_post in /srv/www/vhosts/playitsound.dk/httpdocs/egroupware/fudforum/setup/base/incl ude/theme/default/users.inc on line 628, referer: http://www.domain.dk/egroupware/admin/index.php
[Tue Jan 08 20:29:22 2008] [error] [client 87.57.xxx.xxx] PHP Notice: Undefined index: is_aol in /srv/www/vhosts/playitsound.dk/httpdocs/egroupware/fudforum/setup/base/incl ude/theme/default/users.inc on line 628, referer: http://www.domain.dk/egroupware/admin/index.php
This is the content of the lines 628 through 634:
if ($GLOBALS['is_post'] || $GLOBALS['is_aol'] || $u->id > 1) {
header("Cache-Control: no-store, private, must-revalidate, proxy-revalidate, post-check=0, pre-check=0, max-age=0, s-maxage=0");
if (!$GLOBALS['is_aol']) { /* these headers cause troubles for AOL browser (amazing POS) */
header("Expires: Mon, 21 Jan 1980 06:01:01 GMT");
header("Pragma: no-cache");
}
}
I know that the problem most likely derives from an error somewhere earlier in the proces of opening the admin-panel.
I still haven't figured out how to solve this problem and I sincerely hope someone is able to help me.
Thank you!
Henrik
[Updated on: Tue, 08 January 2008 20:30] Report message to a moderator
|
|
|