phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Can't Access Adm Panel

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Mixed SEO URL
::  
Author Message
brucey



Joined: 07 Jun 2008
Posts: 34

Can't Access Adm PanelPosted: 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

Can't Access Adm PanelPosted: 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
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14854

Can't Access Adm PanelPosted: Mon Jun 09, 2008 9:21 am    Post subject: Re: Can't Access Adm Panel

brucey wrote:
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..


Yes, the error message suggest that it's the case, make sure you updated all you forum to 3.0.1 Wink

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
brucey



Joined: 07 Jun 2008
Posts: 34

Can't Access Adm PanelPosted: 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
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Mixed SEO URL
Page 1 of 1

Navigation Similar Topics

Jump to: