Php Notice in sudoku/install/functions_sudoku_stats

форум посвящен дальнейшим разработкам базового мода SUDOKU

Moderator: el_teniente

Php Notice in sudoku/install/functions_sudoku_stats

Postby klopdd on Thu May 17, 2012 2:17 pm

i,



I'm not an expert in phpbb, but i debugged my site and observed that the file ./sudoku/includes/functions_sudoku_stats creates an php Notice on line 331. the vaiable $sudoku_general is not defined and if you defined as an array, then the index 'cache_enabled' does not exist. I used the following definition to avoid the php Notice with debugger:



Code: Select all
$sudoku_general = array("cache_enable" => '');

   if($sudoku_general['cache_enable'])

   {

      $sudoku->write_cache('sudoku_today', $row );

   }

   $db->sql_freeresult($result);

}




The first line is the definition. The notice disappeared now, but i want to ask if this will affect in any way the Sudoku stats.



Thanks a lot.
klopdd
Новобранец
 
Posts: 3
Joined: Thu May 13, 2010 2:11 pm
Gender: Male
Country: Germany

Re: Php Notice in sudoku/install/functions_sudoku_stats

Postby el_teniente on Sat May 19, 2012 7:18 am

o, it won't affect in any way

die hard---live easy
User avatar
el_teniente
Статс-админ
Статс-админ
 
Posts: 4283
Joined: Mon Nov 07, 2005 7:51 pm
Location: Белокаменная
Gender: Male
Country: Russian Federation


Return to Sudoku MOD

Who is online

Users browsing this forum: No registered users and 2 guests


Page generation time 0.06 sec (PHP: 50% - SQL: 50%) - DB queries 27 - Peak memory usage 3.41 MB
cron