Quote from: beryl at Mar 24, 2008, 04:18 PM
Hello there,
Have this error in the manager once i press edit document.
cument.parser.class.inc.php(745) : eval()’d code on line 47 and defined in C:\wamp\www\assets\plugins\fckeditor26b\fckeditor.functions.php on line 95
The same was here.
It’s saying the 14th parameter is missing for the getFCKEditorScript function. That one is $webuser. So I added that parameter to the function call in the plugin at the end of two instances:
Line 42: $html = getFCKEditorScript($elementList,(isset($fckwebset) ? $fckwebset:"basic"),(isset($fckwebcustom) && ($fckwebset == "custom") ? $fckwebcustom:""),$width,$height,$fck_language,$frontend,$base_url,$modx->config[’editor_css_path’], $modx->config[’use_browser’],$fckwebautolang,null,$pluginfolder
,$webuser);
Line 47: $html = getFCKEditorScript($elementList,(!empty($modx->config[’fck_editor_toolbar’]) ? $modx->config[’fck_editor_toolbar’]:"basic"),(!empty($modx->config[’fck_editor_custom_toolbar’]) && ($modx->config[’fck_editor_toolbar’] == "custom") ? $modx->config[’fck_editor_custom_toolbar’]:""),$width,$height,$fck_language,$frontend,$base_url,$modx->config[’editor_css_path’], $modx->config[’use_browser’],$modx->config[’fck_editor_autolang’],$modx->config[’fck_editor_style’],$pluginfolder
,$webuser);
I’m quite unsure about this workaround, because it seems like this version is working at other people.