Moderator met PHP5
Geplaatst: 09 okt 2005, 07:55
Hallo ,
Zoals ik al gezien heb hebben veel mensen het probleem dat ze geen moderators kunnen maken met PHP5.
Ik zat eerst ook met dat probleem.
Ik weet niet zeker of dit al gepost is ,als dit zo is sorry.
Hier een stukje uit phpBB.com
Bloe
Zoals ik al gezien heb hebben veel mensen het probleem dat ze geen moderators kunnen maken met PHP5.
Ik zat eerst ook met dat probleem.
Ik weet niet zeker of dit al gepost is ,als dit zo is sorry.
Hier een stukje uit phpBB.com
OrigineelMikeTodd schreef:This might just be a bandaid patch... it actually seems to be caused by a bug in php 5.0.3. Open admin/admin_ug_auth.php, and go to line 294. Comment out the following:and replace it with:Code: Selecteer alles
( !isset($auth_access[$forum_id]['auth_mod']) && !empty($change_mod_list[$forum_id]['auth_mod']) )
Apparently, empty() returns false in cases that $change_mod_list[$forum_id]['auth_mod'] is actually set to 1. This took me a while to track down, especially since I have extremely little experience with the phpBB code. Spent about 30 minutes tracking it down and making the fix. >.< Seems to work now though. Good luck getting the same to work for your boards.Code: Selecteer alles
( !isset($auth_access[$forum_id]['auth_mod']) && $change_mod_list[$forum_id]['auth_mod'] )
Bloe