I just found a bug in functions_user.php. When I try to remove dead users from my forum (search all, that registered year ago and have zero post count, and visited more than half-year ago), select remove all... and just a couple removed and I get a blank page.
In apache error log I found next string:
Code: ›
PHP Fatal error: Cannot redeclare class g2helper in /home/.../httpdocs/forum/g2helper.php on line 23, referer: http://.../forum/adm/index.php?i=prune&sid=_some_SID_&mode=users
I found, that function user_delete (in functions_user.php, after MOD 1.0.1a) have next code:
Code: › // Delete user in Gallery
require($phpbb_root_path . 'g2helper.' . $phpEx);
$g2h = new g2helper();
$g2h->deleteUser($user_id);
When you delete one user - it's ok, when more than one.. there a loop, that includes g2helper.php more and more... so, I changed call to
Code: › require_once($phpbb_root_path . 'g2helper.' . $phpEx);
so all works properly now.