Uploaded File Size is 0B

Last post 03-08-2011, 4:34 AM by martinoleary. 2 replies.
Sort Posts: Previous Next
  •  03-02-2011, 5:38 AM 66506

    Uploaded File Size is 0B

    Hi,
     
    I'm using the uploader, but when I do the file size is coming out as 0B.
     
    This is happening when using an image size of 61KB, it works using the same file resized to 11KB.
      
    The editor is install on a Ubuntu server using PHP 5.2.4 
     
    The file size also seems to be 0B in the /tmp/uploadertemp/ directory.
     
    I get one script warning loading the demo:
    Resource interpreted as script but transferred with MIME type application/oct-stream. 
     
    and after running the upload I get an error:
    failed to load resource: ajaxuploaderreource.php
     
    I also get these errors when the upload is successful with the smaller file.
     
    Any suggestions welcome.
     
    Thanks,
    Martin. 
  •  03-02-2011, 9:37 PM 66522 in reply to 66506

    Re: Uploaded File Size is 0B

    Hi martinoleary,
     
    Can you reproduce this issue on our demo http://phphtmledit.com/EnableAll.php?
     
    If it works for you, please download the latest version and try again.
     
    Latest version download: http://phphtmledit.com/download/phphtmledit.zip
     
    If you still get the same issue, please send the test page url to [email protected], I will check it and get back to you as soon as possible.
     
    Regards,
     
    ken
  •  03-08-2011, 4:34 AM 66585 in reply to 66522

    Re: Uploaded File Size is 0B

    This was a server configuration issue.
     
    hardened-PHP is installed on the server and the request and post file sizes were limited.
     
    configuration in the suhosin.ini file, increased these variables and all is working.
     
    was hard to catch as there was no error showing on the editor side of things.
     
    Thanks.
View as RSS news feed in XML