[eluser]ericsodt[/eluser]
For shits and giggles, put the breadcrumb and breadcrumblist objects in front of 'Pearloader','Dbconnect','site_sentry'. Could it be that one of these three classes are error-ing out, causing the breadcrumblist object to not load correctly?? Just a guess...
Try removing those 3 classes and see if it works without them, if it does, you know there's an issue with something in those classes. As you can see from my demo site and the many of other users that have left comments, my breadcrumbs do work, its just a matter of debugging on your part to find out what is hindering the breadcrumblist object from being instantiated correctly
[quote author="bhakti.thakkar" date="1270810565"]Hello all,
i have downloaded DTE-BreadCrumbs version 1.8 and done as per the instructions. But i am getting this error.
Fatal error: BreadCrumbList::display() [<a href='function.BreadCrumbList-display'>function.BreadCrumbList-display</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "BreadCrumb" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /var/www/CUI_CI/system/application/libraries/Breadcrumblist.php on line 59
In my autoload.php:
Code:
$autoload['libraries'] = array('session','Pearloader','Dbconnect','site_sentry','breadcrumb','breadcrumblist');
$autoload['helper'] = array('url' , 'file');
In config.php
Code:
$config['breadcrumbDelimiter'] = "»";
home controller:
Code:
function test2(){
$bc = array(
'title' => 'Test 2',
'url' => 'home/test2',
'isRoot' => false
);
$this->breadcrumb->setBreadCrumb($bc);
$data = array(
'title' => 'My Title',
'content' => 'home',
'breadcrumbs'=>get_Instance()->breadcrumblist->display()
);
// $this->load->view('products/product_view',$data);
}
2 libraries are there in application/libraries
what could be possible mistake?
Thanks in anticipation[/quote]