从官方网站下载了最新的fckeditor集成PHP。按照配置来的为什么就是一直报一堆JS错误 'FCKConfig'未定义,'FCKBrowserInfo'未定义,缺少对象,‘FCKToos’未定义,缺少对象,‘FCKLang’未定义,‘FCKbowser’未定义,缺少对象。 代码应该没问题,路径也绝对正确<?php
include("fckeditor/fckeditor.php");
$sBasePath = "/fckeditor/" ;
$oFCKeditor = new FCKeditor("cc") ;
$oFCKeditor->BasePath=$sBasePath;
$oFCKeditor->Create();
?>文件和FCKeditoe都是在根目录
include("fckeditor/fckeditor.php");
$sBasePath = "/fckeditor/" ;
$oFCKeditor = new FCKeditor("cc") ;
$oFCKeditor->BasePath=$sBasePath;
$oFCKeditor->Create();
?>文件和FCKeditoe都是在根目录
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货