Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post FIXED - Error On admin_statistics.php 
 
Hi,

found an error on admin_statistics.php page.

to solve this, do the following

Code: [Download] [Hide] [Select]
#
#-----[ OPEN ]------------------------------------------
#
adm/admin_statistics.php
#
#-----[ DELETE ]------------------------------------------
#
#  arround line 840 this lines are double
#
    $__language = $board_config['default_lang'];

    if (!@file_exists(@realpath($phpbb_root_path . $__stats_config['modules_dir'] . '/' . $__module_name . '/lang_' . $__language . '/lang.' . $phpEx)))
    {
        $__language = 'english';
    }
    include($phpbb_root_path . $__stats_config['modules_dir'] . '/' . $__module_name . '/lang_' . $__language . '/lang.' . $phpEx);

 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Error On admin_statistics.php 
 
My admin_statistics.php has no error and no duplicated code...
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Error On admin_statistics.php 
 
No Luca, you still have

went into ACP -> Statistics -> Statistics Modules -> Edit the Month Statistics (only as example, the error is displayed by all stat modules) and you see the following error:

Quote:

Warning: main(./../includes/stat_modules/forum_index/lang_english/lang.php) [function.main]: failed to open stream: No such file or directory in /web/htdocs/www.icyphoenix.com/home/adm/admin_statistics.php on line 847

Warning: main() [function.include]: Failed opening './../includes/stat_modules/forum_index/lang_english/lang.php' for inclusion (include_path='.:/php/lib/php/') in /web/htdocs/www.icyphoenix.com/home/adm/admin_statistics.php on line 847

 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Error On admin_statistics.php 
 
I should have fixed it...

This is that part of code how should be changed...

Code: [Download] [Hide] [Select]
    $__language = $board_config['default_lang'];

    if (!@file_exists(@realpath($phpbb_root_path . 'language/lang_' . $__language . '/lang_statistics.' . $phpEx)))
    {
        $__language = 'english';
    }

    if (@file_exists(@realpath($phpbb_root_path . 'language/lang_' . $__language . '/lang_statistics.' . $phpEx)))
    {
        include($phpbb_root_path . 'language/lang_' . $__language . '/lang_statistics.' . $phpEx);
    }

    $__language = $board_config['default_lang'];

    if (!@file_exists(@realpath($phpbb_root_path . $__stats_config['modules_dir'] . '/' . $__module_name . '/lang_' . $__language . '/lang.' . $phpEx)))
    {
        $__language = 'english';
    }

    if (@file_exists(@realpath($phpbb_root_path . $__stats_config['modules_dir'] . '/' . $__module_name . '/lang_' . $__language . '/lang.' . $phpEx)))
    {
        include($phpbb_root_path . $__stats_config['modules_dir'] . '/' . $__module_name . '/lang_' . $__language . '/lang.' . $phpEx);
    }

 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Error On admin_statistics.php 
 
ok now it works here on IP ACP also. great.

thx MG
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: FIXED - Error On admin_statistics.php 
 
Great!
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron