[wp-trac] [WordPress Trac] #4239: PREG_BACKTRACK_LIMIT_ERROR
encountered during WP import
WordPress Trac
wp-trac at lists.automattic.com
Wed May 9 19:58:53 GMT 2007
#4239: PREG_BACKTRACK_LIMIT_ERROR encountered during WP import
----------------------------+-----------------------------------------------
Reporter: ryan | Owner: ryan
Type: defect | Status: new
Priority: normal | Milestone: 2.2
Component: Administration | Version: 2.2
Severity: normal | Keywords: wxr importer preg
----------------------------+-----------------------------------------------
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
--
Ticket URL: <http://trac.wordpress.org/ticket/4239>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list