I'm just starting with this so please be kind. I use Dreamweaver and installed FCKeditor in the root of the site. The sample pages come up fine. I have not been able to get the pages working if I move them to another directory. I read the installation instructions and changed the include and basepaths as follows:
include("/FCKeditor/editor/fckeditor.php") ;
$oFCKeditor->BasePath = '/FCKeditor/editor/';
This does not work. I get this error:
Warning: include(/FCKeditor/editor/fckeditor.php) [function.include]: failed to open stream: No such file or directory in /Users/davidbarrack/Sites/NadolneWeb/PatientPages/fckTEST.php on line 278
Similarly when I try to instantiate the editor with $oFCKeditor = new FCKeditor('FCKeditor1') ; I get this error:
Fatal error: Call to undefined method stdClass::Create() in /Users/davidbarrack/Sites/NadolneWeb/PatientPages/fckTEST.php on line 305
Any help is appreciated. I think I am just missing something with establishing paths. This looks like a great tool and having it work within Dreamweaver will be great.
include("/FCKeditor/editor/fckeditor.php") ;
$oFCKeditor->BasePath = '/FCKeditor/editor/';
This does not work. I get this error:
Warning: include(/FCKeditor/editor/fckeditor.php) [function.include]: failed to open stream: No such file or directory in /Users/davidbarrack/Sites/NadolneWeb/PatientPages/fckTEST.php on line 278
Similarly when I try to instantiate the editor with $oFCKeditor = new FCKeditor('FCKeditor1') ; I get this error:
Fatal error: Call to undefined method stdClass::Create() in /Users/davidbarrack/Sites/NadolneWeb/PatientPages/fckTEST.php on line 305
Any help is appreciated. I think I am just missing something with establishing paths. This looks like a great tool and having it work within Dreamweaver will be great.
Re: Basic installation question - I think I have a path issue
Try changing it to: include('/Users/davidbarrack/Sites/NadolneWeb/FCKeditor/editor/fckeditor.php'); (or whatever your root is) and see what happens.