Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#14395 closed defect (bug) (fixed)

WordPress Importer can time out on importing categories/tags

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

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

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

#2 @Otto42
16 years ago

  • Milestone WordPress.org site

#3 @Otto42
16 years ago

  • MilestoneWordPress.org site

#4 follow-up: @ocean90
16 years ago

  • Owner changed from nacin to duck_
  • Status newassigned

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_
16 years ago

  • Keywords needs-patch removed
  • Resolutionfixed
  • Status assignedclosed

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.