Project

General

Profile

Actions

Bug #14772

closed

fsockopen() in class.indexer.php

Added by old_MaOb about 19 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Should have
Category:
Indexed Search
Target version:
-
Start date:
2005-05-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

function getUrlHeaders uses fsockopen, but fsockopen is not working behind a proxy!
so index external url's will not work and display a lot off errors in the fe.

possible solution: check $GLOBALS['TYPO3_CONF_VARS']['SYS']['curlUse']
and use curl (like 't3lib_div::getURL')???

(issue imported from #M1131)


Files

class.indexer.php (71.3 KB) class.indexer.php Administrator Admin, 2005-06-08 10:07
Actions #1

Updated by old_MaOb about 19 years ago

my quick-fix for this problem....
just take a look at my uploaded class.indexer.php

Actions #2

Updated by Martin Kutschker about 17 years ago

Nowadays t3lib_div::getURL($url,2) is used. That function will use CURL if TYPO3 is configured correctly.

Actions

Also available in: Atom PDF