FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Problem after running "Forum Consistency"
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Problem after running "Forum Consistency" [message #30084] Thu, 02 February 2006 15:04 Go to next message
weaton is currently offline  weaton   United States
Messages: 5
Registered: April 2005
Karma: 0
Junior Member
Last night I ran the "Forum Consistency" routine and as it usually does when it finished there is a recommendation to click here for SQL check. So I click for the check and I've been unable to get anything to work since. Some of the errors are:

(I'm using version 2.6.12 by the way)

$DISABLED_REASON = "Undergoing maintenance, please come back later."; $FUD_OPT_1 = 1670821027;
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/httpd/vhosts/chfweb.net/httpdocs/index.php on line 70

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/httpd/vhosts/chfweb.net/httpdocs/index.php on line 70

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/httpd/vhosts/chfweb.net/httpdocs/index.php on line 70

Fatal error: SQL Error has occurred, please contact the administrator of the forum and have them review the forum's SQL query log in /home/httpd/vhosts/chfweb.net/httpdocs/index.php on line 58

I've tried restarting MySql but nothing seems to work. I do have other sites on the same server that are working fine so I'm thinking it has something to do with my database. If you can help me I would appreciate it!

William
Re: Problem after running "Forum Consistency" [message #30087 is a reply to message #30084] Fri, 03 February 2006 02:20 Go to previous messageGo to next message
weaton is currently offline  weaton   United States
Messages: 5
Registered: April 2005
Karma: 0
Junior Member
Here is another error that occurred in addition to the other that I posted:

$DISABLED_REASON = "Undergoing maintenance, please come back later."; $FUD_OPT_1 = 1670821027;
Fatal error: Call to undefined function: fud_use() in /home/httpd/vhosts/chfweb.net/httpdocs/adm/consist.php on line 24


Does anyone have a solution that will get the site back up?

Thanks!
William
Re: Problem after running "Forum Consistency" [message #30091 is a reply to message #30087] Fri, 03 February 2006 04:50 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Sounds like GLOBALS.php is not being properly parsed. Make sure you GLOBALS.php starts with <?php

FUDforum Core Developer
Re: Problem after running "Forum Consistency" [message #30092 is a reply to message #30091] Fri, 03 February 2006 13:05 Go to previous messageGo to next message
weaton is currently offline  weaton   United States
Messages: 5
Registered: April 2005
Karma: 0
Junior Member
It appears that GLOBALS.php has been wiped out. All but this:

$DISABLED REASON ="Undergoing maintenance please come back later".
$FUD_OPT_1 =1670821027

So is there anything to do that will recover?

Thank you so much for your answer!

William
Re: Problem after running "Forum Consistency" [message #30100 is a reply to message #30091] Sat, 04 February 2006 09:55 Go to previous messageGo to next message
weaton is currently offline  weaton   United States
Messages: 5
Registered: April 2005
Karma: 0
Junior Member
One more error that may help in diagosing this problem:

$DISABLED_REASON = "Undergoing maintenance, please come back later."; $FUD_OPT_1 = 1670821027;
Fatal error: Call to undefined function: fud_use() in /home/httpd/vhosts/chfweb.net/httpdocs/adm/admlock.php on line 14

I also remembers something about a "FILE_LOCK" somewhere.

Can anyone help me, I know I must sound like an idiot but I'll let you in on a secret I not only sound like one I am-- I've got a few tuffs of hair left but its going fast!

William
Re: Problem after running "Forum Consistency" [message #30107 is a reply to message #30092] Sat, 04 February 2006 19:47 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You can can re-create this file by downloading a fresh GLOBALS.php from CVS and editing it to contain all the relavent settings for your install.

FUDforum Core Developer
Re: Problem after running "Forum Consistency" [message #30112 is a reply to message #30107] Sun, 05 February 2006 00:51 Go to previous message
weaton is currently offline  weaton   United States
Messages: 5
Registered: April 2005
Karma: 0
Junior Member
Great! It worked!

I was worried that there might have been a problem with the database as a result but it was fine.

Thank you for your time and for such a great bbs!

William
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Upgrade changed more than the last upgrades
Next Topic: Most users ever online was "more than expected"
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 15:43:21 GMT 2024

Total time taken to generate the page: 0.02293 seconds