[wp-trac] [WordPress Trac] #19115: Attempting to upload a too-large theme gives a confusing error message

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 13 15:30:07 UTC 2011


#19115: Attempting to upload a too-large theme gives a confusing error message
--------------------------+------------------------------
 Reporter:  ariehkovler   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  3.2.1
 Severity:  minor         |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------
Changes (by kurtpayne):

 * cc: kpayne@… (added)
 * keywords:  needs-patch => close


Comment:

 This seems to be a failure from [http://us2.php.net/move_uploaded_file
 move_uploaded_file()] not a failed upload due to any sort of upload /
 memory limits.  When a file is uploaded, it is first uploaded to a
 temporary folder / name (e.g. /tmp/upload1234) then the php app (in this
 case !WordPress) has to move the file to the desired location (e.g.
 /var/www/html/wp-content/uploads/...).  This step is failing for some
 reason.

 Check the notes on the php page for move_uploaded_file for tips on how to
 troubleshoot this on your server.

 The error message is accurate.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19115#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list