BF2statistics 2.1.0a - problem ASP

Discussion in 'BF2Statistics discussion' started by Pobeg, Feb 23, 2013.

  1. Pobeg

    Pobeg New Member

    Hello. When i go to link ASP, i get error:" Notice: Undefined variable: ip in /usr/local/www/stats/bf2/ASP/system/core/Auth.php on line 153 ". My IP added $admin_hosts.

    Help me please. Thank's.
     
  2. Wilson212

    Wilson212 Administrator Staff Member

    Fixed. I will have this problem fixed in version 2.1.1 :)

    Until then, just replace line 153 in that file with:

    self::$clientIp = $ip_add;
     
  3. Pobeg

    Pobeg New Member

    Thank you. But I have the following problem when i moved the files to python/bf2 my gameserver doesn't start. I think that the error in file __init__.py, because with the original file gameserver is started.
     
  4. Wilson212

    Wilson212 Administrator Staff Member

    Can you post your Python error log?

    "python/bf2/logs/bf2game_{date}.log"
     
  5. Pobeg

    Pobeg New Member

    Log file was created bf2game_20130224.log, but for some reason it is empty.
     
  6. Wilson212

    Wilson212 Administrator Staff Member

    Make sure you have "debug_enable" set to "1" in the BF2StatisticsConfig.py
     
  7. Pobeg

    Pobeg New Member

    Ok, error disappeared, the gameserver is running. It was in system configuration CentOS. Thank's.
     

Share This Page