MyBB Community Forums

Full Version: admin permissions help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello. when i go to admin permissions in the admin cp and set them (click update) it says this :

Fatal error: Call to undefined function: arraytobits() in /home/unreal00/public_html/admin/adminoptions.php on line 51


i have just done a clean install so it aint anything ive changed

can anybody help thanks in advance
heh thanks lol
Oh i just read it mabey im too dumb but i cant get it to work
Read chris' post or i should just post it here for you...

Quote:The arraytobits system is no longer used. I removed the function then did a quick search in the files it was used in to remove the call to it. I guess I missed this file.

If you open up functions.php, before the ?> at the end you can add:

function arraytobits($array)
{
return true;
}

It should remove that error and hopefully fix the Admin Permissions.
Basically, open the file inc/functions.php, and at the end of the file BEFORE the ?> add in:

function arraytobits($array)
{
return true;
}
okay thanks done it.