Make WordPress Core

Opened 12 years ago

Closed 11 years ago

#14395 closed defect (bug) (fixed)

WordPress Importer can time out on importing categories/tags

Reported by: Viper007Bond Owned by: duck_
Milestone: Priority: normal
Severity: normal Version:
Component: Import Keywords:
Focuses: Cc:


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
11 years ago

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

#2 @Otto42
11 years ago

  • Milestone site deleted

#3 @Otto42
11 years ago

  • Milestone set to site

#4 follow-up: @ocean90
11 years ago

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

Should be fixed with

duck_ will do some final testing.

Related: #11144, #8326

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

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

Replying to ocean90:

Should be fixed with

duck_ will do some final testing.

Related: #11144, #8326


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.