Afternoon,
I have been working with CKEditor and CKFinder for the last few days and it all worked locally. Once I put it live in all aspects it worked except when attempting to upload a .pdf file to the server via the Link -> Upload tab.
The error that I receive is "The requested resource type is not valid". I have set the folders that it is uploading to, to 777 and I have made sure that the Resource type of Files also allows for the extensions of .pdf in config.php of CKFinder.
This error is stopping me from completion of my project and I really am out of things to try any ideas/ work arounds would be brilliant.
One possible solution was to use KCFinder which I was told would work but my boss said that was not an option unfortunately.
I have been working with CKEditor and CKFinder for the last few days and it all worked locally. Once I put it live in all aspects it worked except when attempting to upload a .pdf file to the server via the Link -> Upload tab.
The error that I receive is "The requested resource type is not valid". I have set the folders that it is uploading to, to 777 and I have made sure that the Resource type of Files also allows for the extensions of .pdf in config.php of CKFinder.
This error is stopping me from completion of my project and I really am out of things to try any ideas/ work arounds would be brilliant.
One possible solution was to use KCFinder which I was told would work but my boss said that was not an option unfortunately.
Re: Error "The requested resource type is not valid"
Hi,
please check what resource type do you use when you try upload .pdf file. Maybe you use
"Images" resource type and for it .pdf files are forbidden. You can read more about resources types here : http://docs.cksource.com/CKFinder_2.x/Developers_Guide/PHP/Configuration/Resource_Types. Please check you configuration settings.