NukeXchange Network

          

NukeZone Hosting - Fast, Affordable and Dependable
Nuke Fixes · NukeForums · NukeZone Hosting · NukeUnited · Nuke Sites · Nuke Skins · NukeLance
Nuke Resources
 :: Home  :: Downloads  :: Your Account  :: Forums  :: Advertise :: 
Login or Register
Main Menu
General
 Main
 AvantGo
 Banner_Clients
 cfaq
 Donations
 Downloads
 Forums
 Members_List
 Private_Messages
 Search
 Stories_Archive
 Submit_News
 Surveys
 Topics
 Web_Links
 Your_Account

Your Account
 Login
 Register
 Lost Pass

Modules
Quick Links
· CMS Focus
· Domain Names
. Game Quest
· Learning Linux
. MateMaker
· NukeFixes
· NukeForums
· NukeLance
· Nuke Sites
· Nuke Skins
· NukeZone Hosting
. SearchDevil
Other Options

Download Resources
· Nuke Downloads
· Add a Link
· New Files
· Top Rated
· Most Popular

Web Site Resources
· Nuke Sites
· Add A Site
· New Sites
· Top Rated
· Most Popular

Support
· NukeZone Hosting
· NukeSkins.com
· NukeForums.com
· phpnuke.org
· NukeFixes.com
Information
NukeForums
·PHPNuke 8 security worries
·PHP-Nuke SQL Injection Vulnerability Fix
·decompressing EN-Book-Nuke.tar.tar
·How to allow spaces/gaps/"-" in allowed usernames
·How to Setup PHPNUKE on win2k
·cannot save changes
·voting?
·Nuke forum picture problem
·How to change smtp port on wampserver and windows
·yet another 301 redirect problem

read more...
Top10 Links
· 1: Nuke Forums
· 2: PHPNukeFiles
· 3: NukeSkins
· 4: Nuke Templates
· 5: EcomJunk
· 6: MDesign
· 7: Windows Installation: PHP
· 8: FLASH-FOR-NUKE
· 9: Dezina
· 10: Global Dream News Sharing Portal!
Site Visitors
User Login:

Nickname:
Password:
Security Code: Security Code
Type Security Code Here:

Members List Membership:
Latest: tones
Today: 1
Yesterday: 2
Overall: 15105

Visitation:
Guests: 596
Members: 1
Total: 597


You are Anonymous user. You can register for free by clicking here
Sponsor Links
Download the Best Archiver in the World
Download the Best Archiver in the World

NukeResources :: View topic - PHP NUke 8.0 | bbtonuke 2.0.21 : Forums Admin - Page Load
NukeResources Forum Index

NukeResources Forum Index -> Bug Reports -> PHP NUke 8.0 | bbtonuke 2.0.21 : Forums Admin - Page Load
Post new topic  Reply to topic    View previous topic :: View next topic 
PHP NUke 8.0 | bbtonuke 2.0.21 : Forums Admin - Page Load
PostPosted: Fri Oct 20, 2006 4:38 am Reply with quote
LupinOne
Resource Newbie
Resource Newbie
 
Joined: Apr 11, 2005
Posts: 29




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.

Any thoughts?
View user's profile Send private message
PostPosted: Fri Oct 20, 2006 1:53 pm Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1785




Hmm another untested junk feature by FB?
I don't use 8.0 myself. Any way to disable the flood controls?

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
Sorry too many page loads in so little time
PostPosted: Fri Oct 27, 2006 4:22 am Reply with quote
arnoldkrg
Resource Newbie
Resource Newbie
 
Joined: Sep 18, 2004
Posts: 21




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.
View user's profile Send private message
PostPosted: Fri Oct 27, 2006 7:56 am Reply with quote
Cheff88
Resource Seeker
Resource Seeker
 
Joined: Oct 27, 2006
Posts: 1




Hello,

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?
View user's profile Send private message
Re: Sorry too many page loads in so little time
PostPosted: Fri Oct 27, 2006 11:33 am Reply with quote
LupinOne
Resource Newbie
Resource Newbie
 
Joined: Apr 11, 2005
Posts: 29




arnoldkrg wrote:
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. Razz
View user's profile Send private message
PostPosted: Thu Jul 19, 2007 2:04 am Reply with quote
chadrt
Resource Seeker
Resource Seeker
 
Joined: Feb 16, 2006
Posts: 14




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!!!
View user's profile Send private message
PHP NUke 8.0 | bbtonuke 2.0.21 : Forums Admin - Page Load
 NukeResources Forum Index -> Bug Reports
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
All times are GMT - 4 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic     



Powered by phpBB © 2001-2005 phpBB Group.     Theme created by Vjacheslav Trushkin.
There have been 180 unique hit(s) in the past 24 hours.
Forums ©
Nuke Sites Link Directory


Best viewed with a Browser
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2001 - 2007 by NukeResources.com
You can syndicate our news using the file .backend.php or ultramode.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.28 Seconds

:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::