Latest News:
Latest Mods: Latest Tutorials:


 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
General Tutorial Fix 'Unknown Location' error
Author Message
Conor Calby
Posting Freak

Support

Posts: 1,014
Joined: Jan 2010
Reputation: 13
Post: #1
Fix 'Unknown Location' error
This use to happen alot but I don't see it so much anymore, so I assume it doesn't apply to 1.6, however I may very well be wrong.

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:
PHP Code:
$filename my_substr($split_loc[0], -my_strpos(strrev($split_loc[0]), "/")); 
and replace that with
PHP Code:
$filename substr($split_loc[0], -my_strpos(strrev($split_loc[0]), "/")); 

Regards,

MyBBSource Support Team Member - MyBBSource Tutorials Team Leader
Official MyBB Support Tech
If I helped, why not rep me
02-24-2011, 11:25 PM


 




User(s) browsing this thread: 2 Guest(s)