FCKEditor PHP Help!

Discussion in 'PHP' started by Handsofmodder, Aug 12, 2008.

  1. #1
    Hi! I'm try to use FCKeditor free text editor for my website but when I run the following code

    <?php
    include_once("fckeditor/fckeditor.php");
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Dynamic Website Test</title>
    </head>
    <body>
    <a href="index.php" target="_self" >Home</a>
    <a href="post.php" target="_self" >Post New Article</a>
    <a href="register.php" target="_self" >Create New Account</a>
    </body>
    </html>
    Code (markup):
    I always get this error
    Can anyone please help me?
     
    Handsofmodder, Aug 12, 2008 IP
  2. lukemeister

    lukemeister Peon

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    From the looks of it, you're not linking to the file correctly in your include statement... maybe try messing with your include path to make sure that the file is referenced correctly? Or, on second thought, is the fckeditor file actually uploaded to the path you are referencing?
     
    lukemeister, Aug 12, 2008 IP
  3. Jasber

    Jasber Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What is on fckeditor.php on line 31? I assume its:

    include_once('fckeditor_php5.php');
    PHP:
    In which case you should make sure that file actually exists.
     
    Jasber, Aug 12, 2008 IP