I think this is simply a path problem. If I go to the sample pages installed on my server they work fine. When I try to install on a page outside the fckeditor folder I get a 404 error.
I tried getting the basepath this way: echo $_SERVER["DOCUMENT_ROOT"].'/fckeditor/'; but when I use the result it doesn't work.
The page I want it to work on is simply outside the fckeditor folder. I create a test page like this:
<form action="" method="post" >
<?php
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = '/fckeditor/' ;
$oFCKeditor->Value = '<p>Sample text.</p>' ;
$oFCKeditor->Create() ;
?>
<p><input type="submit" value="Submit"></p>
</form>
But it doesn't work. Do I need to do something with the config.js file?
Thanks in advance for any help.
—steve
I tried getting the basepath this way: echo $_SERVER["DOCUMENT_ROOT"].'/fckeditor/'; but when I use the result it doesn't work.
The page I want it to work on is simply outside the fckeditor folder. I create a test page like this:
<form action="" method="post" >
<?php
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = '/fckeditor/' ;
$oFCKeditor->Value = '<p>Sample text.</p>' ;
$oFCKeditor->Create() ;
?>
<p><input type="submit" value="Submit"></p>
</form>
But it doesn't work. Do I need to do something with the config.js file?
Thanks in advance for any help.
—steve
Re: Very frustrated - cannot get this working!
did you find your problem, because I'm not getting it working ..
Doing the same as you and only error messages..
it's not so simple after all..
didier