[PLUGIN] Ckeditor + Filemanager (WYSIWYG editor + Medias manager)

Konstantinopol
Jr. Bludit
Posts: 5
Joined: Sun Aug 13, 2017 2:41 pm

Error occurs both there and there
Image

Image

Code: Select all

http://bludit0.ru/bl-plugins/ckeditor/libs%0Cilemanagerdialog.php?type=1&editor=ckeditor&akey=gOTommE6i8b0&fldr=&CKEditor=jscontent&CKEditorFuncNum=1&langCode=ru

About the abandoned file managers.

They can are abandoned, but they working at the local server

Now about the local server.
Six months I live in the countryside, in the forest, where there is not very good Internet. I hone my sites on a local server and then upload it to the network.
User avatar
Edi
Site Admin
Posts: 3120
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

The 403 error "Access forbidden" means that you have to set the rights to access the resources on the server.

See for example:

https://en.wikipedia.org/wiki/HTTP_403
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Konstantinopol
Jr. Bludit
Posts: 5
Joined: Sun Aug 13, 2017 2:41 pm

Yes it's all clear!
The Apache web server returns 403 Forbidden in response to requests for URL paths that correspond to file system directories when directory listings have been disabled in the server and there is no Directory Index directive to specify an existing file to be returned to the browser
Apache finds nothing along the specified path.
And it is because of incorrect slashes (IMHO)
Why the mistake is clear!
How to fix it?

Yes, if you upload images using the standard tools of the system, then everything works fine on both the local and the normal server.
From here I conclude that the problem is in the code of the plugin.
Image
User avatar
Edi
Site Admin
Posts: 3120
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

The slashes work as you can see:

Code: Select all

/bl-plugins/ckeditor/libs
But after this there are a wrong path and file:

Code: Select all

/libs%0Cilemanagerdialog.php
There is no file filemanagerdialog.php inside the directory /libs.

Could it be that you have tried to install your own uploader?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Konstantinopol
Jr. Bludit
Posts: 5
Joined: Sun Aug 13, 2017 2:41 pm

No, I did not change anything.
Re-installed Bludit version 1.6.2
and plugin CkEditor - 2016/08/12 - Version 1.5: Fallback Bludit 1.4 compatibilty & ready for 1.5Beta ckeditor.zip 4.08 MB

Do "Send it to the Server" and see:
Forbidden
You don't have permission to access /bluditnew.ru/bl-plugins/ckeditor/libsilemanagerdialog.php on this server.
Apache/2.4.23 (Win32) PHP/5.6.25 Server at localhost Port 80
Do "Browse Server" and see:
Forbidden
You don't have permission to access /bluditnew.ru/bl-plugins/ckeditor/libsilemanagerdialog.php on this server.
Apache/2.4.23 (Win32) PHP/5.6.25 Server at localhost Port 80
- Where does this character come from when copying the message?
the right way:
/bluditnew.ru/bl-plugins/ckeditor/libs/filemanager/dialog.php
But it turns out
/bluditnew.ru/bl-plugins/ckeditor/libs(none slash and "f")ilemanager(none slash)dialog.php

Abracadabra is some, not the way ;)
User avatar
Edi
Site Admin
Posts: 3120
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

What do you use for the local server environment on your PC? WAMP? XAMPP?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
Edi
Site Admin
Posts: 3120
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

In the meantime I'm able to reproduce the error with WAMP.

The problem could be that the path is handled as external path.

You can try to modify the file config.php in the directory /ckeditor/libs/filemanager.

This is a reason why it makes no sense to setup a local installation without knowing how to tweak the server. And my understanding of server setups is very limited. :twisted:

Concerning other solutions: Be aware that a filemanager could be a security issue. Therefore I do not recommend to use an abandoned project.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
Fred
Legend Bludit
Posts: 236
Joined: Wed Jun 24, 2015 2:14 pm
Location: France
Contact:

Plugin update, read first post.
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
User avatar
Edi
Site Admin
Posts: 3120
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Another great update! :-)

Just one thing: en_US.json has to be renamed to en.json.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
oldteacher
Sr. Bludit
Posts: 37
Joined: Mon Jan 25, 2016 5:46 pm

Plugin update, read first post.
Outstanding, thank you!

Love CKEditor because it is so flexible.
Post Reply