Цитата:
1) Проверить установлен ли curl
2) Проверить доступен ли на запись каталог typo3temp
|
1) phpinfo говорит, что curl есть:
...
Configure Command
'./configure' '--with-config-file-path=/usr/local/etc' '--with-mysql=/usr/servers/mysql' '--enable-discard-path' '--enable-track-vars' '--enable-dbase' '--enable-exif' '--with-gd=/usr/local/' '--enable-exif' '--enable-memory-limit' '--enable-mbstring' '--with-zlib' '--with-iconv' '--with-gettext' '--with-mcrypt' '--enable-bcmath' '--enable-gd-native-ttf' '--with-ttf' '--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--enable-xslt' '--with-xslt-sablot=/usr/local' '--with-expat-dir=/usr/local'
'--with-curl' '--with-dom'
...
curl
CURL support enabled
CURL Information libcurl/7.15.5 OpenSSL/0.9.7e zlib/1.2.3
Как еще можно проверить его функциональность?
2) права на typo3temp и все папки внутри я сейчас 777 поставил. Но не помогает.
===
Я сейчас решил проверить, что с переменными происходит:
Цитата:
$extmd5 = t3lib_div::getURL($mirror.'extensions.md5');
if(is_file(PATH_site.'typo3temp/extensions.xml.gz')) $localmd5 = md5_file(PATH_site.'typo3temp/extensions.xml.gz');
if($extmd5 === false) {
$content .= '<p>Error:
The extension MD5 sum could not be fetched from '.$mirror.'extensions.md5. Possible reasons: network problems, allow_url_fopen is off, curl is not enabled in Install tool.</p>';
|
$extmd5 выдает как 0.
Цитата:
$mirrorsFile = t3lib_div::getURL($this->MOD_SETTINGS['mirrorListURL']);
if($mirrorsFile===false) {
t3lib_div::unlink_tempfile($mfile);
$content = '<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>';
|
$mirrorsFile тоже 0.
Соответственно ошибка все-таки сидит где-то в
getURL, т.к. $this->MOD_SETTINGS['mirrorListURL'].' отображает правильно как
http://repositories.typo3.org/mirrors.xml.gz