Forum Problem - Critical Error

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Forum Problem - Critical Error
Crixal
CZ Newbie
Crixal has been a member for over 17 year's 17 Year Member
Gender: Male
Status: Offline
Joined: Dec 16, 2006
0.00 posts per day
Posts: 8
Points: 0
   
Ok I went to the forum admin panel and I was told that my phpbb forums were outdated. I clicked on the link given and I downloaded the file on the page...preceeded with a successful install and after refreshing my Nuke (v7.9) site I see that it is now a phpBB site. I replaced all the files I could with the old ones and deleted the added mySQL databases but I am still having a problem with my forums. [ I am no expert at anyting, I know less than the basics and I am learning as I go ]

The error I recieve is...

phpBB : Critical Error

Could not query config information

DEBUG MODE

SQL Error : 1146 Table 'ucbattle_nuke1.config' doesn't exist

SELECT * FROM config

Line : 228
File : common.php

Opon opening the common.php file that I downloaded from the phpbb link I got the code around lines 228 is...

Line 211 - 230

$sql = "SELECT *
FROM " . CONFIG_TABLE;
if( !($result = $db->sql_query($sql)) )
{
message_die(CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql);
}

while ( $row = $db->sql_fetchrow($result) )
{
$board_config[$row['config_name']] = $row['config_value'];
}

if (file_exists('install') || file_exists('contrib'))
{
message_die(GENERAL_MESSAGE, 'Please_remove_install_contrib');
}

//
// Show 'Board is disabled' message if needed.
//

The original common.php file I had before the install, and the one that my site is running now looks like...

Lines 224 - 234

$sql = "SELECT *
FROM " . CONFIG_TABLE;
if( !($result = $db->sql_query($sql)) )
{
message_die(CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql);
}

while ( $row = $db->sql_fetchrow($result) )
{
$board_config[$row['config_name']] = $row['config_value'];
}

Please any information on how to fix this would be perfect. Again I am a noob at this stuff and I am learning as I go.



Back to top Reply with quote
#2   re: Forum Problem - Critical Error
Crixal
CZ Newbie
Crixal has been a member for over 17 year's 17 Year Member
Gender: Male
Status: Offline
Joined: Dec 16, 2006
0.00 posts per day
Posts: 8
Points: 0
   
Problem Solved....took awhile tho... LoL



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum