Error message when inserting php in top of document
Hi and thanks for your reply. I added the following code into the top of my document. All the site files on the server are in a public_html folder and the CMS files are in a folder in the public_html folder.
<?php require_once("../public_html/CMS/HTMLEditor/WARichEditorPHP.php"); ?>
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("ContentValue", "../public_html/CMS/HTMLEditor/", "924px", "400px", "Custom", "../custom/contents_insert_ContentValue1.js", "".((isset($_SESSION["ContentValue"]))?$_SESSION["ContentValue"]:"") ."");
When I uploaded this I received the following message:-
The requested URL /public_html/CMS/HTMLEditor/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.
However, underneath the error message the site displayed! I checked the file path and sure enough there is no fckeditor.html in the CMS folder. What can I do about this?
Another question I have is your comment "then adding the Editor to a different page will become much easier, since you don't have to copy and paste the code from page to page."
Could you elaborate on this further for me please. I think I am almost certainly going to buy the HTML Editor but would not know what to do with it when I do. Sorry if this is obvious to you but I am new to this. I would appreciate any further help on this.