Strange Error on all upload dialog boxes

  •  09-12-2009, 10:35 AM

    Strange Error on all upload dialog boxes

    I just purchased and put up a test instance of cute editor for PHP. It seems to be working well, except it is not allowing me to upload any files. To see the problem:
     
    Go go my test site: www.joshprewitt.com
     
    Scroll to the bottom and try to add any image or media file.
     
    In the dialog box where the upload file button SHOULD be, there is a parse error:
    "Parse error: syntax error, unexpected T_STRING in /var/www/vhosts/joshprewitt.com/httpdocs/CuteEditor_Files/Dialogs/phpuploader/include_phpuploader.php on line 611"
     
    Here are lines 606-611 of that file (I haven't touched them since purchasing):
        function _HandleXhttpUpload()
        {
            $this->_fileguid=$this->_GetGuid($_GET['_AddonGuid']);
            $filedata=$_POST["filedata"];
            $filedata=preg_replace("/[\\-]/","+",$filedata);
            $data=(binary)base64_decode($filedata);

    Here is my php configuration:
    http://joshprewitt.com/phpinfo.php
     
    Any suggestions?
View Complete Thread