Bug #34897
closedError Fatal
100%
Description
Hello,
It's strange, when I start the check of my links (only external, the others are ok), I have this error :
"Fatal error: Call to undefined method t3lib_http_Request::setCookieJar() in typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_external.php on line 87
I don't know if it's a bug only in my installation (pear package) or a bug of linkvalidator. Any idea?
Thanks a lot.
Eric
Updated by Philipp Gampe over 12 years ago
Seems like you have an old copy of the pear package installed. Please check this. The pear library should be located at /usr/share/pear/HTTP/*
. The current release is 2.0.0.
Updated by Philipp Gampe over 12 years ago
- Status changed from New to Needs Feedback
Updated by Eric Chavaillaz over 12 years ago
The last stable version is 1.9.4, isn't it? It's the version that I have on my server...
If I see this page : http://pear.php.net/package/PEAR/download
Thanks
Updated by Philipp Gampe over 12 years ago
Pear yes, but HTTP_Request2 needs to be at least v2 (current stable). Note, the core still ships v2 RC1, but this version is almost identical. Please check if you have any files in the above mentioned folder.
Updated by Eric Chavaillaz over 12 years ago
HTTP_Request2 2.0.0 is the version who is installed on my server... But the error is still here.
Thanks
Updated by Eric Chavaillaz over 12 years ago
If I make a pear list on my server, I got this :
=========================================
Package Version State
Archive_Tar 1.3.8 stable
Archive_Zip 0.1.2 beta
Auth 1.6.4 stable
Auth_SASL 1.0.6 stable
Benchmark 1.2.9 stable
Cache 1.5.6 stable
Cache_Lite 1.7.12 stable
Calendar 0.5.5 beta
Console_Getopt 1.3.1 stable
DB 1.7.14 stable
DB_DataObject 1.9.6 stable
DB_DataObject_FormBuilder 1.0.1 stable
DB_NestedSet 1.4.1 stable
Date 1.5.0a2 alpha
File_Archive 1.5.4 stable
HTML_Common 1.2.5 stable
HTML_QuickForm 3.2.13 stable
HTML_Template_Flexy 1.3.12 stable
HTML_Template_IT 1.3.0 stable
HTTP 1.4.1 stable
HTTP_Download 1.1.4 stable
HTTP_Header 1.2.1 stable
HTTP_OAuth 0.2.3 alpha
HTTP_Request 1.4.4 stable
HTTP_Request2 2.0.0 stable
HTTP_WebDAV_Server 1.0.0RC6 beta
Image_Canvas 0.3.3 alpha
Image_Color 1.0.4 stable
Image_Graph 0.8.0 alpha
Log 1.12.7 stable
MDB2 2.5.0b2 beta
MDB2_Driver_mysql 1.5.0b2 beta
MDB2_Driver_mysqli 1.5.0b2 beta
MIME_Type 1.3.0 stable
Mail 1.2.0 stable
Mail_Mime 1.8.2 stable
Mail_mimeDecode 1.5.5 stable
Net_IMAP 1.1.1 stable
Net_Ping 2.4.5 stable
Net_SMTP 1.6.1 stable
Net_Sieve 1.3.2 stable
Net_Socket 1.0.10 stable
Net_URL 1.0.15 stable
Net_URL2 2.0.0 stable
Net_UserAgent_Detect 2.5.2 stable
OLE 1.0.0RC1 beta
PEAR 1.9.4 stable
Pager 2.4.8 stable
SOAP 0.12.0 beta
Spreadsheet_Excel_Writer 0.9.2 beta
Structures_Graph 1.0.4 stable
Text_Diff 1.1.1 stable
Validate 0.8.5 beta
Var_Dump 1.0.4 stable
VersionControl_SVN 0.4.0 alpha
XML_Feed_Parser 1.0.4 stable
XML_Parser 1.3.4 stable
XML_RPC 1.5.5 stable
XML_Serializer 0.20.2 beta
XML_Util 1.2.1 stable
Thanks
Updated by Philipp Gampe over 12 years ago
Looks good. Can you try to remove the pear package?
Because it definitively works on my machine with and without the pear package installed.
Updated by Philipp Gampe over 12 years ago
But you do have the last version of 4.6 (.6).
Updated by Eric Chavaillaz over 12 years ago
I cannot delete the pear package, because my website is on a shared server ans I don't have root access.
But you said that with the pear package it works on your machine, your conf is the same as the mine?
And yes, my version is 4.6.6 and all the rest is good.
Any idea?
Thanks
Updated by Philipp Gampe over 12 years ago
Yes, conf looks the same. Please have a look at typo3/init.php
at line 188
Change the line
set_include_path(get_include_path() . PATH_SEPARATOR . PATH_typo3 . 'contrib/pear/');
to
set_include_path(PATH_typo3 . 'contrib/pear/' . PATH_SEPARATOR . get_include_path());
That will change the inclusion order and always load the shipped files first.
Updated by Eric Chavaillaz over 12 years ago
Ok, it's great, now I got no error.
And for finish, will be this modification commit for a next version?
Thanks
Updated by Philipp Gampe over 12 years ago
I will need to discuss this with other people. This line needs to be moved anyway, but I am not sure whether we should put our pear release in front.
Updated by Eric Chavaillaz over 12 years ago
Ok, thanks for all.
I will check the next release and see if there is somme changes...
Updated by Gerrit Code Review over 12 years ago
- Status changed from Needs Feedback to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10404
Updated by Gerrit Code Review over 12 years ago
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/10473
Updated by Gerrit Code Review over 12 years ago
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/10474
Updated by Philipp Gampe over 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 32017dcdf6528520aa6d30341826b233121955f4.
Updated by Michael Stucki almost 11 years ago
- Project changed from 1510 to TYPO3 Core
- Category changed from Linkvalidator to Linkvalidator