2006-12-04, 12:17 PM
This is continuation of:
http://community.mybboard.net/showthread.php?tid=12828
because problem still exists.
MyBB 1.2.2, PHP 5.2.0 (with Suhosin patch)
Themes:
User goes to User CP->Edit options and:
Line 2726 is:
To quick-solve this issue I have just commented that line .
http://community.mybboard.net/showthread.php?tid=12828
because problem still exists.
MyBB 1.2.2, PHP 5.2.0 (with Suhosin patch)
Themes:
MyBB Master Style
Niebieski (31 Users)
Niebieski - małe litery (3 Users)
PC Format (15 Users) (Default)
PC Format - małe litery (1 Users)
User goes to User CP->Edit options and:
[Mon Dec 4 12:19:51 2006] [error] PHP Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 852195 bytes) in forum/inc/functions.php on line 2726
Errors come from infinite recursion.Line 2726 is:
build_theme_select($name, $selected, $theme['tid'], $depthit, $usergroup_override);
in function build_theme_select: // Show theme if allowed, or if override is on
if($is_allowed || $theme['allowedgroups'] == "all" || $usergroup_override == 1)
{
if($theme['tid'] == $selected)
{
$sel = " selected=\"selected\"";
}
if($theme['pid'] != 0)
{
$themeselect .= "<option value=\"".$theme['tid']."\"$sel>".$depth.$theme['name']."</option>";
$depthit = $depth."--";
}
if(array_key_exists($theme['tid'], $tcache))
{
build_theme_select($name, $selected, $theme['tid'], $depthit, $usergroup_override);
}
}
To quick-solve this issue I have just commented that line .