include_CuteEditor.php error

Last post 01-13-2009, 5:38 PM by realto619. 1 replies.
Sort Posts: Previous Next
  •  01-13-2009, 4:43 PM 47707

    include_CuteEditor.php error

    I keep getting the following error when I try to get the editor to work on my live website:
     
    PHP Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/vhosts/meetmybiz.com/httpdocs/content/CuteEditor_Files/include_CuteEditor.php on line 5
     
    <?php
    error_reporting(E_ALL ^ E_NOTICE);

    class CuteEditor
    {
      public $AccessKey; // line 5
      public $BackColor;
      public $BorderStyle;
      public $BorderWidth;
      public $BorderColor;

     It works fine on my dev site
  •  01-13-2009, 5:38 PM 47712 in reply to 47707

    Re: include_CuteEditor.php error

    Nevermind... The problem is that my live server is running PHP 4 and it needs PHP 5!
View as RSS news feed in XML