Closed (fixed)
Project:
IP to Country
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2009 at 17:06 UTC
Updated:
30 Sep 2009 at 08:07 UTC
Today i updated to the newest version, but something is missing:
Call to undefined function theme_ip2cc_flag()
i used it like this:
$country = module_invoke('ip2cc', 'get_country', $server['b']['ip']);
...
$result = theme_ip2cc_flag($country, '');
Comments
Comment #1
mrfelton commentedHmm... those functions are now part of the ip2cc_node module. Did you run update.php? Did you install the Country Icons module as mentioned when you run update.php? Did you re-enable ip2cc_node after installing the Country Icons module?
Comment #2
XerraX commentedehm... no i didnt see any instructions, i will check that tomorrow and report back then
Comment #3
XerraX commentedSeems to be working. Thanks.