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

User avatar
oldteacher
Sr. Bludit
Posts: 37
Joined: Mon Jan 25, 2016 5:46 pm

Firstly, thank you for the plugin!

Having some issues. First time user of Bludit so most likely something I am missing... Images are not being uploaded to correct directory, BUT can see them in filemanager???

I installed the latest version of ckeditor and activated. Seems I am having some path issues when uploading images. Have checked the site URL in advanced and that looks fine.

Seeing error log generated with entries like:

Code: Select all

[25-Jan-2016 10:42:15 America/Chicago] buildPage | Error occurred when trying build the page from file with key: bl-plugins/ckeditor/libs/ckeditor/skins/flat/skin.js
[25-Jan-2016 10:44:46 America/Chicago] buildPage | Error occurred when trying build the page from file with key: bl-content/uploads/wpcp_350.jpg
I attempted to tweak the ckeditor/filemanager config file just to see what happens. Since the upload_dir = content/uploads, tried bl-content/uploads/ and that of course did not work.

But do see a folder was created called "content" with folder "uploads" within it?

This is what my folder looks like:
2016-01-25_110046.png
2016-01-25_110046.png (14.53 KiB) Viewed 28102 times
Any idea what could be going wrong for me?

Thanks again,

Susan

EDIT: Just confirmed for sure, images are being uploaded to the /content/uploads/ folder and not the /bl-content/uploads folder. Reinstalled the plugin to be positive have the latest 1.0.1 version updated on 2016-01-25
Last edited by oldteacher on Mon Jan 25, 2016 6:43 pm, edited 2 times in total.
dirtdiver2010
Master Bludit
Posts: 129
Joined: Fri Jan 15, 2016 6:07 pm
Has thanked: 1 time
Been thanked: 3 times

The Plugin was updated 5 hour ago. Did you test it with this version
https://github.com/dignajar/bludit-plugins
User avatar
oldteacher
Sr. Bludit
Posts: 37
Joined: Mon Jan 25, 2016 5:46 pm

dirtdiver2010 wrote:The Plugin was updated 5 hour ago. Did you test it with this version
https://github.com/dignajar/bludit-plugins
Thanks for reply!

Yes that is the one I have. Just installed Bludit few hours ago for first time so thinking I have all the latest releases.

EDIT: Just confirmed for sure, images are being uploaded to the /content/uploads/ folder and not the /bl-content/uploads folder. Reinstalled the plugin to be positive have the latest 1.0.1 version updated on 2016-01-25
User avatar
Fred
Legend Bludit
Posts: 236
Joined: Wed Jun 24, 2015 2:14 pm
Location: France
Contact:

Sorry i forget this new path bl-content, try to download again is done ;)
╰☆╮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
oldteacher
Sr. Bludit
Posts: 37
Joined: Mon Jan 25, 2016 5:46 pm

Fred wrote:Sorry i forget this new path bl-content, try to download again is done ;)
Thanks Fred!

Still have issue. I had attempted to correct the path in filemanger config myself (lines 71,81 & 92) and results were wrong path:

/bl-bl-content/uploads/

This appears is what you corrected?

Still wrong path with your update as I am getting:

/bl-bl-content/uploads/

Seems to be adding "bl-" from some other place.
User avatar
oldteacher
Sr. Bludit
Posts: 37
Joined: Mon Jan 25, 2016 5:46 pm

Fred wrote:Sorry i forget this new path bl-content, try to download again is done ;)
This is what I get after updating to the latest:
2016-01-26_061029.png
2016-01-26_061029.png (50.21 KiB) Viewed 28060 times
Note the "bl-bl-content".

Any ideas? Love to get working and use in my classroom project.
acrox999
Sr. Bludit
Posts: 30
Joined: Wed Jan 13, 2016 10:35 am
Location: /dev/null

Hi, I've fixed it. Thumbnails and previews are showing fine both inside Filemanager and CKeditor.
Images are also loaded properly now. I also have no idea where the extra 'bl-' comes from when it's not supposed to be there,
but it works now.

Maybe it was unintended to be there, but until there's a reason why the extra 'bl-' is there, this will do.

https://github.com/dignajar/bludit-plugins/pull/36

Although I think the actual problems lies in the base_url, when setting it with $base. Maybe it returns as "http://example.com/bl-" ?

EDIT: Yes, it seems that the problem lies the base url, defined by $base. A workaround right now is as I proposed. But a better fix would be at the base_url itself.
User avatar
oldteacher
Sr. Bludit
Posts: 37
Joined: Mon Jan 25, 2016 5:46 pm

Thank you much! That seemed to work for me. Hopefully it will all get worked out so future users do not get sore foreheads from banging them on desk:) Appreciate it much.
acrox999 wrote:Hi, I've fixed it. Thumbnails and previews are showing fine both inside Filemanager and CKeditor.
Images are also loaded properly now. I also have no idea where the extra 'bl-' comes from when it's not supposed to be there,
but it works now.

Maybe it was unintended to be there, but until there's a reason why the extra 'bl-' is there, this will do.

https://github.com/dignajar/bludit-plugins/pull/36

Although I think the actual problems lies in the base_url, when setting it with $base. Maybe it returns as "http://example.com/bl-" ?

EDIT: Yes, it seems that the problem lies the base url, defined by $base. A workaround right now is as I proposed. But a better fix would be at the base_url itself.
User avatar
Fred
Legend Bludit
Posts: 236
Joined: Wed Jun 24, 2015 2:14 pm
Location: France
Contact:

Update to Ckeditor 4.5.7 + RESPONSIVE filemanager v.9.9.7. Ready to Bludit 1.1.2
╰☆╮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:
ravilr
Jr. Bludit
Posts: 2
Joined: Tue Mar 15, 2016 6:38 pm

WELCOME HACKER :D

Code: Select all

http://bluid/bl-plugins/ckeditor/libs/filemanager/dialog.php?type=1&editor=ckeditor&fldr=&CKEditor=jscontent&CKEditorFuncNum=1&langCode=ru
use privat key in config setting

and

plugin do not work in localhost (Openserver)
DS constant in windows "\"
in plugin should be '/'
Post Reply