| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
brucey
Joined: 07 Jun 2008 Posts: 34
|
Posted: Sat Jun 07, 2008 5:09 pm Post subject: Can't Access Adm Panel |
|
|
Hi
I used your search but no similar problems so..
I have added all the files and made all the code changes.
I then deleted all cache except .htaccess
I go to phpbb_seo/phpbb_seo_install.php
All steps are ok, but it directs me to log into adm panel I get
Fatal error: Call to undefined function get_formatted_filesize() in /home/bebobox/public_html/forum/includes/acp/acp_main.php on line 337
In acp_main.php is
| Code: | // Get forum statistics
$total_posts = $config['num_posts'];
$total_topics = $config['num_topics'];
$total_users = $config['num_users'];
$total_files = $config['num_files'];
$start_date = $user->format_date($config['board_startdate']);
$boarddays = (time() - $config['board_startdate']) / 86400;
$posts_per_day = sprintf('%.2f', $total_posts / $boarddays);
$topics_per_day = sprintf('%.2f', $total_topics / $boarddays);
$users_per_day = sprintf('%.2f', $total_users / $boarddays);
$files_per_day = sprintf('%.2f', $total_files / $boarddays);
$upload_dir_size = ($config['upload_dir_size'] >= 1048576) ? sprintf('%.2f ' . $user->lang['MB'], ($config['upload_dir_size'] / 1048576)) : (($config['upload_dir_size'] >= 1024) ? sprintf('%.2f ' . $user->lang['KB'], ($config['upload_dir_size'] / 1024)) : sprintf('%.2f ' . $user->lang['BYTES'], $config['upload_dir_size']));
$avatar_dir_size = 0;
if ($avatar_dir = @opendir($phpbb_root_path . $config['avatar_path'])) |
The line above $avatar_dir_size = 0; is line 337
Any ideas?
Thanks |
|
|
| Back to top |
|
 |
|
 |
brucey
Joined: 07 Jun 2008 Posts: 34
|
Posted: Sat Jun 07, 2008 5:44 pm Post subject: Re: Can't Access Adm Panel |
|
|
I think this may be because I do not have the up-to-date version of function.php
Im going to upload the updated version and try again.. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
|
| Back to top |
|
 |
brucey
Joined: 07 Jun 2008 Posts: 34
|
Posted: Tue Jun 10, 2008 12:10 am Post subject: Re: Can't Access Adm Panel |
|
|
| Yeah this did prove to be the case. I uploaded fresh files and its all sorted now. Thanks |
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |