Hi All,
There is some fundamental requirement that I am missing. Does the installation of CKFinder and it's integration into CKEditor depend upon server access or can the files be accessed through the file url - as in /Users/myName/myProject/web/ckfinder/userfiles?
I have integrated CKFinder into CKEditor - followed the directions and it comes up with the following error:
[JavaScript Application]URL requested: "file:///Users/johnbrinnand/Documents/workspace/asi-dojo-test/web/javascript/ckfinder/core/connector/php/connector.php?command=Init&langCode=en" Server response: Status: 0 Response text: <?php
And it gives me the listing of connector.php?!!
Here is the environment:
PHP 5.3.1 (cli) (built: Feb 11 2010 02:32:22)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
Firefox Version: 3.6.3
Mac OS X 10.6.3 (10D573)
CKFinder V 1.4.3
CKEditor 3.2.1
The configuration in config.php is:
$baseUrl = '/userfiles/'; (Note: I have tried /ckfinder/userfiles/ - it makes no difference. require_once../../../config.php'; (Note: added for good measure, but it makes no difference $baseDir = '/Users/<myName>/<myPath>/web/javascript/ckfinder/userfiles/'; function CheckAuthentication() { return true; /* not good practice but used for testing only. */ }
php settings
safe_mode => Off => Off safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value GD Support => enabled GD Version => bundled (2.0.34 compatible)
I have tested this with Safari and Firefox and in both cases they try to read the php files instead of execute them!
I know this is fundamental - what am I missing?
Thanks in advance for any help,
John
Re: CKFinder integration failing
John