#4239 closed defect (bug) (fixed)
PREG_BACKTRACK_LIMIT_ERROR encountered during WP import
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2 |
| Component: | Administration | Version: | 2.2 |
| Severity: | normal | Keywords: | wxr importer preg |
| Cc: |
Description
The WordPress importer uses preg_match_all to slurp items from the import file. Large items can cause a PREG_BACKTRACK_LIMIT_ERROR. This can be avoided by bumping pcre.backtrack_limit, but that isn't very friendly. Instead, the importer shouldn't use preg_match_all. There are other ways of retrieving the items.
http://us2.php.net/manual/en/ref.pcre.php#pcre.constants
http://us2.php.net/manual/en/ref.pcre.php#ini.pcre.backtrack-limit
Attachments (1)
Change History (6)
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

omgbbqphp.