Have installed the field_default_token module and tested to see that it successfully enables tokens to be inserted as default value in text field.
Tried with [smart_ip:longitude] and [smart_ip:latitude] and received this error:
Undefined index: longitude in smart_ip_tokens() (line 309 of ..\sites\all\modules\smart_ip\smart_ip.module).
Undefined index: latitude in smart_ip_tokens() (line 309 of ..\sites\all\modules\smart_ip\smart_ip.module).
I'm using 7.x-2.2+12-dev
Set up admin w/ IPInfoDB service and Automatic Maxmind binary database update set to No (error-ed when set to Yes).
flushed all caches
ran cron
'tried an IP lookup on my own IP just to see if the DB was accessible. Successful.
Now, after all this monkeying around, I cannot regenerate the errors. But, the tokens aren't working i.e. they are replaced w/ blank text.
Comments
Comment #1
arpeggio commentedI have tested the Smart IP tokens [smart_ip:longitude] and [smart_ip:latitude] and they are working. Also I did not encountered "Undefined index" errors.