How to fix this error?
I attached the database in the attachment (giondacms).
Code:
[b]Fatal error[/b]: Call to undefined method Cpages::_example_output() in [b]C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-www\CompanyProfileCI\application\controllers\cpages.php[/b] on line [b]101[/b]
A PHP Error was encountered
Severity: Error
Message: Call to undefined method Cpages::_example_output()
Filename: controllers/cpages.php
Line Number: 101
Backtrace:
controllers/cpages.php
PHP Code:
public function slideshows() { $this->load->view('slideshows'); }
public function slideshowimages()
{
$image_crud = new image_CRUD();
$image_crud->set_primary_key_field('id');
$image_crud->set_url_field('url');
$image_crud->set_title_field('title');
$image_crud->set_table('example_4')
->set_ordering_field('priority')
->set_image_path('assets/uploads');
$output = $image_crud->render();
$this->_example_output($output);
$this->load->view('slideshow_images');
}
public function contents() { $this->load->view('contents'); }
views/slideshow_Images.php
PHP Code:
<div class="row-fluid">
<div class="span12">
Slideshow Name : <input type="text"></input>
<button type="button" class="add" href="adminform.php">ADD SLIDESHOW</button>
<div>
<?php /* <a href='<?php echo site_url('images_examples/example1')?>'>Example 1 - Simple</a> |
<a href='<?php echo site_url('images_examples/example2')?>'>Example 2 - Ordering</a> |
<a href='<?php echo site_url('images_examples/example3/22')?>'>Example 3 - With group id</a> | */ ?>
<a href='<?php echo site_url('cpages/slideshowimages')?>'>Example 4 - Images with title</a> |
<?php /* <a href='<?php echo site_url('images_examples/simple_photo_gallery')?>'>Simple Photo Gallery</a> */ ?>
</div>
<div style='height:20px;'></div>
<div>
<?php echo $output; ?>
</div>
<div class="widget-box">
<div class="widget-title"><h5>Slideshows</h5></div>
<div class="widget-content">
</div>
</div>
</div>
</div>
" If I looks more intelligence please increase my reputation."