Project

General

Profile

Actions

Bug #32387

closed

PEAR Problem with public-suffix-list.php

Added by Johannes Pfeiffer almost 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2011-12-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

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.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #37085: Included pear classes have no @data_dir@ set.Closed2012-05-11

Actions
Related to TYPO3 Core - Bug #41295: HTTP_Request2_CookieJar searches data in wrong directoryClosedPhilipp Gampe2012-09-23

Actions
Related to TYPO3 Core - Task #48027: Update PEAR packagesClosedDaniel Minder2013-05-07

Actions
Actions #1

Updated by Xavier Perseguers almost 13 years ago

  • Target version deleted (4.6.2)
Actions #2

Updated by Daniel Minder over 11 years ago

Is duplicate of #37085

Actions #3

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
Actions #4

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

Actions #5

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

Actions #6

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

Actions #7

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

Actions #8

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

Actions #9

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

Actions #10

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

Actions #11

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

Actions #12

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

Actions #13

Updated by Anonymous over 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #14

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF