Roozbeh Matloobi wrote:
> Hi,
>
> I installed a editor named FCKeditore. and I want to use for CMS
> interface.
> $oFCKeditor = new FCKeditor('FCKeditor1') ;
> var_dump($oFCKeditor);
> //print($oFCKeditor);
> $oFCKeditor->BasePath = $this->baseurl.'/library/fckeditor/' ;
> $oFCKeditor->Value = '<p>This is some <strong>sample text</strong>.
> You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
> var_dump($oFCKeditor->Value);
> *$oFCKeditor->Create() ;*
>
> but I have this bug
> *Fatal error*: Uncaught exception
> 'Zend_Controller_Dispatcher_Exception' with message 'Invalid
> controller specified (library)' in
> C:\roozbeh\repo\newskool\repo\library\Zend\Controller\Dispatcher\Standard.php:241
> Stack trace: #0
> C:\roozbeh\repo\newskool\repo\library\Zend\Controller\Front.php(934):
> Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http),
> Object(Zend_Controller_Response_Http)) #1
> C:\roozbeh\repo\newskool\repo\htdocs\index.php(112):
> Zend_Controller_Front->dispatch() #2 {main} thrown in
> *C:\roozbeh\repo\newskool\repo\library\Zend\Controller\Dispatcher\Standard.php*
> on line *241
>
> much appriciate for any comments.
>
> Thanks,
> Roozbeh
> *
>
Also you need to ensure that your re-write rules exclude the fckeditor
directory and all its subdirectories.
没有评论:
发表评论