Support » Plugins and Hacks » [Plugin: Ad Buttons] geo targeting problem

  • I have installed the ad buttons plugin (version 2.16), and through the plugin’s settings page I installed ip2nation database (2.1.3).

    If I disable geo targeting, the plugin works perfectly. But when I enable geo targeting, I get the following error message:

    Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in (…)wp-content/plugins/ad-buttons/adbuttons.php on line 98

    I don’t know how to fix this issue, and I really need the geo targeting functionality.

    Has anyone had the same problem?
    Can anyone please help me with this?
    Thanks in advance !

    http://wordpress.org/extend/plugins/ad-buttons/

Viewing 5 replies - 1 through 5 (of 5 total)
  • lagunas

    (@lagunas)

    anyone?

    mindnl

    (@mindnl)

    Check your MySQL tables, the script is looking for a table named “ip2nation” maybe your server has put some prefix in front of the name

    lagunas

    (@lagunas)

    I have just checked my MySQL table names. I have a table named ip2nation, and another table named ip2nationCountries.
    That’s all. No prefixes.
    The plugin also generates the tables wp_ad_buttons and wp_ad_buttons_stats.

    mindnl

    (@mindnl)

    are you running your site on a sub-domain?

    nope

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Ad Buttons] geo targeting problem’ is closed to new replies.