hi im trying to incorporate ckeditor + ckfinder to my project
but im getting an error when hitting the browse server button
an error message appears and no folders tree is rendered on the popup window
error :
XML request error: OK (200) Do you want to see more info? URL requested: "http://localhost:8080/centronatural/ckfinder/core/connector/php/connector.php?command=Init&type=Images&langCode=es" Server response: Status: 200 Response text: <?php
here is my code:
<ui:composition template="/templates/Admin.xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich" xmlns:t="http://myfaces.apache.org/tomahawk" xmlns:p="http://primefaces.prime.com.tr/ui"> <ui:define name="Tittle"> <h:outputText value="Correos"/> </ui:define> <ui:define name="Dynamic body"> <!-- OF COURSE YOU NEED TO ADAPT NEXT LINE TO YOUR tiny_mce.js PATH --> <script type="text/javascript" src="#{request.contextPath}/ckeditor/ckeditor.js"></script> <script type="text/javascript" src="#{request.contextPath}/ckfinder/ckfinder.js"></script> <a4j:form> <textarea name="editor1"><p>Initial value.</p></textarea> <script type="text/javascript"> var editor = CKEDITOR.replace( 'editor1' ); CKFinder.SetupCKEditor( editor, '#{request.contextPath}/ckfinder/' ); </script> </a4j:form> </ui:define> </ui:composition>
Im using java server faces, facelets, ajax,
ckeditor 3.0.1 ckfinder_php_1.4.1.1
I change the config.php file and add true to auntenticate and add the baseUrl ,baseDir
what im doing wrong? please help
Re: XML request error: OK (200)
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: XML request error: OK (200)
do I need to change my server?
Re: XML request error: OK (200)
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+