Urgent: Empty content being replace by whole page

Last post 07-21-2008, 3:36 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  07-21-2008, 3:08 PM 42411

    Urgent: Empty content being replace by whole page

    Hi, using the editor in a blog message in our CMS I run into the problem that the content of the editor, which should initially be empty is being replaced by the entire page...which contains an editor whose content is the entire page...which contains...and on and on.
     
    Any idea what may cause this?
     
    I have the editor created via a grace function so I can just say:
     
    $form->addField(new vgCuteEditor('$ID', '$ENTRY', '$HELP', '$WIDTH', '$HEIGHT');
     
    In this instance the variable $ENTRY is empty, but when the page is rendered it is being replace by the page contents.
    If I view page source the textarea is correctly empty.
     
    See link below for contents of CuteEditor in page. 

    This is rather urgent so if I need to contact you another way let me know. We own a Redistribution License.
     
    Thanks,
    Paul
  •  07-21-2008, 3:36 PM 42412 in reply to 42411

    Re: Urgent: Empty content being replace by whole page

    Paul,
     
    Can you save the following code into a PHP file and run it on your server?
     
    <?php include_once("CuteEditor_Files/include_CuteEditor.php") ; ?>
    <html> 
        <head>
     </head>
      <body>
     <form name="theForm" action="/Get_HtmlContent.php" method="post">
      <div align="center">
       
              <?php
                    $editor=new CuteEditor();
                    $editor->ID="Editor1";
                    $editor->Text="Hello World";  
                    $editor->FilesPath="CuteEditor_Files";
                    $editor->Draw();
                    $editor=null;
                   
                    //use $_POST["Editor1"]to catch the data
                ?>
      </div>
      </form>
     </body>
    </html>

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML