BobanPeric: A da li ti je ftp uoste aktivan na Joom sajtu.
Back-end -> Site -> Global configuration -> tab Server
FTP Settings : Enable FTP (
YES)
Enable FTP mora biti podešeno na
YES da bi mogao bilo šta da uploaduješ, sve ide preko FTP-a.
Ako ti se greška javlja ovde : libraries/joomla/filesystem/file.php on line 298
if ($FTPOptions['enabled'] == 1) {
// Connect the FTP client
jimport('joomla.client.ftp');
$ftp = & JFTP::getInstance($FTPOptions['host'], $FTPOptions['port'], null, $FTPOptions['user'], $FTPOptions['pass']);
// Translate path for the FTP account and use FTP write buffer to file
$file = JPath::clean(str_replace(JPATH_ROOT, $FTPOptions['root'], $file), '/');
$ret = $ftp->write($file, $buffer);
} else {
$file = JPath::clean($file);
$ret = file_put_contents($file, $buffer);
a to je ovde line 298
}
onda tebi ftp uošte nije aktivan :)
poz, imam vremena ok je