MyBB Community Forums

Full Version: Everyone in 'Unknown Location'?? PLEASE READ
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
Thanks dude. It Works xD.
(2009-04-27, 02:15 AM)Ryan Gordon Wrote: [ -> ]Hi everyone,

This is caused from a bug in the MultiByte extension provided on some hosts with PHP . The mb_substr function is performing incorrectly on some versions of the package.

To resolve this issue permanently please talk to your host to upgrade the MultiByte to the latest version available.

To resolve this issue temporarily, or if your host is unable to upgrade, please apply the follow fix:

In inc/functions_online.php find:
$filename = my_substr($split_loc[0], -my_strpos(strrev($split_loc[0]), "/"));

replace with

$filename = substr($split_loc[0], -my_strpos(strrev($split_loc[0]), "/"));

Please note, the temporary patch will not be applied to the official MyBB download or considered a bug in MyBB or fixed in any future maintenance release. It is a bug in the MultiByte PHP extension. We strongly encourage our users to keep their servers up-to-date, or otherwise encourage their hosts to keep their servers up-to-date.

I tried this but it did not worked. Any other ideas?
What's your URL??
Instead of doing this in two thread (don't know why you posted in this thread when you had another one), we'll keep it there.

http://community.mybb.com/thread-83407.html
Pages: 1 2 3 4 5 6 7