2017-04-08 8 views
0

나는 Drupal의 새로운 설치에 Wiris 플러그인을 설치하기 위해 this tutorial을 따랐습니다. 설치가 완료 내가 수식을 추가하는 시작하는 Wiris 아이콘을 클릭하면Drupal Wiris 통합

, 팝업 창을로드하지 않습니다 나는 콘솔 영역에서 다음과 같은 오류 얻을 다음의 원인

Uncaught DOMException: Failed to execute 'postMessage' on 'Window': Invalid target origin '/DrupalQuiz/sites/all/libraries/ckeditor/plugins/ckeditor_wiris/' in a call to 'postMessage'. 
at http://*.*.*.*/DrupalQuiz/sites/all/libraries/ckeditor/plugins/ckeditor_wiris/core/core.js:19:22 

코드를 문제는 다음과 같습니다 :

e.source.postMessage(postVariable, _wrs_conf_path); 

저는이 문제를 어떻게 다룰 것입니다.

+0

혹시 이것을 알아 냈습니까? 나는 똑같은 경험을하고있다. – Matt

+0

죄송합니다. 친구, 아직 해결책을 찾지 못했습니다. – sisko

답변

0

완전한 수정이 없지만 _wrs_conf_path을 내 devbox의 기본 경로로 바꾸면 로컬로 작업 할 수있었습니다. _wrs_conf_path은 (는) plugins 폴더의 상대 경로로 평가됩니다. /sites/all/libraries/ckeditor/plugins/ckeditor_wiris/core/core.js 파일

if (typeof(e.source) != 'undefined') { e.source.postMessage(postVariable, _wrs_currentPath); }

if (typeof(e.source) != 'undefined') { e.source.postMessage(postVariable, _wrs_conf_path); }

.

편집 : 중 하나를 _wrs_conf_path으로 바 꾸었습니다. 문제가 해결 된 것으로 보입니다.