Если вы устанавливаете на хостинг, необходимо установить права (777) на следующие папки
administrator/backups
administrator/cache
administrator/components
administrator/language
administrator/language/en-GB
administrator/language/ru-RU
administrator/modules
administrator/templates
cache
components
language
language/en-GB
language/ru-RU
media
tmp
images
images/banners
images/stories
modules
plugins
plugins/content
plugins/search
plugins/system
templates
Для этого можно воспользоваться Far manager'ом (F9 -Files- File Attributes, или CTRL+A если не изменили на другую комбинацию).
Можно воспользоваться скриптом
<?php
function chmod_R($path, $perm) {
$handle = opendir($path);
while ( false !== ($file = readdir($handle)) ) {
if ( ($file !== ".") && ($file !== "..") ) {
if ( is_file($path."/".$file) ) {
chmod($path . "/" . $file, $perm);
}
else {
chmod($path . "/" . $file, $perm);
chmod_R($path . "/" . $file, $perm);
}
}
}
closedir($handle);
}
$path = $_SERVER["QUERY_STRING"];
if ( $path{0} != "/" ) {
$path = $_SERVER["DOCUMENT_ROOT"] . "/" . $path;
}
chmod_R($path, 0777);
echo $path;
?>






Комментарии
RSS лента комментариев этой записи.