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!

Link to comment
Share on other sites

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() ;

?>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.