网页错误详细信息
用户代理: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
时间戳: Wed, 9 May 2012 05:27:49 UTC
消息: 没有权限
行: 3446
字符: 2
代码: 0
URI: http://localhost:999/CommonFiles/kindeditor/kindeditor.js
<script src="../CommonFiles/js/jquery-1.7.2.min.js" type="text/javascript"></script> <link rel="stylesheet" href="../CommonFiles/kindeditor/themes/default/default.css" /> <link rel="stylesheet" href="../CommonFiles/kindeditor/plugins/code/prettify.css" /> <script type="text/javascript" charset="utf-8" src="../CommonFiles/kindeditor/kindeditor.js"></script> <script type="text/javascript" charset="utf-8" src="../CommonFiles/kindeditor/lang/zh_CN.js"></script> <script type="text/javascript" charset="utf-8" src="../CommonFiles/kindeditor/plugins/code/prettify.js"></script> <link href="../CommonFiles/css/black/ymPrompt.css" rel="stylesheet" type="text/css" /> <script src="../CommonFiles/js/ymPrompt.js" type="text/javascript"></script> <script type="text/javascript"> var ke; KindEditor.ready(function(K) { ke = K.create('#txtaction', { cssPath: '../CommonFilesp/kindeditor/lugins/code/prettify.css', uploadJson: '../CommonFilesp/kindeditor/upload_json.ashx', fileManagerJson: '../CommonFilesp/kindeditor/file_manager_json.ashx', allowFileManager: true, afterCreate: function() { var self = this; $('#btnS').click(function() { self.sync(); }); $('#btnC').click(function() { self.sync(); }); }, items: ['|', 'preview', 'clearhtml', 'quickformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', '|', 'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image', 'table', 'hr', 'link', 'unlink', '|' ] }); prettyPrint(); }); </script>
server端配置问题.写入权限是需要认证的。你可以改成任何人都可以在那个文件夹下写入.(我没试过,我只遇到过linux的apache有时候会出现这种情况)
这个问题我也找了好久啊
最后知道了 是要引用一个dll. litjson.dll 是支持上传的文件。
我引入了这个dll还是没有权限!高手指点
@菜鸟级大师: 引用了 litjson.dll 是支持上传的文件
@HSCOrange: litjson.dll这个文件怎么用啊
楼上说得很正确定
litjson.dll这个文件怎么用啊