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:
The asp.net test file failed. Requested URL: assets/hello.aspx?nocache=Mon Mar 23 11:12:46 EDT 2009 Returned status: 500 Returned text: <html> <head> <title>Runtime Error</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head> <body bgcolor="white"> <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1> <h2> <i>Runtime Error</i> </h2></span> <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> <b> Description: </b>An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. <br><br> <b>Details:</b> To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".<br><br> <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration></pre></code> </td> </tr> </table> <br> <b>Notes:</b> The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.<br><br> <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration></pre></code> </td> </tr> </table> <br> </body> </html> Returned xml: null Returned headers: Date: Mon, 23 Mar 2009 15:12:37 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-Powered-By: PleskWin X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 3026Why 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!