Hi,
I've got the general editor working just fine, but I can't seem to get the file uploader to work. Here's what I've done so far:
file:///C:\Sites\baden\fckeditor\fckconfig.js
Changed to: var _FileBrowserLanguage = 'aspx'
Changed to: var _QuickUploadLanguage = 'aspx'
file:///C:\Sites\baden\fckeditor\editor\filemanager\connectors\aspx\config.ascx
Changed to: UserFilesPath = "~/user_uploaded_files/";
Unchanged: UserFilesAbsolutePath = "";
CheckAuthentication() for now simply returns true. I'll add security when I get it working.
And that's it. Nothing more, nothing less. When I try to upload an image or a doc, I get this message in a popup dialog: "Invalid Request."
When I try to use the file:
http://localhost/baden/manager/fckedito ... dtest.html
or
http://localhost/baden/manager/fckedito ... test.html#
everything works fine. The files upload just as they should. But from:
http://localhost/baden/manager/Default.aspx
I get the very unhelpful: "Invalid Request". I even moved the test files into the same directory:
http://localhost/baden/manager/test.html
And they STILL worked fine, but it's not working from my default.aspx
I'm stumped here. Is there something else I am missing? Something I did wrong? Any help would be appreciated!
Thanks,
Casey
P.S. I am using asp.net 2.0 with VB.
Tue, 03/09/2010 - 15:30
#1
Re: "Invalid Request" with file and image upload :-(
This is amazing. Found the solution here:
viewtopic.php?f=6&t=8536
This bug has been around for at least 2+ years. Come on people! Fix your f'ing code!!!