to chmod files for joomla create a php file coded like below
and upload to you public_html or joomla folder
PHP Code:
<?php
// your ftp credentials
$ftp_server='ftp.yoursite.com';
$ftp_user='your00WH name';
$ftp_pass='your ftp password';
// where is Joomla installed? (trailing slash required)
$base = '/public_html/';
// what files or directories need chmod applied? (trailing slash optional)
$dirs = array( 'administrator/backups',
'administrator/components',
'administrator/language',
'administrator/language/en-GB',
'administrator/modules',
'administrator/templates',
'administrator/cache',
'components',
'images',
'images/banners',
'images/stories',
'media',
'language',
'language/en-GB',
'language/pdf_fonts',
'modules',
'plugins',
'plugins/content',
'plugins/editors',
'plugins/editors-xtd',
'plugins/search',
'plugins/system',
'plugins/user',
'plugins/xmlrpc',
'tmp',
'templates',
'cache'
);
// default to safe 0755 setting
if ($_GET['chmod']) {
$ftp_chmod = $_GET['chmod'];
} else {
$ftp_chmod = "0755";
}
echo "chmod=".$ftp_chmod.'<br/>';
// connect via ftp and apply chmod
$conn_id = ftp_connect("$ftp_server");
ftp_login($conn_id, $ftp_user, $ftp_pass);
foreach( $dirs as $dir ){
if (ftp_site($conn_id, 'CHMOD '.$ftp_chmod.' '.$base.$dir)) {
echo "success ";
} else {
echo "failed ";
}
echo $base.$dir.'<br/>';
}
ftp_close($conn_id);
echo 'DONE';
?>
to execute code
http://yoursitename/fileyoumade.php?chmod=0777 chmod all files required to install components etc once done ececute
http://yoursitename/fileyoumade.php all files will be back to 0755
hope that helps
dont forget to remove or chmod that file once you no longer need it