facing problems in implementing ckfinder in fckeditor2.5
i am facing problems when i am intergrating ckfinder with fckeditor2.5...i am confused about the url paths that has to be specified in config.php. please help
What config.php exactly did you mean? By default, FCKeditor have it's own config.php file in editor\filemanager\connectors\php\config.php, which isn't used if FCKeditor is configured to use CKFider. If you decide to use CKFinder instead of built-in file bowser, you have to adjust only the config.php file located in the ckfinder directory.
If you need any more help, please let use know what errors exactly do you get.
no, i cant run CKFinder in stand alone mode. i have gone thru the documentation for integrating CKFinder. there is one config.php in ckfinder/....do i have to do some changes in this file i have placed ckfinder folder in fckeditor/editor/ .... is this right. my application is at -> E:\SurveyLatest\SurveyApp\WebContent\resources\fckeditor\editor\ckfinder
so exactly which config.php i have to change .... could u give me thorough step by step explaination...
You can place ckfinder in almost any place you wish (as long as it is in the document root).
Take a look at the following config file: E:\SurveyLatest\SurveyApp\WebContent\resources\fckeditor\editor\ckfinder\config.php make sure that all paths you set there are correct and that you enabled CKFinder (by changing the CheckAuthentication() function).
wiktor wrote:You can place ckfinder in almost any place you wish (as long as it is in the document root).
Take a look at the following config file: E:\SurveyLatest\SurveyApp\WebContent\resources\fckeditor\editor\ckfinder\config.php make sure that all paths you set there are correct and that you enabled CKFinder (by changing the CheckAuthentication() function).
You have to launch CKFinder via web browser: start apache, IIS (or any other web server) and open it with your web browser as follows: http://localhost/path/to/ckfinder/ckfinder.html ..where "http://localhost/path/to/ckfinder/ckfinder.html" is the correct URL (not local file path) to CKFinder.
It seems to me that you have loaded CKfinder straight from your disc: probably your browser shows "D:\htdocs\ckfinder\1.1\ckfinder.html" in the address bar.
My problem is, when the FCKEditor calls the CKFinder 1.1 I have this post:
XML request error: OK (200)
URL requested:
"http://host/admin/fckeditor/editor/ckfinder/core/connector/php/connector.php?command=Init&Type=Images"
Server response:
Status: 200
Response text:
Open this link in Firefox: http://host/admin/fckeditor/editor/ckfi ... ype=Images If you see blank page, take a look at source code. If you see a blank page anyway, set error_reporting to E_ALL and turn on displaying errors or take a look at error_log file. I suppose that some PHP error occurs and because of that an empty response is being sent.
Re: facing problems in implementing ckfinder in fckeditor2.5
Does CKFinder work for you in the standalone mode?
Check out CKFinder docs:
http://docs.fckeditor.net/CKFinder/Deve ... ntegration
You should just modify the fckconfig.js file located in the fckeditor directory.
What config.php exactly did you mean?
By default, FCKeditor have it's own config.php file in editor\filemanager\connectors\php\config.php, which isn't used if FCKeditor is configured to use CKFider.
If you decide to use CKFinder instead of built-in file bowser, you have to adjust only the config.php file located in the ckfinder directory.
If you need any more help, please let use know what errors exactly do you get.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: facing problems in implementing ckfinder in fckeditor2.5
no, i cant run CKFinder in stand alone mode.
i have gone thru the documentation for integrating CKFinder.
there is one config.php in ckfinder/....do i have to do some changes in this file
i have placed ckfinder folder in fckeditor/editor/ .... is this right.
my application is at -> E:\SurveyLatest\SurveyApp\WebContent\resources\fckeditor\editor\ckfinder
so exactly which config.php i have to change .... could u give me thorough step by step explaination...
Re: facing problems in implementing ckfinder in fckeditor2.5
You can place ckfinder in almost any place you wish (as long as it is in the document root).
Take a look at the following config file:
E:\SurveyLatest\SurveyApp\WebContent\resources\fckeditor\editor\ckfinder\config.php
make sure that all paths you set there are correct and that you enabled CKFinder (by changing the CheckAuthentication() function).
Please go to the ckfinder folder and launch CKFinder in standalone mode, something similar to that should work:
http://localhost/resources/fckeditor/ed ... inder.html
As soon as you have CKFinder running, you can try to integrate it with FCKeditor.
You may use Firefox with Firebug extension to trace ajax calls, it should point you to the solution in case of any problems.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: facing problems in implementing ckfinder in fckeditor2.5
Re: facing problems in implementing ckfinder in fckeditor2.5
You have to launch CKFinder via web browser: start apache, IIS (or any other web server) and open it with your web browser as follows:
http://localhost/path/to/ckfinder/ckfinder.html
..where "http://localhost/path/to/ckfinder/ckfinder.html" is the correct URL (not local file path) to CKFinder.
It seems to me that you have loaded CKfinder straight from your disc: probably your browser shows "D:\htdocs\ckfinder\1.1\ckfinder.html" in the address bar.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: facing problems in implementing ckfinder in fckeditor2.5
HI!
I have a problem like this.
I put the CFKEditor 2.5 on the webserver, and I copied the ckfinder in that directory.
(http://host/admin/fckeditor/editor/ckfinder)
My problem is, when the FCKEditor calls the CKFinder 1.1 I have this post:
Re: facing problems in implementing ckfinder in fckeditor2.5
Open this link in Firefox:
http://host/admin/fckeditor/editor/ckfi ... ype=Images
If you see blank page, take a look at source code.
If you see a blank page anyway, set error_reporting to E_ALL and turn on displaying errors or take a look at error_log file.
I suppose that some PHP error occurs and because of that an empty response is being sent.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+