关于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 통합 개발 환경

드림위버 CS6
시각적 웹 개발 도구

SublimeText3 Mac 버전
신 수준의 코드 편집 소프트웨어(SublimeText3)

뜨거운 주제











Ubuntu 및 Debian용 PHP 8.4 설치 및 업그레이드 가이드

PHP 개발을 위해 Visual Studio Code(VS Code)를 설정하는 방법
