Welcome Guest, Not a member yet? Register   Sign In
cant modify headers with FCKeditor

Im getting this

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,

//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);
            $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.


...then load the FCK library only if you need it!!

You have a white space at the end of Fckeditor library, probably...

seppo - you were right even tho i knew that was the most likely cause.
There wasn't a line after the end tag however I there was a space on the line of the end tag!


thanks for making me look again at the obvious.

Theme © iAndrew 2016 - Forum software by © MyBB