Php ckfinder与ckeditor的集成
这是我的集成代码:Php ckfinder与ckeditor的集成,php,ckeditor,Php,Ckeditor,这是我的集成代码: My extranet is in root/include/ckeditor and root/include/ckfinder $baseUrl = 'https://extranet.com/crm/include/; $baseUrl = '/userfiles/'; $baseDir = '/crm/include/userfiles/; 我正在尝试进行配置,仅此而已。 我试图与ckeditor集成,但我得到了各种各样的错误。谁能告诉我我哪里做错了 It w
My extranet is in root/include/ckeditor and root/include/ckfinder
$baseUrl = 'https://extranet.com/crm/include/;
$baseUrl = '/userfiles/';
$baseDir = '/crm/include/userfiles/;
我正在尝试进行配置,仅此而已。
我试图与ckeditor集成,但我得到了各种各样的错误。谁能告诉我我哪里做错了
It was not possible to properly load the XML response from the web server.
XML Parsing Error: junk after document element Location: https://extranet.zeald.com/crm_snapshot/include/ckfinder/ckfinder.html?CKEditor=message&CKEditorFuncNum=2&langCode=en Line Number 2, Column 1:Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /mnt/clusternfs2/extranet/crm_snapshot/include/ckfinder/core/connector/php/php4/Utils/Misc.php on line 54
^
Raw response from the server:
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /mnt/clusternfs2/extranet/crm_snapshot/include/ckfinder/core/connector/php/php4/Utils/Misc.php on line 54
编辑:
在这里查看Misc.php中给出错误的代码
public static function encodeURIComponent($str)
{
$revert = array('%21'=>'!', '%2A'=>'*', '%27'=>"'", '%28'=>'(', '%29'=>')');
return strtr(rawurlencode($str), $revert);
}
我已经运行了php版本4.3.10,并且阅读了ckfinder文档,其中说明php4+支持版本2.2.1
编辑:
我已删除此代码,它似乎正在工作:
/* public static function encodeURIComponent($str)
{
$revert = array('%21'=>'!', '%2A'=>'*', '%27'=>"'", '%28'=>'(', '%29'=>')');
return strtr(rawurlencode($str), $revert);
} */
有没有办法让这一切顺利进行
希望有人能帮助我。发布代码以便人们能帮助您?您似乎在$baseDir='/crm/include/userfiles/;”中缺少一个结束语引号;。嗨,胡安,即使我加了这句话,这句话还是会发生