Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when uploading new file via filebrowser #39

Open
andrewminton opened this issue Oct 12, 2013 · 3 comments
Open

Error when uploading new file via filebrowser #39

andrewminton opened this issue Oct 12, 2013 · 3 comments

Comments

@andrewminton
Copy link

Not sure what's happening under the hood here but I think there is an issue with the AjaxForm function.. I tried to upload a simple image and get this error after the ajax request was attempted/triggered:

Image /​workspace/[​object ​File]​ The file uploaded is no longer available. Please check that it exists, and is readable.

I think this is related to the path change in the upload field again... maybe the data object no longer contains the info we need in the response callback??

@andrewminton
Copy link
Author

I've submitted a pull request which fixes the creation of new entries via filebrowser issue: #40

Seems we needed the enctype="multipart/form-data" in the buildForm function within https://github.com/andrewminton/ckeditor/blob/integration/assets/filebrowser.js#L67

@andrewminton
Copy link
Author

Closed issue accidentally, even though fix is on my fork. Would still like to confirm the fix on this, the orig of the code.

@msegers
Copy link

msegers commented Oct 23, 2013

Seems Like I'm having exact the same issue. I'll see if I can use your fix aswell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants