zend framework2 - elfinder - data is not json -


to application in zend framework 2 added ckeditor , elfinder. when want add image gives me error:

invalid backend response.  data not json. 

in console have this:

<br /> <b>strict standards</b>:  variables should passed reference in <b>***/elfinder/php/elfindervolumedriver.class.php</b> on line <b>645</b><br /> {"cwd":{"mime":"directory","ts":1438003401,"read":1,"write":1,"size":0,"hash":"l1_lw","volumeid":"l1_","name":"files","date":"today 15:23","locked":1,"dirs":1},"options":{"path":"files","url":"\/assets\/dev\/plugins\/elfinder\/php\/..\/files\/","tmburl":"\/assets\/dev\/plugins\/elfinder\/php\/..\/files\/.tmb\/","disabled":[],"separator":"\/","copyoverwrite":1,"archivers":{"create":["application\/x-tar","application\/x-gzip","application\/x-bzip2"],"extract":["application\/x-tar","application\/x-gzip","application\/x-bzip2"]}},"files"[{"mime":"directory","ts":1438003401,"read":1,"write":1,"size":0,"hash":"l1_lw","volumeid":"l1_","name":"files","date":"today 15:23","locked":1,"dirs":1},{"mime":"directory","ts":1438002867,"read":1,"write":1,"size":0,"hash":"l1_dgvtca","name":"temp","phash":"l1_lw","date":"today 15:14"}],"api":"2.0","uplmaxsize":"64m"} 

edit:

on test server integrates on again: http://kodowanie.esy.es/ckeditor/ , works.

when ive loaded files application have problem.

when want add files gives me error:

invalid backend response. data not json. 

and url is:

http://***/assets/plugins/elfinder/elfinder.html?ckeditor=textarea&ckeditorfuncnum=207&langcode=pl

when refresh page works , error not appear, , url looks this:

http://***/assets/plugins/elfinder/elfinder.html?ckeditor=textarea&ckeditorfuncnum=207&langcode=pl#elf_l1_lw 

in addition, keep me logged application.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -