Hello everybody,
I am having problem in using fckeditor 2.6.6 in Codeigniter 2.0.2.
I have gone through following site which has given steps to use fckeditor in codeigniter, but that also didn’t help me.
The link is:-
http://codeigniter.com/wiki/FCKeditor/
I have followed the step for codeigniter 1.7 in given above site.
in controller file code is given below:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Editor extends CI_Controller {
function __construct(){
parent::__construct();
}
public function index(){
$fckeditorConfig
= array(
'instanceName' => 'content',
'BasePath' => base_url().'system/plugins/fckeditor/',
'ToolbarSet' => 'Default',
'Width' => '100%',
'Height' => '200',
'Value' => ''
);
$this->load->library('fckeditor', $fckeditorConfig);
$this->load->view('fckeditorView');
}
}view page code is given below:
<?php
echo $this->fckeditor->Create() ;
?>
Using above steps given by the link, i got the error given below:
Access forbidden!
You don’t have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
Please anyone tell me what i have done mistake.
Or you can help me to get best way to use to fckeditor.
Thanks in advance.