https://bugzilla.wikimedia.org/show_bug.cgi?id=29147

       Web browser: ---
             Bug #: 29147
           Summary: Receive "undefined variable" error in Apache error log
                    when uploading a 2G file via http url
           Product: MediaWiki
           Version: 1.16.5
          Platform: Other
        OS/Version: Solaris
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Uploading
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


When attempting to upload a 2G file via the Special:Upload page, the upload
hangs, and I see the following in my Apache error_log:

Wed May 25 20:48:28 2011] [error] [client 10.10.20.227] PHP Notice:  Undefined
variable: errornum in /opt/cfgadmin/wiki/includes/upload/UploadFromUrl.php on
line 116, referer: https://cfgmgtwiki.tanagerinc.com/index.php/Special:Upload

No message appears in the browser, the browser stops trying to access the file
to be uploaded from the URL provided after 10 seconds.

Uploading of smaller files using this page works fine, this problem only
occurred on a 2G file that I attempted to upload

This problem does not occur when attempting to upload a file via the browser
from my local hard drive.

I hacked the code to return the curl error number, which is 28.  This error
only occurs when attempting to pull a 2G file from a http:// URL.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to