[eluser]adamp1[/eluser]
@elitemedia: the Admin_controller class is defined in the MY_Controller.php file. It basically is so you can separate the front end controllers from the backend ones.
The error message generated is saying something about the page library (the one which handles all assets and breadcrumb creation) not being loaded. The page library is loaded in the BackendPro.php, can you check the line
Code:
$this->CI->load->module_library('page','page');
is in that file?
If not can you try adding the line
Code:
$this->load->module_library('page','page');
to the MY_Controller.php Site Controller class to see if the error messages disappears?
I haven't tested BeP with the latest SVN release only 1.6.1 so I cannot be sure nothing has been changed which may break it.
@flokky: You should be able to put the controller in a sub directory of a module, this is so you can separate admin controllers from public ones (Just see my auth module, it has both admin and public controllers. If a controller is called the same as the module you don't need to do to include it in the uri.
Do all the pages in BeP work? Can you access them using the links in the menu?
To do with that bit of code you posted. What it does is when you store an array as a preference in the database it must be serialized. But without performing an unserialize command you don't know where the string is either just a string or a serialized array. So basically it tries to extract an array from the string, if it can it returns the array otherwise it returns the string.
Trying to remove the log error is something I know about. Sadly at the time I don't have a solution for this, but it is something I am thinking about solving, I don't know if its a CI logging issue or what.