I’m really having a love hate relationship with Joomla. The latest bump in the road came when I tried to change a Global Config setting. It told me:
JFTP::store: Bad response Warning! – Failed to move file
There were loads of other errors depending on what I did but they all started out with various JFTP messages. The outcome was that I could not change the config file with the admin interface and I could not upload any files at all via the Media Manager or the JCE Image Uploader. After getting very angry I finally worked it out. In the config file are three paths:
var $log_path = ‘/home/user_name/public_html/logs’;
var $tmp_path = ‘/home/user_name/public_html/tmp’;
var $ftp_root = ‘/home/user_name/public_html’;
The first thing was that my server host had not created a temp directory for me. I uploaded a file with phpinfo in it and saw that I they’d set it to be /home/user_name/wwwtmp but they hadn’t actually created that directory or set permissions for it (since it didn’t exist). I did both of those myself. The next step was to set the right permissions on the /home/user_name/public_html/tmp directory. The final task was to work out that the joomla FTP system is odd! To make it work I had to change the paths above to:
var $log_path = ‘/home/user_name/public_html/logs’;
var $tmp_path = ‘/home/user_name/public_html/tmp’;
var $ftp_root = ‘/public_html’;
Basically the rest of the system uses the full path while the ftp_root variable has to be a partial path. Joomla, I love you but if you were a person I would of broke your nose by now 