M
M
michael ivanov2015-07-18 12:18:06
Django
michael ivanov, 2015-07-18 12:18:06

Django wysiwyg cked together with elfinder doesn't work for some reason(Who can help?

In the admin panel, when I add an article to cked, I click:
Image->Browse Server-- then a new window opens with this url: localhost:6660/cked/elfinder/?CKEditor=id_full_sto...
In the terminal, it displays this:
[17 /Jul/2015 05:22:46]"GET /admin/blog/article/1/ HTTP/1.1" 200 26915
[17/Jul/2015 05:22:46]"GET /files/admin/css/forms. css HTTP/1.1" 304 0
[17/Jul/2015 05:22:46]"GET /files/admin/js/SelectBox.js HTTP/1.1" 304 0
[17/Jul/2015 05:22:46]" GET /files/cked/ckeditor/ckeditor.js HTTP/1.1" 304 0
[17/Jul/2015 05:22:46]"GET /files/admin/js/SelectFilter2.js HTTP/1.1" 304 0
[17/ Jul/2015 05:22:46]"GET /files/admin/js/related-widget-wrapper.js HTTP/1.1" 304 0
[17/Jul/2015 05:22:46]"GET /files/admin/js/calendar.js HTTP/1.1" 304 0
[17/Jul/2015 05:22:46]"GET /files/admin/css/widgets.css HTTP/1.1" 304 0
[17/Jul/2015 05:22:46]"GET /files/admin/js /admin/DateTimeShortcuts.js HTTP/1.1" 304 0
[17/Jul/2015 05:22:46]"GET /admin/jsi18n/ HTTP/1.1" 200 13309
[17/Jul/2015 05:22:46]" GET /files/cked/ckeditor/config.js?t=E7KD HTTP/1.1" 304 0
[17/Jul/2015 05:22:46]"GET /files/cked/ckeditor/skins/moono/editor.css? t=E7KD HTTP/1.1" 304 0
[17/Jul/2015 05:22:46]"GET /files/admin/img/icon_deletelink.gif HTTP/1.1" 304 0
[17/Jul/2015 05:22:46 ]"GET /files/cked/ckeditor/lang/en.js?t=E7KD HTTP/1.1" 304 0
[17/Jul/2015 05:22:46]"GET /files/admin/img/icon_calendar.gif HTTP /1.1" 304 0
[17/Jul/2015 05:22:46]"GET /files/admin/img/icon-unknown.gif HTTP/1.1" 304 0
[17/Jul/2015 05:22:46]"GET /files/admin/img/selector-icons.gif HTTP/1.1" 304 0
[17/Jul/2015 05:22:46]"GET /files/admin /img/selector-search.gif HTTP/1.1" 304 0
[17/Jul/2015 05:22:46]"GET /files/cked/ckeditor/styles.js?t=E7KD HTTP/1.1" 304 0
[17 /Jul/2015 05:22:46]"GET /files/cked/ckeditor/skins/moono/icons.png HTTP/1.1" 304 0
[17/Jul/2015 05:22:46]"GET /files/cked /ckeditor/contents.css?t=E7KD HTTP/1.1" 304 0
[17/Jul/2015 05:22:53]"GET /files/cked/ckeditor/skins/moono/dialog.css?t=E7KD HTTP/ 1.1" 304 0
[17/Jul/2015 05:22:53]"GET /files/cked/ckeditor/plugins/image/dialogs/image.js?t=E7KD HTTP/1.1" 304 0
[17/Jul/2015 05:22:53]"GET /files/cked/ckeditor/skins/moono/images/close.png HTTP/1.1"304 0
[17/Jul/2015 05:22:53]"GET /files/cked/ckeditor/skins/moono/images/refresh.png HTTP/1.1" 304 0
[17/Jul/2015 05:22:53]"GET /files/cked/ckeditor/skins/moono/images/lock.png HTTP/1.1" 304 0
[17/Jul/2015 05:24:41]"GET /cked/elfinder/?CKEditor=id_full_story&CKEditorFuncNum=1&langCode=en HTTP /1.1" 200 2202
[17/Jul/2015 05:24:41]"GET /cked/elfinder/cked/elfinder/css/theme.css HTTP/1.1" 404 3101
[17/Jul/2015 05:24:41 ]"GET /cked/elfinder/cked/elfinder/css/elfinder.min.css HTTP/1.1" 404 3122
[17/Jul/2015 05:24:41]"GET /cked/elfinder/cked/elfinder/js/ proxy/elFinderSupportVer1.js HTTP/1.1" 404 3155
[17/Jul/2015 05:24:41]"GET /cked/elfinder/cked/elfinder/js/elfinder.min.js HTTP/1.1" 404 3116
[17/Jul/2015 05:24:41]"GET /cked/elfinder/cked/elfinder/js/i18n/elfinder.ru.js HTTP/1.1" 404 3128
---
These lines from the terminal bother me the most:
[17/Jul/2015 05:24:41]"GET /cked/elfinder/cked/elfinder/css/theme.css HTTP/1.1" 404 3101
[17/Jul/2015 05:24:41]"GET /cked /elfinder/cked/elfinder/css/elfinder.min.css HTTP/1.1" 404 3122
[17/Jul/2015 05:24:41]"GET /cked/elfinder/cked/elfinder/js/proxy/elFinderSupportVer1.js HTTP/1.1" 404 3155
[17/Jul/2015 05:24:41]"GET /cked/elfinder/cked/elfinder/js/elfinder.min.js HTTP/1.1" 404 3116
[17/Jul/2015 05: 24:41]"GET /cked/elfinder/cked/elfinder/js/i18n/elfinder.ru.js HTTP/1.1"404 3128
Why is this directory requested twice /cked/elfinder/cked/elfinder/ ?
collectstatic - done!
Help! Really needed!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
whiteblackness, 2015-07-18
@whiteblackness

Judging by the output, you have wrong paths to static files.
As a result, the file will not be found - error 404
/cked/elfinder/cked/elfinder/ - you probably wrote /cked/elfinder somewhere in the settings once again.

Z
zelsky, 2015-07-18
@zelsky

[17/Jul/2015 05:24:41]"GET /cked/elfinder/cked/elfinder/js/i18n/elfinder.ru.js HTTP/1.1" 404 3128
o5 the image request cannot be sent because the request functions from the js file does not occur because the js file itself can see django.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question