I am trying to install FCKeditor with php installation. I've followed the instructions to a tee. I know so many people have asked this but I have been googling for help for 2 hours and there is nothing out there. I would really appreciate some help as this seems like it should be a simple install. I've even checked the sample data and can't get it to work.
I keep getting this error:
Fatal error: Class 'FCKeditor' not found in /home/pat/public_html/TEST/fckForm.php on line 27
I have fckeditor installed on my linux server in a directory called TEST . So the path is root/TEST/fckeditor/fckeditor.php
Here is my code.
<?php include_once("http://www.mywebsite.net/TEST/fckeditor/fckeditor.php") ; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>FCKeditor - Sample</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="robots" content="noindex, nofollow"> <link href="../sample.css" rel="stylesheet" type="text/css" /> </head> <body> <h1>FCKeditor - PHP - Sample 1</h1> This sample displays a normal HTML form with an FCKeditor with full features enabled. <hr> <form action="sampleposteddata.php" method="post" target="_blank"> <?php $oFCKeditor = new FCKeditor('FCKeditor1') ; $oFCKeditor->BasePath = 'TEST/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() ; ?> <br> <input type="submit" value="Submit"> </form> </body> </html>