WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Ad Buttons] geo targeting problem (6 posts)

  1. lagunas
    Member
    Posted 4 years ago #

    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/

  2. lagunas
    Member
    Posted 4 years ago #

    anyone?

  3. mindnl
    Member
    Posted 4 years ago #

    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

  4. lagunas
    Member
    Posted 4 years ago #

    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.

  5. mindnl
    Member
    Posted 4 years ago #

    are you running your site on a sub-domain?

  6. lagunas
    Member
    Posted 4 years ago #

    nope

Topic Closed

This topic has been closed to new replies.

About this Topic