{"id":151,"date":"2016-07-26T11:22:25","date_gmt":"2016-07-26T03:22:25","guid":{"rendered":"http:\/\/www.cxybj.com\/?p=151"},"modified":"2016-07-26T11:22:25","modified_gmt":"2016-07-26T03:22:25","slug":"ckfinder3-3-0%e8%a7%a3%e5%86%b3the-file-browser-is-disabled-for-security-reasons-%e9%94%99%e8%af%af%e6%8f%90%e7%a4%ba","status":"publish","type":"post","link":"https:\/\/www.cxybj.com\/?p=151","title":{"rendered":"Ckfinder3.3.0\u89e3\u51b3The file browser is disabled for security reasons. \u9519\u8bef\u63d0\u793a"},"content":{"rendered":"<p><span style=\"color: #ff0000;\">\u9519\u8bef\u63d0\u793a\uff1a<\/span><\/p>\n<p><span style=\"color: #ff0000;\">The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file.<\/span><\/p>\n<p>\u5e2e\u52a9\u6587\u6863\u91cc\u63d0\u793a\uff1a<\/p>\n<p>By default, the CKFinder server connector is disabled. If you open the default CKFinder sample (located in <code>\/ckfinder\/samples\/full-page-open.html<\/code>) you will see the following error message:<\/p>\n<blockquote class=\"doxtable\"><p>The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file.<\/p><\/blockquote>\n<p>In order to enable it, you should set the <a class=\"el\" href=\"http:\/\/docs.cksource.com\/ckfinder3-php\/configuration.html#configuration_options_authentication\">authentication<\/a> function in <code>config.php<\/code> so that it returned <code>true<\/code> for users that should have access to CKFinder.<\/p>\n<p><span style=\"color: #00ccff;\"><strong>\u89e3\u51b3\u529e\u6cd5<\/strong>\uff1a\u9ed8\u8ba4\u60c5\u51b5\u4e0bCkfinder\u662f\u7981\u6b62\u4e0a\u4f20\u7684\uff0c\u8981\u53bb<span style=\"color: #000000;\"><strong>ckfinder\/config.php<\/strong><\/span> \u4e2d\u52a0\u5165\u5f00\u542f\u4e0a\u4f20\u6743\u9650\u4ee3\u7801\uff1a<\/span><\/p>\n<pre><code class=\"prettyprint prettyprinted\"><span class=\"pln\">$config<\/span><span class=\"pun\">[<\/span><span class=\"str\">'authentication'<\/span><span class=\"pun\">]<\/span> <span class=\"pun\">=<\/span> <span class=\"kwd\">function<\/span><span class=\"pun\">()<\/span> <span class=\"pun\">{<\/span><span class=\"pln\">\r\n\u00a0     <\/span><span class=\"kwd\">return<\/span> <span class=\"kwd\">true<\/span><span class=\"pun\">;<\/span><span class=\"pln\">\r\n\u00a0<\/span><span class=\"pun\">};\r\n\r\n\u5982\u56fe\uff1a\r\n<a href=\"http:\/\/www.cxybj.com\/wp-content\/uploads\/2016\/07\/ckfinder\u4e0a\u4f20\u6743\u9650.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-152\" src=\"http:\/\/www.cxybj.com\/wp-content\/uploads\/2016\/07\/ckfinder\u4e0a\u4f20\u6743\u9650.png\" alt=\"ckfinder\u4e0a\u4f20\u6743\u9650\" width=\"709\" height=\"133\" srcset=\"https:\/\/www.cxybj.com\/wp-content\/uploads\/2016\/07\/ckfinder\u4e0a\u4f20\u6743\u9650.png 709w, https:\/\/www.cxybj.com\/wp-content\/uploads\/2016\/07\/ckfinder\u4e0a\u4f20\u6743\u9650-300x56.png 300w, https:\/\/www.cxybj.com\/wp-content\/uploads\/2016\/07\/ckfinder\u4e0a\u4f20\u6743\u9650-620x116.png 620w\" sizes=\"(max-width: 709px) 100vw, 709px\" \/><\/a>\r\n\r\n<\/span><\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9519\u8bef\u63d0\u793a\uff1a The file browser is disa &hellip; <a href=\"https:\/\/www.cxybj.com\/?p=151\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,5],"tags":[122],"_links":{"self":[{"href":"https:\/\/www.cxybj.com\/index.php?rest_route=\/wp\/v2\/posts\/151"}],"collection":[{"href":"https:\/\/www.cxybj.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cxybj.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cxybj.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cxybj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=151"}],"version-history":[{"count":1,"href":"https:\/\/www.cxybj.com\/index.php?rest_route=\/wp\/v2\/posts\/151\/revisions"}],"predecessor-version":[{"id":153,"href":"https:\/\/www.cxybj.com\/index.php?rest_route=\/wp\/v2\/posts\/151\/revisions\/153"}],"wp:attachment":[{"href":"https:\/\/www.cxybj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cxybj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cxybj.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}