Hi
it seems i can't get fckeditor to work properly.
i installed it in the webroot /FCKeditor
when i want to use fkceditor.php i put in the file include("../../FCKeditor/fckeditor.php");
and then i get
Not Found
The requested URL /ts/cms/fckeditor.html was not found on this server, but the BasePath is explicitly in fckeditor.php FCKeditor. Yet it looks for fckeditor.html in /ts/cms/
Does someone know what the problem is?
it seems i can't get fckeditor to work properly.
i installed it in the webroot /FCKeditor
when i want to use fkceditor.php i put in the file include("../../FCKeditor/fckeditor.php");
and then i get
Not Found
The requested URL /ts/cms/fckeditor.html was not found on this server, but the BasePath is explicitly in fckeditor.php FCKeditor. Yet it looks for fckeditor.html in /ts/cms/
Does someone know what the problem is?
RE: can't get it to work
$FCKeditorBasePath = "/FCKeditor/" ;
If you have the HTML file in the same directory then change the above to:
$FCKeditorBasePath = "" ;
Then it will find it
RE: can't get it to work
Yet it still tries to find /ts/cms/fckeditor.html instead of /FCKeditor/fckeditor.html
RE: can't get it to work
print("FCKeditorBasePath : ".$FCKeditorBasePath."<br />");
the output is ok (FCKeditorBasePath : /FCKeditor/<br />).
and in the source of the formatted page i find this:
<IFRAME src="fckeditor.html?FieldName=EditorDefault" width="100%" height="150" frameborder="no" scrolling="no"></IFRAME>
as you can see there is no path before fckeditor.html
RE: can't get it to work
i try to print the sLink variable in fckeditor.php and i don't succeed in that although i made it global in both functions.
does anyone (john?) have a clue?
RE: can't get it to work
I have done a test where I have my directory structure as:
/fckeditor/fckeditor/
in which I have the files
test.php
fckeditor.php
fckeditor.html
my URL is:
http://mydomain/fckeditor/fckeditor/test.php
my path is set at:
$FCKeditorBasePath = "/FCKeditor/Fckeditor/"
Because the editor Base Path is the same as from teh domain to the fckeditor.html file.
Whats yours?
RE: can't get it to work
i have a directory:
/FCKeditor
with the files
fckeditor.php
fckeditor.html
you can check these at http://www.sarnix.nl/FCKeditor/
you can see the test.php at
http://www.sarnix.nl/FCKeditor/_test/test.php
which works fine
my path
$FCKeditorBasePath = "/FCKeditor/";
but i want to use it in page http://www.sarnix.nl/ts/cms/tours.php which is protected by .htaccess and uses a function to include fckeditor.php and should fill the textarea with text from the database.
thanks for your patience john
RE: can't get it to work
RE: can't get it to work
I'm so glad it works now.
Thanks John for bearing with me and helping me out.