Hi...请教各位大虾一个问题。 ([email protected] 这是/forum/viewtopic.php?t=4586
http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/127/postid/89367/scope/posts/Default.aspx
http://cksource.com/forums/viewtopic.php?f=6&t=9397
以下是错误提示信息错误: FCKBrowserInfo is not defined
源文件:http://127.0.0.21:8900/fckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default
行:125错误: FCKConfig is not defined
源文件:http://127.0.0.21:8900/fckeditor/fckconfig.js
行:27错误: FCKConfig_LoadPageConfig is not defined
源文件:http://127.0.0.21:8900/fckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default
行:164错误: FCKTools is not defined
源文件:http://127.0.0.21:8900/fckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default
行:176错误: FCK_ContextMenu_Init is not defined
源文件:http://127.0.0.21:8900/fckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default
行:195错误: FCKLang is not defined
源文件:http://127.0.0.21:8900/fckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default
行:203错误: FCKBrowserInfo is not defined
源文件:http://127.0.0.21:8900/fckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default
行:270错误: InitializeAPI is not defined
源文件:http://127.0.0.21:8900/fckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default
行:210

解决方案 »

  1.   

    这个和php有关系嘛?明显的是脚本错误.
      

  2.   

    你用ff看下错误在哪? 或者再看看你加载的js对不?
      

  3.   

    我也知道是脚本错误啊。FCKeditor的所有文件是完全一模一样的,现在的问题是在ASP里可以正常使用,但在PHP里JS脚本就会报错,并且FCKeditor加载失败,也就是说整个区域空空的。在ASP里JS完全正常,说明脚本是没有问题的,但PHP里却会出错,这让人非常十分极其郁闷!?
      

  4.   

    asp的编码应该是gb2312的吧.php的有编码问题,要统一用utf-8,其中有一个环节不是utf-8都会造成乱码问题..  
    我没碰到过,所以不能给你一些准确的答案.
      

  5.   

    晕...FCK有PHP代码的,怎么只是JS脚本  ASP环境!=PHP环境
      

  6.   


    ASP的编码也是utf-8的,谢谢关注。
      

  7.   


    你下载回来FCKeditor,解压后,正常情况下不管是在ASP中或PHP中都是能运行的。你可以要以下两个路径中测试的
    /fckeditor/_samples/asp/sample01.php
    /fckeditor/_samples/php/sample01.php再说,FCKeditor_2.6.5下载回来后默认就是给PHP用的。
      

  8.   

    参照sample嘛,自带的例子就很好
      

  9.   


    就是用_sample里的例子进行测试的。如以下:/fckeditor/_samples/asp/sample01.php
    /fckeditor/_samples/php/sample01.php 在ASP里一切正常,但PHP里JS就会出错!