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


Posts: 946
Joined: Jan 2010
Reputation: 15
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
Guru
Premium User


Posts: 123
Joined: Mar 2010
Reputation: 0
Post: #2
RE: Fix 'Unknown Location' error
Well. No comments. Therfor I say.
Thank you man! You are the best!
Really looking for a fix of this.
03-30-2011, 12:21 AM
junaidpk
Junior Member


Posts: 46
Joined: Jul 2011
Reputation: 0
Post: #3
RE: Fix 'Unknown Location' error
This was a problem for me when I added Game Section but I got a tut there at GS community forum which solved that for me.
Anyway, thanks for this
07-07-2011, 05:21 PM
Cyb3rSnake
Junior Member


Posts: 28
Joined: Jul 2011
Reputation: 0
Post: #4
RE: Fix 'Unknown Location' error
thanks i had this problem =)
07-17-2011, 03:14 AM
fma965
Member


Posts: 78
Joined: Jul 2011
Reputation: 0
Post: #5
RE: Fix 'Unknown Location' error
thanks although never had this problem it may come in usefull
08-01-2011, 01:05 AM
 




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