Hi all.
If you get your CKFinder (ASP.NET) control working great on your test server, then upload it to GoDaddy only to get a Security Exception when you load the page, it's not because of GoDaddy's lowered trust level, as you might first think.
The CKFinder control doesn't correctly determine the BaseDir from the BaseURL on GoDaddy. I should mention that I'm using a GoDaddy account that hosts multiple websites, and there are some known problems with GoDaddy as far as misnaming the ASP.NET application root in that situation, so that could partially be the problem, but I also think CKFinder might be "overthinking" the translation.
I basically did a Server.MapPath of the exact BaseURL string and stuck the result directly into BaseDir, and it worked fine. Whatever the control is doing seems to be more complicated than that, and it isn't working on GoDaddy.
Obviously the workaround is very easy, as I just noted above, but I figured I'd post about it in case anybody else runs into this problem and thinks the control just won't work on GoDaddy, as I originally thought.
Thanks.
If you get your CKFinder (ASP.NET) control working great on your test server, then upload it to GoDaddy only to get a Security Exception when you load the page, it's not because of GoDaddy's lowered trust level, as you might first think.
The CKFinder control doesn't correctly determine the BaseDir from the BaseURL on GoDaddy. I should mention that I'm using a GoDaddy account that hosts multiple websites, and there are some known problems with GoDaddy as far as misnaming the ASP.NET application root in that situation, so that could partially be the problem, but I also think CKFinder might be "overthinking" the translation.
I basically did a Server.MapPath of the exact BaseURL string and stuck the result directly into BaseDir, and it worked fine. Whatever the control is doing seems to be more complicated than that, and it isn't working on GoDaddy.
Obviously the workaround is very easy, as I just noted above, but I figured I'd post about it in case anybody else runs into this problem and thinks the control just won't work on GoDaddy, as I originally thought.
Thanks.
Re: CKFinder in GoDaddy: Leaving BaseDir empty doesn't work.
Thanks.