HTML beginner |
|
Beste Sima
Ik heb met de zend-framework een helper gemaakt om de FCKeditor in te laden. Dit werkt goed op mijn localhost. Wanneer ik dezelfde code upload naar mijn onlinehost krijg ik volgende foutmelding: Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (error)' in ...
Wie kan me helpen ?
Dit is de code van de helper.
<?php
class Zend_View_Helper_Fckeditor
{
public function fckEditor( $id , $value, $url )
{
include_once('public/fckeditor/fckeditor.php');
$oFCKeditor = new FCKeditor($id);
$oFCKeditor->BasePath = $url.'/public/fckeditor/';
$oFCKeditor->Value = $value;
$oFCKeditor->Height = '400';
$oFCKeditor->ToolbarSet = 'Custom';
$oFCKeditor->Config['DefaultLanguage'] = "nl";
return $oFCKeditor->Create();
}
}
<?php class Zend_View_Helper_Fckeditor { public function fckEditor( $id , $value, $url ) { include_once('public/fckeditor/fckeditor.php'); $oFCKeditor = new FCKeditor($id); $oFCKeditor->BasePath = $url.'/public/fckeditor/'; $oFCKeditor->Value = $value; $oFCKeditor->Height = '400'; $oFCKeditor->ToolbarSet = 'Custom'; $oFCKeditor->Config['DefaultLanguage'] = "nl"; return $oFCKeditor->Create(); } }
|