关于ucenter添加fckeditor 出现空白,该怎么处理
Jun 13, 2016 pm 01:53 PM
关于ucenter添加fckeditor 出现空白
ucenter目录结构 根目录下有
admin
tpl //admin里的模板目录
admincp_gamenews.php //引入fckeditor目录,下面会贴出引用代码
fckeditor //fckeditor目录
fckeditor.php
admincp_gamenews.php引用fckeditor代码如下
define('S_ROOT', dirname(__FILE__).DIRECTORY_SEPARATOR); //位于common.php文件中
include_once(S_ROOT.'/fckeditor/fckeditor.php');//加载FCKeditor文件
$oFCKeditor = new FCKeditor('CreMer');//创建一个FCKeditor对象 ID为FCKeditor1
$oFCKeditor ->BasePath = S_ROOT.'/fckeditor/';//设置FCKeditor路径
$oFCKeditor ->Valude = 'this is a default content';//设置默认值
//工具按钮设置
$oFCkeditor->ToolbarSet='Default';
//设置它的宽度
$oFCKeditor->Width='838px';
//设置它的高度
$oFCKeditor->Height='300px';
$fck=$oFCKeditor->CreateHtml();
在模板引入后,firefox下高度显示打不开程序地址,本该有fckeditor一片空白,IE 下也如此,,请问是我引用路径错误吗?如果是那要怎么引入?
------解决方案--------------------
我也有这个问题,不知道怎么解决
------解决方案--------------------
看一下apache错误日志
$oFCKeditor 打印一下这个对象,如果这个对象存在说明文件引入没问题。

热门文章

热门文章

热门文章标签

记事本++7.3.1
好用且免费的代码编辑器

SublimeText3汉化版
中文版,非常好用

禅工作室 13.0.1
功能强大的PHP集成开发环境

Dreamweaver CS6
视觉化网页开发工具

SublimeText3 Mac版
神级代码编辑软件(SublimeText3)

适用于 Ubuntu 和 Debian 的 PHP 8.4 安装和升级指南

如何设置 Visual Studio Code (VS Code) 进行 PHP 开发
