I've installed the STM mobile tracker. I've bought the GeoIP from Max mind and added GeoIPOrg.dat after the installation to "3rd-parties/geoip/". However when I direct link my campaign I get the following error:
"Fatal error: Call to undefined function mb_internal_encoding() in /home/xxxxxxxx/public_html/tracker/3rd-parties/geoip/geoip.inc on line 620"
Any suggestions on how to fix this?
Hey
Hope this helps: http://stackoverflow.com/questions/1...ncoding-method
This is the function which is not defined:
// workaround php's broken substr, strpos, etc handling with
// mbstring.func_overload and mbstring.internal_encoding
$enc = mb_internal_encoding();
mb_internal_encoding('ISO-8859-1');
$org_buf = substr($org_buf, 0, strpos($org_buf, "\0"));
mb_internal_encoding($enc);
return $org_buf;
}
You need to install mbstring.
mbstring is a non-default extension. This means it is not enabled by default. You must explicitly enable the module with the configure option.
If you are using CentOS run this command :
yum install php-mbstring
Ok I got it fixed but I have a new error now:
Fatal error: Uncaught exception 'WURFL_Xml_PersistenceProvider_Exception' with message 'The PHP extension memcache must be installed and loaded in order to use the Memcached.' in /home/xxxxxxxx/public_html/tracker/3rd-parties/wurfl/WURFL/Storage/Memcache.php:102 Stack trace: #0 /home/xxxxxxxx/public_html/tracker/3rd-parties/wurfl/WURFL/Storage/Memcache.php(57): WURFL_Storage_Memcache->_ensureModuleExistence() #1 /home/xxxxxxxx/public_html/tracker/3rd-parties/wurfl/WURFL/Storage/Memcache.php(43): WURFL_Storage_Memcache->initialize() #2 /home/xxxxxxxx/public_html/tracker/3rd-parties/wurfl/WURFL/Storage/Factory.php(43): WURFL_Storage_Memcache->__construct('host=localhost,...') #3 /home/xxxxxxxx/public_html/tracker/3rd-parties/wurfl/WURFL/WURFLManagerFactory.php(152): WURFL_Storage_Factory::create(Array) #4 /home/xxxxxxxx/public_html/tracker/3rd-parties/wurfl/WURFL/WURFLManagerFactory.php(120): WURFL_WURFLManagerFactory::cacheProvider(Array) #5 /home/xxxxxxxx/public_html/tracker/3rd-parties/wurfl/WURFL/WURFLManagerFactory.php in /home/xxxxxxxx/public_html/tracker/3rd-parties/wurfl/WURFL/Storage/Memcache.php on line 102
Basically you need the php extension memcached installed. It's a requirement for the tracker to work.
Yeah thats what I thought, I'll contact the host again.
I ran into a few more hurdle but I got it to work finally 
Excellent!