Strange Error When Editing or Adding Pages - With HTML in Pages

  •  09-17-2009, 3:53 PM

    Strange Error When Editing or Adding Pages - With HTML in Pages

    Hello,
     
    I am using CuteEditor for my Content Management System. There is a "Pages Module" that we use to manage all the pages for any given website. The problem that I am having  is that when I add or edit certain pages with HTML code within them it does not update the database. It will update every other field except the textarea field used by CuteEditor. If I do the same thing on the same server with no HTML inside the pages it updates no problem. Also, the same thing happens if you try to add a page with the HTML in it.
     
    View the CMS at http://crm.ktechconsult.com/ecmsw/administrator/index.php
    Login with username "ceditor" and password "ceditor".
     
    Click "Pages" and view the list of pages. Click edit on  "News and Events Page". Then add something in maybe a number or some text at the top of the page and submit. Click edit again to view the page and you will see the changes did not work. This happens on other pages as well.
     
    Try the same thing on "Test Page" at the bottom. It updates just fine. 

    I have tried everything in the book to solve this problem. Now I am looking for help!
     
    Here is the code used for the "Edit Page" editor.
     
     <?php
                 $PageText2 = $req_page_info["PageText"];
                       $editor=new CuteEditor();
                       $editor->ID="PageText";
                       $editor->Text="$PageText2";
                       $editor->FilesPath="ceditor";
                       $editor->ResizeMode="ResizeCorner";
                       $editor->AutoConfigure="Default";
                       $editor->XHTMLOutput=true;
                       $editor->EditorWysiwygModeCss="../themes/default/css/stylesheet.css";
                       $editor->BreakElement="P";
                       $editor->Width="768";
                       $editor->Height="450";
                       $editor->RemoveTBODYTag=true;
                       $editor->Draw();
                       $editor=null;
                       //use $_POST["PageText"]to catch the data
                ?>
    This is very important because we purchased the $400 license to use the editor for our CMS for many different servers!
     
    An help appreciated,
    Adam
View Complete Thread