Показать сообщение отдельно
Старый 19.05.2008, 01:23   #2
Игорь Ф.
Продвинутый
 
Регистрация: 16.05.2008
Сообщений: 68
По умолчанию

Попробовал впрямую протеститровать file_get_contents.
В файл class.em_index.php вставил выделенные красным строчки:

Цитата:
$mirrorsFile = t3lib_div::getURL($this->MOD_SETTINGS['mirrorListURL']);
$mirrorsFile = file_get_contents($this->MOD_SETTINGS['mirrorListURL']);
if($mirrorsFile===false) {
t3lib_div::unlink_tempfile($mfile);
$content = $mirrorsFile+'<p>The mirror list was not updated, it could not be fetched from '.$this->MOD_SETTINGS['mirrorListURL'].'. Possible reasons: network problems, allow_url_fopen is off, curl is not enabled in Install tool.</p>';
При попытке перезагрузить зеркала выдает следующее:

Сверху страницы:
Цитата:
Warning: file_get_contents(http://repositories.typo3.org/mirrors.xml.gz): failed to open stream: Permission denied in .../www/typo3/mod/tools/em/class.em_index.php on line 1434
На месте ошибки все тоже самое:
Цитата:
0http://repositories.typo3.org/mirrors.xml.gz. Possible reasons: network problems, allow_url_fopen is off, curl is not enabled in Install tool.
Игорь Ф. вне форума   Ответить с цитированием