JerseyG Posted January 7, 2012 Share Posted January 7, 2012 (edited) Hi There is a thread already running on this error, opened in June 2011, which has not been assisted so I presume this error is not common. Or no one has an answer. Can anyone assist, and I am asking the programmers here if they are looking at the forums, in pointing out the criteria that enables Geolocation by IP address to work. Is it looking at the country code or a PHP entry? Or multiple items? This is not urgent as I am using a work around, however it would tidy up my site and help me as it grows. Thank you all in advance. G Edited August 25, 2012 by JerseyG (see edit history) Link to comment Share on other sites More sharing options...
JerseyG Posted August 25, 2012 Author Share Posted August 25, 2012 (edited) Hi I see there has been no reply on this problem. But I thought I would look at this again and I have the error message:- PHP Fatal error: Call to undefined function mb_internal_encoding() in C:\inetpub\tools\geoip\geoipcity.inc on line 126 Can anyone throw some light on this please. G Edited August 25, 2012 by JerseyG (see edit history) Link to comment Share on other sites More sharing options...
Bazze Posted August 25, 2012 Share Posted August 25, 2012 (edited) Hi I see there has been no reply on this problem. But I thought I would look at this again and I have the error message:- PHP Fatal error: Call to undefined function mb_internal_encoding() in C:\inetpub\tools\geoip\geoipcity.inc on line 126 Can anyone throw some light on this please. G What PHP version are you using? Make sure you have the php_mbstring extension loaded. Edited August 25, 2012 by Bazze (see edit history) 1 Link to comment Share on other sites More sharing options...
JerseyG Posted August 25, 2012 Author Share Posted August 25, 2012 Hi Bazze Thanks for your prompt reply, and quick fix! The php_mbstring extension was still commented out. Now loading and Geolocation is working. Again thanks for your help. G Link to comment Share on other sites More sharing options...
fixgear Posted March 25, 2013 Share Posted March 25, 2013 hey all. sorry, don't mean to double post since i just posted this on the other thread but this error is killing me. where do i find that string to uncomment it out? i only found an mbstring reference in the geoipcity.inc as you said above. i am not a programmer, when i remove the // to activate it, should it look like this... 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'); i have done so but my front end still shows internal server error 500 can someone please heeeeelp!!! thanks, jeremy... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now