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

File browser not working. #43

Open
dionsnoeijen opened this issue Jan 12, 2014 · 5 comments
Open

File browser not working. #43

dionsnoeijen opened this issue Jan 12, 2014 · 5 comments

Comments

@dionsnoeijen
Copy link

Hi,

I have a section for the files. But it's not working.

When I try to create the entry for the image in the filebrowser I get this error:
Afbeelding /​workspace/​uploads/​images/[​object ​File]​
The file uploaded is no longer available. Please check that it exists, and is readable.

When I create the entry with the image directly the entry submits. But in the filebrowser the images don't show up. Using the image anyway results in a wrong path.

I will check what's going on, if I find anything I will let you know. If you know what's going on I would love to hear about it :)!

@bernardodiasc
Copy link

Sorry for the rush, but please check is some PR on https://github.com/TwistedInteractive/ckeditor/pulls fix your issue.

@dionsnoeijen
Copy link
Author

Thanks!

This fixes:
The thumbnail is visible in the filebrowser.

This doesn't fix:
Creating an image from the filebrowser gives the following error:
Afbeelding /​workspace/​uploads/​images/[​object ​File]​
The file uploaded is no longer available. Please check that it exists, and is readable.

This doesn't fix:
Image paths are incorrect. Something like: /workspacede-tuttebellen.jpg is the result.

@dionsnoeijen
Copy link
Author

Ok, fixed it. I had to change this:

Around line 82:

$value = '<a href="/workspace'.preg_replace('/\/workspace/','',$destination,1).'/'.$info['file'].'">';

Thanks man, awesome extension!

@dionsnoeijen
Copy link
Author

Woops, no. Never mind. Forgot to delete line 77! The answer is in the link you gave to me!

@bernardodiasc
Copy link

Awesome. Indeed its a great extension. It's unmaintained, that's why various fixes are still on PRs...

Good job on fixing 👍

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