Strange Error on all upload dialog boxes

Last post 09-13-2009, 12:23 PM by joshprewitt. 2 replies.
Sort Posts: Previous Next
  •  09-12-2009, 10:35 AM 55579

    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?
  •  09-13-2009, 12:53 AM 55581 in reply to 55579

    Re: Strange Error on all upload dialog boxes

    Please change
     
    $data=(binary)base64_decode($filedata);

     to
     
    $data=base64_decode($filedata);
    Then try again.
     
    Or download the control again.

    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

  •  09-13-2009, 12:23 PM 55590 in reply to 55581

    Re: Strange Error on all upload dialog boxes

    Perfect - Thanks!
View as RSS news feed in XML