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

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

Sun Aug 13, 2017 9:13 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: 1196
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Sun Aug 13, 2017 9:27 pm

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
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
Konstantinopol
Jr. Bludit
Posts: 9
Joined: Sun Aug 13, 2017 2:41 pm

Sun Aug 13, 2017 9:35 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: 1196
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Sun Aug 13, 2017 11:17 pm

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?
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
Konstantinopol
Jr. Bludit
Posts: 9
Joined: Sun Aug 13, 2017 2:41 pm

Mon Aug 14, 2017 2:12 am

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: 1196
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Mon Aug 14, 2017 11:06 am

What do you use for the local server environment on your PC? WAMP? XAMPP?
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
Edi
Site Admin
Posts: 1196
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Mon Aug 14, 2017 11:47 am

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.
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
Fred
Legend Bludit
Posts: 303
Joined: Wed Jun 24, 2015 2:14 pm
Contact:

Sat Mar 10, 2018 9:26 pm

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: 1196
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Sat Mar 10, 2018 9:45 pm

Another great update! :-)

Just one thing: en_US.json has to be renamed to en.json.
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
oldteacher
Sr. Bludit
Posts: 38
Joined: Mon Jan 25, 2016 5:46 pm

Sat Mar 10, 2018 10:09 pm

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

Love CKEditor because it is so flexible.
Post Reply