Quick Flag
IP info not inside database (2 posts)

  1. thomasfals
    Posted 4 years ago #

    When echoing the short code or using your example `if(isset($_SERVER['HTTP_X_FORWARD_FOR']))
    $ip = $_SERVER['REMOTE_ADDR'];

    if(($info = quick_flag_get_info($ip)) != FALSE )
    $flag = quick_flag_get_flag($info);
    $flag = 'IP info not inside database.';
    } else
    $flag = 'Quick Flag plugin not installed or not activated.';`

    I get the output: IP info not inside database. I have taken a look at the database and all the country and IP info is there. I have tried accessing the site via different IP addresses and country locations (remote servers and VPN) and nothing seems to work.


  2. Marko-M
    Plugin Author

    Posted 4 years ago #

    Hello thanks for your report. Quick Flag is using ip-countryside database and even though it is very accurate it doesn't have info about every single IP address out there. 'IP info not inside database.' means that your current IP address is not amongst 270 000 IP address ranges inside database. You can test this database on ip-countryside demo page or at my demo sites for plugins that use Quick Flag 1, 2. If all these demo sites can detect your country and your Quick Flag install spits 'IP info not inside database.' then this is Quick Flag bug, please report back and I'll do my best to fix it. Also some people have tested on their LAN, have to mention that Quick Flag only works on Internet not on local networks.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Quick Flag
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic