Bug #26841
Open RSS feed throws PHP warning
| Status: | Closed | Start date: | 2011-05-16 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 0 |
Description
Following error message is logged:
Core: Error handler (FE): PHP Warning: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Compilation failed: unmatched parentheses at offset 63 in typo3conf/ext/t3blog/pi1/widgets/rss/class.rss.php line 618
I'm not quite sure but I think line 618 should be changed (missing closing bracket) from
$text = preg_replace('/"((?:fileadmin|typo3conf|typo3temp|uploads|typo3)\/)|index\.php)/', '"' . $basePrefix . '\1', $text);
to
$text = preg_replace('/"(((?:fileadmin|typo3conf|typo3temp|uploads|typo3)\/)|index\.php)/', '"' . $basePrefix . '\1', $text);
History
Updated by Felix Nagel about 2 years ago
- Status changed from New to Closed
- Parent task set to #26134
Closed as duplicate: http://forge.typo3.org/issues/26134
Updated by Felix Nagel about 2 years ago
- Parent task deleted (
#26134)