Hi,
I tried to use CKFinder (with FCKeditor) in asp and I have a little problem I cannot find any solution. When I test it on a local server, it does work fine but when I try it online, on an hosting server, I got this javascript error in the CKFinder popup:
Line: 37 Char: 657 Error: 'undefined' is null or not an object Code: 0 Url: http://(my-domain)/FCKeditor/ckfinder/ckfinder.html?type=Images
As far as I know, every directory has the right permission, and I do believe my vars are set correctly.
Do you have any idea ? Thank you all
Re: Need help with javascript error in CKFinder
The first step is check that all the files have been correctly uploaded and no one has been corrupted.
As you are using the asp connector you can also use this wizard as it might help you to understand the problem.
Please, report back whatever you find.
Re: Need help with javascript error in CKFinder
So, here is the error I got when running the script:
Why does it test asp.net ? Isn't supposed to use only asp ? ...and asp.net is enabled on the webserver. Any idea how I may fix this ? Thanks a lot!
Re: Need help with javascript error in CKFinder
The wizard isn't included because
-it's not bullet proof, it might require some additional work to make it more robust.
-it can't be "enabled" by default, as it might provide an attack point to your server.
-and so by getting it from this place you can get help and the latest version.
By default the image manipulation is done with asp.net, so the wizard tries to verify that it's working properly as that's one of the biggest problems that I've seen so far. If you have enabled another image component then it shouldn't bother testing it, some day I'll adjust that
And asp.net is enabled in that server, yes, but it isn't working.
The hello.aspx is just a very simple file
So it should work without any requirement, but instead it's failing, and the web.config in that folder is configured to show any error (after all these are debugging scripts), so I guess that it's some problem with regards to the root web.config.
Try to edit it to enable the custom errors
and then try again. You can try to put the hello.aspx file in any place and call it directly to verify if asp.net is working as expected.
Re: Need help with javascript error in CKFinder
I wasnt' able to run all the 25 tests, though... I am stuck at test 20 but the ckfinder is now working properly.
Thank you for your help!