I am working on a core php. There is a page for products to add or edit their title description, images etc.
For product description I used ckeditor
plugin its working perfectly but there is no option for image uploading, so I add one more plugin ckfinder
for upload the images. When I click on browse for image upload it open a blank window and shows me this message
The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file.
I don't know what this means and how can I configure this.
Here is my HTML Code index.html:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script language="javascript" type="text/javascript" src="ckeditor/ckeditor.js"></script>
</head>
<body>
<textarea name="testEditor" id="testEditor"></textarea>
<script>
// Replace the <textarea id="editor1"> with a CKEditor
// instance, using default configuration.
CKEDITOR.replace( 'testEditor',
{
filebrowserBrowseUrl : 'http://localhost/editor/ckfinder/ckfinder.html',
filebrowserImageBrowseUrl : 'http://localhost/editor/ckfinder/ckfinder.html?type=Images',
filebrowserFlashBrowseUrl : 'http://localhost/editor/ckfinder/ckfinder.html?type=Flash',
filebrowserUploadUrl : 'http://localhost/editor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
filebrowserImageUploadUrl : 'http://localhost/editor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
filebrowserFlashUploadUrl : 'http://localhost/editor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash',
filebrowserWindowWidth : '1000',
filebrowserWindowHeight : '700'
}
);
</script>
Please help me, I am working on ckeditor and ckfinder for first time.