看网上教程装了一个fck编辑器,运行后不提示错误,但就是一片空白什么也不显示。我的目录结构one根目录 
 |- fckeditor(编辑器)
 |-ht(后台管理)调用
infos_add.php<?php
include("../fckeditor/fckeditor.php");
$BasePath = "../fckeditor/"; // 编辑器路径
$oFCKeditor = new FCKeditor('myFCKeditor'); // 创建一个fckeditor对象,表单的名称为jayliao
$oFCKeditor->BasePath = $BasePath;
$oFCKeditor->Width = '100%'; // 编辑器宽度,类中有默认值,如果不想修改可不管此项
$oFCKeditor->ToolbarSet = 'default'; 
$oFCKeditor->Height= '300'; // 同width,此处为高$oFCKeditor->ToolbarSet
$oFCKeditor->Config['SkinPath'] = '../fckeditor/editor/skins/default/'; 
$oFCKeditor->Create();
?>
查看路径是:
http://localhost/php/one/fckeditor/editor/fckeditor.html?InstanceName=myFCKeditor&Toolbar=default
求各位大侠指点。

解决方案 »

  1.   

    你的代码是infos_add.php,为什么查看路径却是http://localhost/php/one/fckeditor/editor/fckeditor.html?
      

  2.   

    是这样的,fck调用那里是空白,但是有连接地址的,这是
    http://localhost/php/one/fckeditor/editor/fckeditor.html?InstanceName=myFCKeditor&Toolbar=default地址,是不是php环境下还要配置什么文件呢?