#4239 closed defect (bug) (fixed)
PREG_BACKTRACK_LIMIT_ERROR encountered during WP import
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.2 | Priority: | normal |
Severity: | normal | Version: | 2.2 |
Component: | Administration | Keywords: | wxr importer preg |
Focuses: | 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)
Note: See
TracTickets for help on using
tickets.
omgbbqphp.