I recently install the jamit jobportal system and installed the info page plugin with ckeditor, but when I want to ad a new page I get this error message:
Fatal error: require_once() [function.require]: Failed opening required '/home/www/ajbazar.com/jobportal/fckeditor/fckeditor.php' (include_path='.:/usr/local/php5/lib/php') in /home/www/ajbazar.com/jobportal/include/plugins/InfoPages/InfoPages.php on line 1379
and the code in infopage.php is:
require_once(JB_basedirpath()."fckeditor/fckeditor.php") ;
$oFCKeditor = new FCKeditor('content') ;
if (function_exists('jb_get_FCK_js_base')) {
$oFCKeditor->BasePath = jb_get_FCK_js_base('admin/');
} else {
$oFCKeditor->BasePath = '../fckeditor/';//'../fckeditor/' ;
}
$oFCKeditor->ToolbarSet = 'Basic';
$oFCKeditor->Value = $row['content'] ;
$oFCKeditor->Height = 25*15;
$oFCKeditor->Width = '100%';
$oFCKeditor->Create() ;
?>
I modify the code but I get a new error:
Fatal error: Call to undefined method stdClass::Create() in /home/www/ajbazar.com/jobportal/include/plugins/InfoPages/InfoPages.php on line 1391 and this is the code:
require_once(JB_basedirpath()."ckeditor/ckeditor.php") ;
$oCKeditor = new CKeditor('content') ;
if (function_exists('jb_get_FCK_js_base')) {
$oFCKeditor->BasePath = jb_get_FCK_js_base('admin/');
} else {
$oFCKeditor->BasePath = '../fckeditor/';//'../fckeditor/' ;
}
$oFCKeditor->ToolbarSet = 'Basic';
$oFCKeditor->Value = $row['content'] ;
$oFCKeditor->Height = 25*15;
$oFCKeditor->Width = '100%';
$oFCKeditor->Create() ;
Can anybody help me, please, to resolve this problem.
Fatal error: require_once() [function.require]: Failed opening required '/home/www/ajbazar.com/jobportal/fckeditor/fckeditor.php' (include_path='.:/usr/local/php5/lib/php') in /home/www/ajbazar.com/jobportal/include/plugins/InfoPages/InfoPages.php on line 1379
and the code in infopage.php is:
require_once(JB_basedirpath()."fckeditor/fckeditor.php") ;
$oFCKeditor = new FCKeditor('content') ;
if (function_exists('jb_get_FCK_js_base')) {
$oFCKeditor->BasePath = jb_get_FCK_js_base('admin/');
} else {
$oFCKeditor->BasePath = '../fckeditor/';//'../fckeditor/' ;
}
$oFCKeditor->ToolbarSet = 'Basic';
$oFCKeditor->Value = $row['content'] ;
$oFCKeditor->Height = 25*15;
$oFCKeditor->Width = '100%';
$oFCKeditor->Create() ;
?>
I modify the code but I get a new error:
Fatal error: Call to undefined method stdClass::Create() in /home/www/ajbazar.com/jobportal/include/plugins/InfoPages/InfoPages.php on line 1391 and this is the code:
require_once(JB_basedirpath()."ckeditor/ckeditor.php") ;
$oCKeditor = new CKeditor('content') ;
if (function_exists('jb_get_FCK_js_base')) {
$oFCKeditor->BasePath = jb_get_FCK_js_base('admin/');
} else {
$oFCKeditor->BasePath = '../fckeditor/';//'../fckeditor/' ;
}
$oFCKeditor->ToolbarSet = 'Basic';
$oFCKeditor->Value = $row['content'] ;
$oFCKeditor->Height = 25*15;
$oFCKeditor->Width = '100%';
$oFCKeditor->Create() ;
Can anybody help me, please, to resolve this problem.