• Resolved Senador25

    (@senador25)


    Hi Everyone.

    Neat Plugin.
    I’m using a 1&1 shared hoster and this plugin to upload big files to my server. After some fiddling I got it to run in ftp mode but I have problems to upload files bigger ~120MB.

    I uploaded a 119MB file just fine. But a 137MB file showed some strange behaviour.
    http://s3.postimg.org/f25fjzfg3/consoleoutput.jpg
    Around 20MB the upload simply reset. Than it run up to around 20MB again and stops there.

    Might not have anything to do with it. I got a few warnings but since I got them with sucessful upload too I ignored them.

    Warning: filesize(): stat failed for any in /homepages/17/d41704198/htdocs/webFTP/wp-content/plugins/wp-file-upload/lib/wfu_processfiles.php on line 160

    Warning: filesize(): stat failed for any in /homepages/17/d41704198/htdocs/webFTP/wp-content/plugins/wp-file-upload/lib/wfu_processfiles.php on line 161

    Warning: filesize(): stat failed for any in /homepages/17/d41704198/htdocs/webFTP/wp-content/plugins/wp-file-upload/lib/wfu_processfiles.php on line 177

    On a side note:
    Few other things I notice. FTP mode resets permission on the folder it saves the file. I tracked the iusse to the following file:
    wfu_io.php
    You use this two lines to make the folder writeable, save the file and than write the old permission back. But $targer_perms isn’t filled with my server. Anyone else noticed this bug ?
    $target_perms = substr(sprintf(‘%o’, fileperms(dirname($target))), -4);
    ftp_chmod($conn_id, $target_perms, dirname($target));

    https://ww.wp.xz.cn/plugins/wp-file-upload/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author nickboss

    (@nickboss)

    Hi,

    Regarding the first issue, I cannot understand what is wrong. Please set debugmode=”true” in the shortcode and try uploading again. Send me any debug messages that you may see.

    Regarding the “filesize(): stat failed” warning, I see it first time. How did you see these warnings? If filesize function failed, it probably means that there was a problem with an uploaded file.

    Regarding the permissions issue, this is probably a bug. Thanks for noticing. I will fix it.

    Nickolas

    Thread Starter Senador25

    (@senador25)

    Thanks for the anwser. The debug mode is already on.

    Firefox simply stops.

    Chrome throws a
    “Failed to load resource: net::ERR_CONNECTION_RESET”
    http://s1.postimg.org/etibwkzin/chrome.jpg

    Internet Explorer throws a:
    “SCRIPT7002: XMLHttpRequest: Netzwerkfehler 0x2eff, Der Vorgang konnte aufgrund des folgenden Fehlers nicht fortgesetzt werden: 00002eff”
    http://s29.postimg.org/caxw6yvqv/explorer.jpg

    I deactivated FTP Mode for now. And remember. Everything under ~120 MB seems to work fine.
    I could email you a login so you can try yourself. To [email protected]?

    Plugin Author nickboss

    (@nickboss)

    Hi,

    if you deactivate ftp, does it work? Yes send it to that email.

    Nickolas

    Thread Starter Senador25

    (@senador25)

    No. Problem persist

    Plugin Author nickboss

    (@nickboss)

    can you send me the shortcode to check?

    Thread Starter Senador25

    (@senador25)

    [wordpress_file_upload uploadpath=”../kunden/%username%” maxsize=”249″ createpath=”true” showtargetfolder=”true” adminmessages=”true” debugmode=”true” placements=”title/filename+selectbutton+uploadbutton/subfolders/progressbar/userdata/message”]

    Please don’t use the fileupload from fileaway.

    Plugin Author nickboss

    (@nickboss)

    If you have the free version you cannot upload very big files, because there are time and size limits imposed by the web server. You can try to adjust them by changing some php variables (you need to put these in your .htaccess file, or change php.ini if you have access to it):

    php_value upload_max_filesize 20M
    php_value post_max_size 20M
    php_value max_execution_time 200
    php_value max_input_time 200

    (put the values that fit to your needs)

    It is not certain that this will work because some web server do not allow you to do so. You can try.

    If you do not succeed, then you have the option to go for the Pro version. The Pro version uses another technique to upload files (chunked upload) and it overcomes web server restrictions.

    Best Regards

    Thread Starter Senador25

    (@senador25)

    We already did that. That’s why I’m able to upload 120 MB files without a problem. It’s not a filesize problem perse.

    I send you the login data by your contact form from your website and you can test it for yourself.

    Thread Starter Senador25

    (@senador25)

    Erm. Actually this problem isn’t really “resolved”. So marking this thread as “resolved” is technical speaking wrong. The Bug still persist. But your tried so we can leave it at this.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Upload Problem File Size >~ 120 MB’ is closed to new replies.