FLM Error: Invalid Size !1310720

Last post 03-07-2010, 7:49 PM by cutechat. 11 replies.
Sort Posts: Previous Next
  •  10-27-2009, 8:08 AM 56707

    FLM Error: Invalid Size !1310720

    Hello Team,
     
    We recently found issue with uploader tool. When we were are uploading documents we are getting the following error.
     
     FLM Error: Invalid Size !1310720
     
    What could be the problem and Can you help me on fixing this issue.
     
    Regards,
    Ram 
  •  10-27-2009, 1:49 PM 56722 in reply to 56707

    Re: FLM Error: Invalid Size !1310720

    Ram,
     
    Does it happen to all files or one particular file?
     
    Can you reproduce this issue in the following example?
     

    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

  •  10-28-2009, 1:05 AM 56728 in reply to 56722

    Re: FLM Error: Invalid Size !1310720

    Hello Adam,
     
    We found this problem in two criteria's
     
    1. Uploading .xls doucments in secured pages we are getting this alert. - Windows-Xp - Chrome.
     
    2. On Mac Leopard OS X 10.5 version for all the documents its giving the same error.
     
    Can you check for this problem and let me know the solution asap.
     
    Regards,
    Ram 
  •  10-29-2009, 5:45 AM 56768 in reply to 56728

    Re: FLM Error: Invalid Size !1310720

    Hello Adam,
     
    We suppose the error is coming from this $ps=@$_GET["_PartialStart"]; variable in include_phpuploader.php file. What is the use of that variable _PartialStart. 
     
    Regards,
    Ram 
  •  11-02-2009, 8:56 AM 56839 in reply to 56768

    Re: FLM Error: Invalid Size !1310720

    Ram ,
     
    That value is for verifying the size.
     
    You can change the code to ignore that param.
     
    But it should be zero or other value.
     
    Did you get null ?
     
    Regards,
    Terry
     
  •  11-02-2009, 11:43 PM 56856 in reply to 56839

    Re: FLM Error: Invalid Size !1310720

    Hi Terry,
     
    Yes, i am getting value null. 
     
    When i am sending document through https pages my file uploading to my temp directory with filesize 0. This doesn't happen all the time. After some debug on your code we found that there were two kinds of upload process(_Addon) i.e. "xhttp" and "upload". When i upload documents through http its using  "upload" and its working perfectly. When i am using that https pages its using "xhttp" and file size is 0 on my temp directory.

    Can you tell me the difference between "xhttp" and "upload" and in my case why its going to "xhttp" for https. 
     
    Regrads,
    Ram 
  •  11-07-2009, 9:01 PM 56957 in reply to 56856

    Re: FLM Error: Invalid Size !1310720

    Ram,
     
    Because the Flash do not support https well, so we use another way to upload the data .
     
    we call it 'xhttp' , just the name of that way.
     
    I hope you can download the last version and try again.
     
    Because the _PartialStart should not be null.
     
    What's the URL when you debug it ?
     
    Regards,
    Terry
  •  02-19-2010, 2:41 PM 58847 in reply to 56957

    Re: FLM Error: Invalid Size !1310720

    I'm having the exact same issue.  My app uploads .xls only. Fortunately, limiting upload size isn't a priority and I can do it with php.ini if need be.  It seems setting $ps to NULL seemd to clear the error, but please let me know if you create a patch for this or fix it in the next version.
     
    Thanks
  •  02-26-2010, 3:49 PM 59026 in reply to 58847

    Re: FLM Error: Invalid Size !1310720

    This did not fix the issue.  It is uploading a zero byte file.  This happens only when uploading from Windows XP using both IE7 and FireFox 3.6
     
    I have had two marathon online chat sessions with CuteSoft and gave them access to my server and xp box having the problem, with no fixes.
     
    If anyone can help please let me know.
     
    Thanks,
  •  02-27-2010, 11:14 PM 59039 in reply to 59026

    Re: FLM Error: Invalid Size !1310720

    Dear stemithy,
     
    I checked your installation, some files are missing in your installation, I uploaded those several files to your server, http://www.yourdomainname.com/fedexportalax/upfile/test.php, please replace red part with your actual domain name, I tested several times and found it work well,  please test it again, keep us posted.
     
    Regards,
    Eric 
  •  03-01-2010, 10:28 PM 59095 in reply to 59039

    Re: FLM Error: Invalid Size !1310720

    Found it!
     
    Line 833 of include_phpuploader.php "$data=base64_decode($filedata,false);"  My environment/client combonation returns that this function only takes 1 argument and there are two supplied.  We are running PHP 5.1, which I"m guessing is out of spec as there is a call to a function "error_get_last()" which is not supported until 5.2.  I'm still not entirely sure why only two particular installations of XP triggered the issue.  Reguardless, I've removed the second argument from the decode function, wrote an error_get_last, and all is working now.
     
    Thanks!
  •  03-07-2010, 7:49 PM 59220 in reply to 59095

    Re: FLM Error: Invalid Size !1310720

     
    That's great.
     
    We will find a solution to adjust the argument count automatically.
     
    Here is temp solution to disable the 'FLM' mode :
     
    $uploader->FlashUploadMode="Http"; 
     
    Regards,
    Terry
     
View as RSS news feed in XML