Menu

#1447 "Maximum page view rate" not function as expect

v4.0.2
open
nobody
None
5
2008-11-17
2007-07-04
No

When I set the "Maximum page view rate" configuration setting to anything other than zero, say "250 page views in 60 seconds", I get quite a few messages in the system log:
Max pageview counter reset: max reached was 1

Occasionally it is set to 2. This is set from function CheckPageViews (about line 2750) in includes/functions.php. This happens for a single page view from what I can tell.

I understand that it is providing information as to what the count is for every time it checks. However, it really does not make sense to me to display those messages and fill up the log. I really could see missing an important message amongst all the frivolous entries.

It seems to me that it would be nice to set a threshhold. This would allow what we see now (0%), turn it off (100%), or somewhere in between.

Discussion

  • Thomas_Lerman

    Thomas_Lerman - 2007-07-04

    Logged In: YES
    user_id=1836335
    Originator: YES

    For now, I disabled this message by adding the false in the if statement about line 2958, function CheckPageViews, file include/functions.php:
    if (isset($_SESSION["pageviews"]) && false) {

     
  • Gerry Kroll

    Gerry Kroll - 2007-07-07

    Logged In: YES
    user_id=1198414
    Originator: NO

    In what vesion of PhpGedView do you see this?

     
  • Thomas_Lerman

    Thomas_Lerman - 2007-07-07

    Logged In: YES
    user_id=1836335
    Originator: YES

    The current stable version is what I downloaded: phpGedView-4.0.2-all

     
  • KosherJava

    KosherJava - 2007-08-08

    Logged In: YES
    user_id=634811
    Originator: NO

    Does this still happen in 4.1?

     
  • KosherJava

    KosherJava - 2007-08-13

    Logged In: YES
    user_id=634811
    Originator: NO

    ?

     
  • Thomas_Lerman

    Thomas_Lerman - 2007-08-16

    Logged In: YES
    user_id=1836335
    Originator: YES

    yes (sorry, I somehow missed the posting)

     
  • KosherJava

    KosherJava - 2007-08-16

    Logged In: YES
    user_id=634811
    Originator: NO

    moving to 4.1

     
  • Greg Roach

    Greg Roach - 2008-11-17
    • milestone: --> v4.0.2
     

Log in to post a comment.