Support » Plugins and Hacks » [Plugin: Ad Buttons] geo targeting problem
6 years, 10 months 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 !
6 years, 9 months 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
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.
are you running your site on a sub-domain?
6 years, 8 months ago