Bug #32387
closedPEAR Problem with public-suffix-list.php
100%
Description
In typo3_src-4.6.1/typo3/contrib/pear/HTTP/Request2/CookieJar.php about line 446
this statement will always return false:
if (0 === strpos($path, '' . 'data_dir
')) {
change this to
if (0 === strpos($path, '' . '@data_dir
')) {
to avoid warning messages like this:
Core: Error handler (BE): PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening '/usr/share/pear/data/HTTP_Request2/public-suffix-list.php' for inclusion (include_path='.:/usr/share/pear/php5.3:/is/htdocs/-----/www/-----/typo3/contrib/pear/:/is/htdocs/-----/www/-----/typo3conf/ext/cal/res/PEAR/') in /is/htdocs/-----/www/-----/typo3_src-4.6.1/typo3/contrib/pear/HTTP/Request2/CookieJar.php line 450
The Problem is, that the script always tries to load the global public-suffix-list.php (from a hardcoded path) instead of the local one from the sources or from the include path. If the pear installation uses a different path the statement will fail.
Issue is already fixed in PEAR SVN (see http://pear.php.net/bugs/bug.php?id=18924) but I am not sure when this is integrated into Typo3.
Updated by Stephan Großberndt over 11 years ago
There are still error log messages in TYPO3 4.7.10 - so this this is not just about 4.6:
Core: Error handler (BE): PHP Warning: include_once(): Failed opening '/public-suffix-list.php' for inclusion (include_path='XXX/typo3/contrib/pear/:.:/usr/share/php:/usr/share/pear') in XXX/typo3/typo3_src-4.7.10/typo3/contrib/pear/HTTP/Request2/CookieJar.php line 450
Updated by Gerrit Code Review over 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/20595
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/20597
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/20598
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20599
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20599
Updated by Gerrit Code Review over 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20599
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/20656
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/20657
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/20658
Updated by Anonymous over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 748880253393cbd3602d27e15810f9f0df1bddf5.