Здравствуйте!
Пыталась установить компаненты на сайт через сайтовый загрузчик. (com_adsmanager, com_shopandcatalog, com_error404_unzip_first) Эти компаненты ранее нормально устанавливались на другие сайты, а здесь выдаёт ошибки:
joomla -1,5,22 на
http://natkosm.elitno.net/nat-kosm/ -
Цитата:
JFolder::create: Infinite loop detected
Внимание! - Не удалось переместить файл
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (VIRTUAL_DOCUMENT_ROOT:/tmp/) in /www/elitno.net/n/a/natkosm/home/site/nat-kosm/libraries/joomla/filesystem/folder.php on line 392
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (VIRTUAL_DOCUMENT_ROOT:/tmp/) in /www/elitno.net/n/a/natkosm/home/site/nat-kosm/libraries/joomla/filesystem/folder.php on line 392
joomla -1,6,1 на
http://natkosm.elitno.net/ -
Цитата:
JFolder::create: Путь не в пределах значения переменной open_basedir
Unable to create destination
Для решения проблемы с open_basedir рекомендуется: в конфиге апача добавить
php_admin_value open_basedir none. Но серверные файлы мне не доступны.
Или добавить это в файл .htaccess (в корне сайта). Что привело к:
Цитата:
«Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, daemon@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.»
В постах выше рекомендуется корректировать файл folder.php
На joomla -1,6,1 на
http://natkosm.elitno.net/ в /libraries/joomla/filesystem/folder.php строки //$obd = ini_get('open_basedir'); - нет, а имеется:
Цитата:
// We need to get and explode the open_basedir paths
// If open_basedir is set we need to get the open_basedir that the path is in
if ($obd != null)
{
if (JPATH_ISWIN) {
$obdSeparator = ";";
}
else {
$obdSeparator = ":";
}
// Create the array of open_basedir paths
$obdArray = explode($obdSeparator, $obd);
$inBaseDir = false;
// Iterate through open_basedir paths looking for a match
foreach ($obdArray as $test)
{
$test = JPath::clean($test);
if (strpos($path, $test) === 0) {
$obdpath = $test;
$inBaseDir = true;
break;
}
}
if ($inBaseDir == false)
{
// Return false for JFolder::create because the path to be created is not in open_basedir
JError::raiseWarning(
'SOME_ERROR_CODE',
__METHOD__ . ': ' . JText::_('JLIB_FILESYSTEM_ERROR_FOLDER_PATH')
);
return false;
}
}
На joomla -1,5,22 на
http://natkosm.elitno.net/nat-kosm/ в /libraries/joomla/filesystem/folder.php строки //$obd = ini_get('open_basedir'); - нет, как нет и ничего похожего.
Помогите, пожалуйста, насторить.