Just did a clean install and when I go to edit the forums I get the following message when I click the forums button on the admin panel:
Sorry, too many page loads in so little time!
It seems that the flood protection is set for an insanely fine trigger. If I refresh the individual frames, then can get the menus to come up, although it seems it takes a few refreshes to make that happen.
If you see this message when trying to open the Forums admin page, it is caused by the new antiflood/dos attack prevention system. This writes the user's ip address and the microtime of the page load to the nuke_antiflood table each time the user loads a page. If there are 3 page loads in 2 seconds, the antiflood dies the script and puts up the "Sorry, too many page loads in so little time" message. Unfortunately, there are 4 page loads to view the Forums admin page. Each frame counts as a page load and they add up to four. So whenever you view the Forums admin page you exceed the limit and the page shuts down with the message. So the page loads criterium is too severe for the Forums admin page. (I cant believe they didnt test this)
Solution. In includes/ipban.php find near the bottom:
Code:
if ($numrow >= 3) {
echo "<br><br><center><b>Sorry, too many page loads in so little time!</b></center>";
die();
}
and change to:
Code:
if ($numrow >= 5) {
echo "<br><br><center><b>Sorry, too many page loads in so little time!</b></center>";
die();
}
This will allow sufficient page loads to view the frames in Forums admin, without disabling the antiflood system altogether.
If you want to disable the flood control system altogether, then find the following lines in includes/ipban.php:
Code:
if ($numrow >= 5) {
echo "<br><br><center><b>Sorry, too many page loads in so little time!</b></center>";
die();
}
I have kinda the same problem. It won' t say too much laods but i jsut get a blank page if i try to go to Forum admin. I made a clean install, installed new phpnuke 8 ANd its not working.. Any help please?
If you see this message when trying to open the Forums admin page, it is caused by the new antiflood/dos attack prevention system. This writes the user's ip address and the microtime of the page load to the nuke_antiflood table each time the user loads a page. If there are 3 page loads in 2 seconds, the antiflood dies the script and puts up the "Sorry, too many page loads in so little time" message. Unfortunately, there are 4 page loads to view the Forums admin page. Each frame counts as a page load and they add up to four. So whenever you view the Forums admin page you exceed the limit and the page shuts down with the message. So the page loads criterium is too severe for the Forums admin page. (I cant believe they didnt test this)
Solution. In includes/ipban.php find near the bottom:
Code:
if ($numrow >= 3) {
echo "<br><br><center><b>Sorry, too many page loads in so little time!</b></center>";
die();
}
and change to:
Code:
if ($numrow >= 5) {
echo "<br><br><center><b>Sorry, too many page loads in so little time!</b></center>";
die();
}
This will allow sufficient page loads to view the frames in Forums admin, without disabling the antiflood system altogether.
If you want to disable the flood control system altogether, then find the following lines in includes/ipban.php:
Code:
if ($numrow >= 5) {
echo "<br><br><center><b>Sorry, too many page loads in so little time!</b></center>";
die();
}
and comment them out or delete.
Great catch! Thanks I'll mod that file and quit banging my head on the desk.
Admin,
This should be a sticky! I spent hours trying to find an answer for this. The forums at the cops site wont let you search and that was the site listed in the copyright line at the bottom.
Thank you to the poster of this it worked perfectly!!!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum