[wp-trac] [WordPress Trac] #40445: Large file upload through XML-RPC fails with error 500

WordPress Trac noreply at wordpress.org
Wed May 3 06:30:33 UTC 2017


#40445: Large file upload through XML-RPC fails with error 500
-------------------------------------+------------------------------
 Reporter:  avibrazil                |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  XML-RPC                  |     Version:  4.7.3
 Severity:  normal                   |  Resolution:
 Keywords:  close reporter-feedback  |     Focuses:
-------------------------------------+------------------------------

Comment (by dd32):

 Replying to [comment:7 avibrazil]:
 > Replying to [comment:5 rmccue]:
 > > Your PHP error logs (not your server access logs) should reveal more
 about that.
 >
 > The PHP errors are directed to '''web server's error log'''. As I said
 before, '''not a single char is being logged here'''. This alone is a good
 enough reason to investigate, even if REST is now the new way to go.

 That's dependant upon the server configuration, PHP may even be set not to
 log anything.
 For us to proceed any further with this report it'd be great to get some
 information from you which directs us to exactly what is causing the 500 -
 we could probably reproduce, but it'd just be an assumption that we're
 hitting the same issue you are.

 You may find that adding `define( 'WP_DEBUG', true );` and/or `define(
 'WP_DEBUG_LOG', true );` to your `wp-config.php` file will be needed
 (depending on server configuration). Doing the latter should cause the PHP
 logs to be logged into `wp-content/debug.log` instead of vanishing as in
 your case.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40445#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list