Make WordPress Core

Opened 6 years ago

Closed 5 years ago

#22551 closed defect (bug) (invalid)

Error updating to the last version

Reported by: alexvorn2 Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.5
Component: Upgrade/Install Keywords:
Focuses: Cc:


Fatal error: Maximum execution time of 30 seconds exceeded in D:\Dropbox\htdocs\wordpresslast\wp-includes\class-http.php on line 947

Change History (3)

#1 @alexvorn2
6 years ago

I'm using Windows 7 32bit, XAMPP 1.7

#2 @SergeyBiryukov
6 years ago

We have set_time_limit( 300 ) (introduced in [9164] to prevent timeout issues) in update_core() and WP_Upgrader::install_package():
http://core.trac.wordpress.org/browser/tags/3.4.2/wp-admin/includes/update-core.php#L474 http://core.trac.wordpress.org/browser/tags/3.4.2/wp-admin/includes/class-wp-upgrader.php#L174

If that doesn't always help, not sure what else we can do. Seems like a configuration issue.

#3 @dd32
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

In this case, it sounds like the downloading of the zip package is taking more than 30seconds, and the environment prevents set_time_limit() from extending the PHP default 30s timeout.

In a nutshell, this means there's nothing we can do here, and it's a configuration issue that we can't support.

Note: See TracTickets for help on using tickets.