WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#14395 closed defect (bug) (fixed)

WordPress Importer can time out on importing categories/tags

Reported by: Viper007Bond Owned by: duck_
Milestone: WordPress.org Priority: normal
Severity: normal Version:
Component: Import Keywords:
Focuses: Cc:
PR Number:

Description

The WordPress Importer does not set a time limit when importing categories and tags. This means the server's default time limit (30 seconds or whatever) is used. It's then easy to time out if you're importing a ton of categories and/or tags.

This isn't a problem for importing posts though as the timer is reset at the beginning of each post import.

The timer should either be removed or reset between each category/tag.

Change History (5)

#1 @nacin
9 years ago

Is there a good reason for the importers to not just set_time_limit(0) at the start of them?

#2 @Otto42
9 years ago

  • Milestone WordPress.org site deleted

#3 @Otto42
9 years ago

  • Milestone set to WordPress.org site

#4 follow-up: @ocean90
9 years ago

  • Owner changed from nacin to duck_
  • Status changed from new to assigned

Should be fixed with http://plugins.trac.wordpress.org/changeset/322932.

duck_ will do some final testing.

Related: #11144, #8326

#5 in reply to: ↑ 4 @duck_
9 years ago

  • Keywords needs-patch removed
  • Resolution set to fixed
  • Status changed from assigned to closed

Replying to ocean90:

Should be fixed with http://plugins.trac.wordpress.org/changeset/322932.

duck_ will do some final testing.

Related: #11144, #8326

Fixed.

Only problems I ever encounter are memory issues, but the main way to sort that is to promote splitting of the files if they're too large (also see #15812, #5389).

Note: See TracTickets for help on using tickets.