[eluser]matt2012[/eluser]
Im getting this
Code:
Message: Cannot modify header information - headers already sent by (output started at /home/ukmental/public_html/system/application/libraries/Fckeditor.php:123)
Filename: controllers/admin.php
Line Number: 134
when I try to redirect in the controller after updating a post,
I know this is normally about blank lines but I can find any.
Here is the controller,
Code:
//nothing before or after tags on this page
function edit_service_3()
{
//stuff here
if ($this->validation->run() == FALSE)
{
$data['query']= $this->Servicemodel->get_service('3_dir3', $id);
$data['id'] = $id;
$data['content'] = 'admin/edit_service_3';
$this->load->view('MyViews/container2', $data);
}
else
{
$this->Servicemodel->update_service('3_dir3', $id);
redirect('/admin/edit_service_4/'.$id, 'refresh');
}
}
the error is giving the last line of the FCK library but there are no blank spaces
before or after the tags there either.
:-S