Hi,
We are using ASP.net 2.0. In our application we use FCKEditor Ver is 2.2.2952.27793 and CKFinder 1.0.1.20567. We are using FCKEditor for adding contents(in admin area) in the site and we have a link in the same page, clicking on which the admin could view the files which are being uploaded by the registered users of our website. FCKEditor works without any issues. But when we try to open CKFinder.html from the link to view the files which are uploaded by the users, we get the following error
XML Request Error:Internal Server Error(500).
Could some one please tell me what could be the issue here.
In our application we have FCKEditor dll in two locations. One in the 'Bin' folder which is located in the root and in another 'Bin' folder which is inside another Folder in the root(code in this folder is used for creating emails).
In application Webconfig file we have set path to FCKEditor userfiles like the following
<add key="FCKeditor:UserFilesPath" value="http://www....../UserFiles"/>
Could these multiple occurrences of FCKeditor dll is the cause of XML Request error?. If not, what else could be the issue.
Thanks
VG
Mon, 04/28/2008 - 17:58
#1
Re: XML Request Error:Internal Server Error(500) - opening CKFin
VG,
You shouldn't need the FCKEditor assembly in two separate locations, i'd suggest removing one of them, unless they are in two distinct applications.
the Key FCKeditor:UserFilesPath in the web.config sounds like it has been added for FCKeditor, it won't affect CKfinder. If CKFinder is using it, then it is incorrect, as the base URL should be set without the HTTP protocol, eg:
BaseUrl = "/userfiles/";
not
BaseUrl = "http://domain.com/userfiles/";
Without seeing the code its difficult, but it sounds if you just haven't configured CKFinder properly. Remember CKfinder is a separate application and can work independently of FCKeditor.
Are you getting the error in a javascript popup or on a webpage? if it is in a javascript popup it should contain more information than what you have posted - please post more details if they are available.
Have you added the CKFinder.dll to the Bin folder? Can you run any of the CKfinder samples? (in the /_samples/aspx/ directory)
Re: XML Request Error:Internal Server Error(500) - opening CKFin
Hi psykoptic,
Tnx for the reply. I have removed one the of FCKEditor references and now its only there in the Bin folder. I also removed the FCKEditor path which i had set in the webconfig file. But i still get the same error.
FCKEditor works without any issue. But not CKFinder. The base URL is set properly as you suggested(not with Http). CKFinder dll is there in the bin folder.
The error that i get "XML Request Error:Internal Server Error(500)" in not coming as a javascript popup. All i see is an error message showing "XML Request Error:Internal Server Error(500)"
I tried to run CKFinder independently. Like the following...
http//localhost:1997/....../CKFINDER/_SAMPLES/ASPX/standalone.aspx.
But when i try this i get the following error.
"It was not possible to initialize the file browser. Error(110)".
Does this give you any more information?.
Looking forward to hear from you.
Tnx
VG
Re: XML Request Error:Internal Server Error(500) - opening CKFin
Hi,
Now it seems to be working locally. But not when i host the application. Locally, What i did is that i removed CKFinder.dll from the 'Bin' folder in CKFinder directory added it in application Bin. Then i changed CKfinder.config like the following
<BaseDirectory
url = "~/userfiles/"
serverPath = ""
/>
Here "userfiles" is the folder in which all the files are uploaded and so it is set as base url. When i run the application, CKFinder works perfectly. when i call the url http//localhost:1555/......./ckfinder/ckfinder.html, CKFinder shows up displaying all the files in the folder 'Userfiles'. But when i host this application, and try to open ckfinder.html, i get the same XML Request error which i have mentioned in my previous posts.
Could someone tells me where i'm going wrong here?
Tnx
VG
Re: XML Request Error:Internal Server Error(500) - opening CKFin
Re: XML Request Error:Internal Server Error(500) - opening CKFin
Re: XML Request Error:Internal Server Error(500) - opening CKFin
Re: XML Request Error:Internal Server Error(500) - opening CKFin
Is it working for you now?. if so, what did you do?
Regards
VG
Re: XML Request Error:Internal Server Error(500) - opening CKFin
--
Ali Okan YÜKSEL
Re: XML Request Error:Internal Server Error(500) - opening C
The question is old, but I had this problem today.
If this happens, check the owner of the ckeditor and ckfinder folders and files.
read this:
http://www.flynsarmy.com/2011/10/cpanel ... n-min_uid/