1 (edited by Ben-Tx 2005-06-10 20:39)

Topic: Just install my bb : Adminstration section problem

Hi,
I've just installed my first PunBB, I fallowed the whole steps, but when i'm login in, and i try to entrer in the administration section, this is what ive got neutral

------------
File: /var/www/free.fr/7/9/ffgu/forum/admin_index.php
Line: 120

PunBB reported: Unable to fetch table status

Database reported: Access denied for user: 'ffgu@212.27.40.200' to database 'FFGU' (Errno: 1044)
-------------

hmm
Thanks for your support.

Re: Just install my bb : Adminstration section problem

help, please hmm

Re: Just install my bb : Adminstration section problem

open admin_index.php

and delete

// Collect some additional info about MySQL
if ($db_type == 'mysql' || $db_type == 'mysqli')
{
    $db_version = 'MySQL '.$db_version;

    // Calculate total db size/row count
    $result = $db->query('SHOW TABLE STATUS FROM `'.$db_name.'`') or error('Unable to fetch table status', __FILE__, __LINE__, $db->error());

    $total_records = $total_size = 0;
    while ($status = $db->fetch_assoc($result))
    {
        $total_records += $status['Rows'];
        $total_size += $status['Data_length'] + $status['Index_length'];
    }

    $total_size = $total_size / 1024;

    if ($total_size > 1024)
        $total_size = round($total_size / 1024, 2).' MB';
    else
        $total_size = round($total_size, 2).' KB';
}

see if that helps

Re: Just install my bb : Adminstration section problem

It helps, everythings seems to work perfectly, thx smile