Customizing SMF > Modifications and Packages

geoIP (IP to Location)

<< < (10/15) > >>

Spuds:
It will do that when you first install the mod for any users who were already online, that will clear itself as members log in/out etc.

If you are getting that all the time, then it would indicate the database did not install correctly and its not getting a result back so it shows the unknown flag.

FireDitto:
Ah, yes. It's all cleared up now :D

Very spiffy mod. Thanks!

sususmo:

--- Quote from: phantomm on November 07, 2011, 01:57:48 PM ---Interesting, this mod shows that I'm somewhere in middle of the Atlantic :D

anyway, nice mod ;)


--- End quote ---

I too show up in the middle of the atlantic with many others. :(

NDFF:
With SMF 2.0.2, I get the following error
Column count doesn't match value count at row 1
Sources/Subs.php
Line: 2704

And the line is

--- Code: ---                        $smcFunc['db_insert']($do_delete ? 'ignore' : 'replace',
                                '{db_prefix}log_online',
                                array('session' => 'string', 'id_member' => 'int', 'id_spider' => 'int', 'log_time' => 'int', 'ip' => 'raw', 'url' => 'string', 'latitude' => 'float', 'longitude' => 'float', 'country' => 'string', 'city' => 'string', 'cc' => 'string'),
                                array($session_id, $user_info['id'], empty($_SESSION['id_robot']) ? 0 : $_SESSION['id_robot'], time(), 'IFNULL(INET_ATON(\'' . $user_info['ip'] . '\'), 0)', $serialized, $geoIP[0]['latitude'], $geoIP[0]['longitude'], $geoIP[0]['country'], $geoIP[0]['city'], $geoIP[0]['cc']),
                                array('session')
                );

--- End code ---

What is wrong with this and how do I get rid of this error.

Spuds:
It might mean your log_online table was not updated properly ... if you manually installed the mod you need to add the needed cols to the log_online table (as defined in the add_settings.php file in the package)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version