Jump to content

Problem with integrating FCKeditor to a PHP page


Recommended Posts

Hi guys:

 

I have a question on how to integrate the FCKeditor to my PHP page.

 

I downloaded the latest release and integrated it to my PHP page inside a form.  While doing this, I followed the instruction very closely.  I think their instruction is straightforward and simple but I have a feeling that the FCKeditor development team missed something in their instruction.  Anyway, this is the error message I received:

 

Not Found

The requested URL /fckeditor/editor/fckeditor.html was not found on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

Any ideas ?  Thanks a lot!

hi

 

try this:

check the BaePath. It was '/fckeditor/'.

<?php

include_once("fckeditor/fckeditor.php") ;

$oFCKeditor = new FCKeditor('FCKeditor1') ;

$oFCKeditor->BasePath = 'fckeditor/' ;

$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;

$oFCKeditor->Create() ;

?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.