Cannot get CuteEditor for php to work.

Last post 02-26-2008, 10:33 AM by frankcarman. 3 replies.
Sort Posts: Previous Next
  •  02-26-2008, 9:45 AM 37359

    Cannot get CuteEditor for php to work.

    Here is a test page:
     
    <html>

    <head>
    <title>Test Editor</title>
    </head>

    <body>
    <?php
        $editor=new CuteEditor();
        $editor->ID="frank";
        $editor->Text="Type here";
        $editor->FilesPath="CuteEditor_Files";
        $editor->CustomCulture="en-en";
        $editor->Draw();
        $editor=null;
    ?>
    </body>

    </html>
     
    found at http://www.freefamilypages.com/test.php.   I've followed all the instructions for installing it and it doesn't work. Please don't tell me that you don't see the CuteEditor in the page when you go to this link and look at the source.  Only the code down to the body tag is displayed in the source from the browser.  The remaining code is not sent to the browser!  Why? I've checked php (5.1.6) on our RedHat Linux server and it's working fine with test scripts. I have my license file in place as per instructions. The CuteEditor_Files directory is off of root (public_html) as it should be.  The editor simply doesn't work. Why?

  •  02-26-2008, 10:12 AM 37360 in reply to 37359

    Re: Cannot get CuteEditor for php to work.

    frankcarman,
     
    Have you included the CuteEditor class file in the page before you create a new CuteEditor class object?
     
    <?php include_once("CuteEditor_Files/include_CuteEditor.php") ; ?>
    <html>

    <head>
    <title>Test Editor</title>
    </head>

    <body>
    <?php
        $editor=new CuteEditor();
        $editor->ID="frank";
        $editor->Text="Type here";
        $editor->FilesPath="CuteEditor_Files";
        $editor->CustomCulture="en-en";
        $editor->Draw();
        $editor=null;
    ?>
    </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

  •  02-26-2008, 10:29 AM 37361 in reply to 37360

    Re: Cannot get CuteEditor for php to work.

    Thanks, that worked, however I then got a message "The License for Editor is not valid".  I know I have a valid license.  How do I correct this situation?
     

  •  02-26-2008, 10:33 AM 37362 in reply to 37361

    Re: Cannot get CuteEditor for php to work.

    Never mind.  I checked the license file and discovered I had the wrong permissions.  It's now fixed.  Thanks for the help.
     

View as RSS news feed in XML