Hello all,
I have a PHP website running in an IIS server. I've installed both CKEditor and CKFinder, and the first one works great. But here's my problem: whenever I open the "Browse server" CKFinder's window, it shows up the message "Invalid command." and doesn't work further. See the screenshot below:
I've researched about this matter but couldn't even find anyone saying about CKFinder running in PHP + IIS. I spent some hours manually debugging CKFinder's codes, but got nowhere.
These are my guesses about what it could possibly be:
- IIS permissions issues (tough I already granted full permissions to the upload path);
- web.config redirect rules might be conflicting with CKF somehow; or
- Something about how apache sees myme types differently from IIS.
All above are guesses, I'm not sure what's causing the problem neither know how to solve it.
Did anyone have any issue similar to this or at least got CKFinder working under IIS?
Thanks in advance!
Wed, 01/18/2012 - 17:05
#1
Re: "Invalid command" message using PHP + IIS
I managed to get what was wrong! The IIS URL Rewrite module was messing with the Query String.
As I use, CakePHP, my web.config file has several rules to create the friendly URLs. So this is the rule I added above all others to make it work:
Notice the appendQueryString="true", before it was set to "false" and therefore I was having that problem.
Now everything is fine! =D
Re: "Invalid command" message using PHP + IIS
glad to hear that you managed to sort it out. Thanks for posting your solution, it is most helpful for others who might struggle with the same issue in the future!
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!