我有一个带有自定义数据提供程序的 Sitecore 6 CMS,可以根据添加到父项中的字段的项动态创建子项。这工作正常(大约一周前是我最后一次从事这个项目),但现在我在 Web 客户端中遇到了源自 FirebugLite html 和 JS 文件的错误。基本上,我单击一个内容项,FirebugLite js 失败,然后我的自定义数据提供程序中的代码无法运行。
我原以为在 IE8 下运行时任何 FirebugLite 脚本都会被禁用或忽略(FirebugLite 不是 Firefox 插件吗?)
当我从 ..\sitecore\shell\Controls\Lib\ 中删除 FirebugLite 文件夹时,我的代码运行良好,并且没有收到客户端错误。我不确定我的问题是什么。我想FirebugLite应该会影响IE8吗?如果我从 Sitecore 目录树中删除 FirebugLite,我会错过什么?
我正在运行 WindowsXP SP3、VS2008。我得到的错误如下:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Fri, 14 May 2010 06:42:04 UTC
Message: Invalid argument.
Line: 301
Char: 9
Code: 0
URI: http://xxxxxxx.com.au/sitecore/shell/controls/lib/FirebugLite/firebug.js
Message: Object doesn't support this property or method
Line: 21
Char: 1
Code: 0
URI: http://xxxxxxxx.com.au/sitecore/shell/controls/lib/FirebugLite/firebug.html
Message: Invalid argument.
Line: 301
Char: 9
Code: 0
URI: http://xxxxxxxx.com.au/sitecore/shell/controls/lib/FirebugLite/firebug.js
Message: Object doesn't support this property or method
Line: 21
Char: 1
Code: 0
URI: http://xxxxxxxx.com.au/sitecore/shell/controls/lib/FirebugLite/firebug.html
干杯,
詹姆士。