+ Reply to Thread
Results 1 to 4 of 4

Thread: error.log flooding after update

  1. #1
    Join Date
    Nov 2009
    Location
    Vlaardingen, NL
    Posts
    3

    Default error.log flooding after update

    After an update from a very old version to the current, my Apache error.log is flooding with messages like this:

    Code:
    [Sat Nov 07 10:17:34 2009] [error] [client 94.208.182.45] PHP Notice: Undefined index: whitelist_user_agents in <removed>/plugins/system/badbehaviour/whitelist.inc.php on line 5, referer: http://www.divesportvlaardingen.nl/agenda/diveteam/details/114-live-aboard-2010.html
    [Sat Nov 07 10:17:34 2009] [error] [client 94.208.182.45] PHP Notice: Undefined index: request_uri in <removed>/plugins/system/badbehaviour/whitelist.inc.php on line 22, referer: http://www.divesportvlaardingen.nl/agenda/diveteam/details/114-live-aboard-2010.html
    Is anyone else having this?

  2. #2
    Join Date
    Nov 2009
    Location
    Vlaardingen, NL
    Posts
    3

    Default Re: error.log flooding after update

    I found the problem, it's a bit related to the previous post.

    In whitelist.inc.php

    Change line 5 from
    PHP Code:
    $bb2_whitelist_user_agents $settings['whitelist_user_agents']; 
    to
    PHP Code:
    $bb2_whitelist_user_agents $settings['whitelist_user_agent']; 
    Change line 22 from
    PHP Code:
    $request_uri substr($package['request_uri'], 0strpos($settings['request_uri'], "?")); 
    to
    PHP Code:
    $request_uri substr($package['request_uri'], 0strpos($package['request_uri'], "?")); 

  3. #3
    Join Date
    May 2006
    Location
    Nijmegen, The Netherlands
    Posts
    1,004

    Default Re: error.log flooding after update

    Hi,

    Thanks for cacthing this, typo is fixed in svn.
    I will release after I found another bug.

    kind regards,
    Michiel

  4. #4
    Join Date
    Jul 2010
    Posts
    39

    Default Re: error.log flooding after update

    Hi,

    It good and helpful to more


    regards


    phe9oxis

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts