Topic: Unable to fetch category/forum list
I enabled debug mode and got this:
File: /home/uhmodsco/public_html/forums/admin_forums.php
Line: 460
PunBB reported: Unable to fetch category/forum list
Database reported: Got error 12 from table handler (Errno: 1030)
These are lines 455 through 470 in my admin_forums.php file.
<?php
$tabindex_count = 4;
// Display all the categories and forums
$result = $db->query('SELECT c.id AS cid, c.cat_name, f.id AS fid, f.forum_name, f.disp_position FROM '.$db->prefix.'categories AS c INNER JOIN '.$db->prefix.'forums AS f ON c.id=f.cat_id ORDER BY c.disp_position, c.id, f.disp_position') or error('Unable to fetch category/forum list', __FILE__, __LINE__, $db->error());
$cur_category = 0;
while ($cur_forum = $db->fetch_assoc($result))
{
if ($cur_forum['cid'] != $cur_category) // A new category since last iteration?
{
if ($cur_category != 0)
echo "\t\t\t\t\t\t\t".'</table>'."\n\t\t\t\t\t\t".'</div>'."\n\t\t\t\t\t".'</fieldset>'."\n\t\t\t\t".'</div>'."\n";
?>
Any help guys?