Hello!
I've recently tried to utilize CKFinder together with CKEditor in my project I'm doing but I've run into a strange error. As soon as I click on "Browse Server" I get a System Error with strange characters in the body of the error box.
I've tried the same thing with a different project and it works fine. Also, when you use the "Upload" function at the image properties, the image uploads fine. It's really only the CKFinder window that's broken.
I'm using VS2010 and checking in Firefox
//code//
<textarea runat="server" id="editor1" name="editor1"></textarea>
<script type="text/javascript">
window.onload = function () {
CKEDITOR.replace('editor1',
{
width: "650px",
height: "350px",
skin: "kama",
filebrowserBrowseUrl : '~/ckfinder/ckfinder.html',
filebrowserImageBrowseUrl : 'ckfinder/ckfinder.html?type=Images',
filebrowserFlashBrowseUrl : 'ckfinder/ckfinder.html?type=Flash',
filebrowserUploadUrl : 'ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files',
filebrowserImageUploadUrl : 'ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images',
filebrowserFlashUploadUrl : 'ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash'
});
};
</script>
//config.ascx//
public override void SetConfig()
{
// Paste your license name and key here. If left blank, CKFinder will
// be fully functional, in Demo Mode.
LicenseName = "-my licence info here-";
LicenseKey = "-my licence info here-";
// The base URL used to reach files in CKFinder through the browser.
BaseUrl = "~/ckfinder/userfiles/";
// The phisical directory in the server where the file will end up. If
// blank, CKFinder attempts to resolve BaseUrl.
BaseDir = "";
// Optional: enable extra plugins (remember to copy .dll files first).
Plugins = new string[] {
// "CKFinder.Plugins.FileEditor, CKFinder_FileEditor",
// "CKFinder.Plugins.ImageResize, CKFinder_ImageResize"
};
Thx. Any help would be appreciated.
I've recently tried to utilize CKFinder together with CKEditor in my project I'm doing but I've run into a strange error. As soon as I click on "Browse Server" I get a System Error with strange characters in the body of the error box.
I've tried the same thing with a different project and it works fine. Also, when you use the "Upload" function at the image properties, the image uploads fine. It's really only the CKFinder window that's broken.
I'm using VS2010 and checking in Firefox
//code//
<textarea runat="server" id="editor1" name="editor1"></textarea>
<script type="text/javascript">
window.onload = function () {
CKEDITOR.replace('editor1',
{
width: "650px",
height: "350px",
skin: "kama",
filebrowserBrowseUrl : '~/ckfinder/ckfinder.html',
filebrowserImageBrowseUrl : 'ckfinder/ckfinder.html?type=Images',
filebrowserFlashBrowseUrl : 'ckfinder/ckfinder.html?type=Flash',
filebrowserUploadUrl : 'ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files',
filebrowserImageUploadUrl : 'ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images',
filebrowserFlashUploadUrl : 'ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash'
});
};
</script>
//config.ascx//
public override void SetConfig()
{
// Paste your license name and key here. If left blank, CKFinder will
// be fully functional, in Demo Mode.
LicenseName = "-my licence info here-";
LicenseKey = "-my licence info here-";
// The base URL used to reach files in CKFinder through the browser.
BaseUrl = "~/ckfinder/userfiles/";
// The phisical directory in the server where the file will end up. If
// blank, CKFinder attempts to resolve BaseUrl.
BaseDir = "";
// Optional: enable extra plugins (remember to copy .dll files first).
Plugins = new string[] {
// "CKFinder.Plugins.FileEditor, CKFinder_FileEditor",
// "CKFinder.Plugins.ImageResize, CKFinder_ImageResize"
};
Thx. Any help would be appreciated.
Re: CKFinder and Strange System Error
Thx anyways guys.