Risolvere il problema JFTP::store: Bad response

A volte succede che modificando la configurazione di Joomla attraverso la Global Configuration venga mostrato un errore che indica

JFTP::write: Bad response
An Error has occurred! Unable to open configuration.php file to write!

Per risolvere questo problema bisogna comportarsi come segue:

  1. cambiare i permessi del file 'configuration.php' in modo che siano 777 (di default è 755) usando il comando chmod 777 configuration.php
  2. modificare le impostazioni di joomla attraverso la global configuration
  3. ri-cambiare i permessi del file 'configuration.php in modo che tornino ad essere 755.
Tags: ,
Articoli correlati:

6 Commenti al post “Risolvere il problema JFTP::store: Bad response”

  1. ASLAN Says:

    I try to explain how to solve that problem..
    Its just about your ftp settings!!

    First Step: Go to Admin Panel and Chose System Info under Help Section and check directory permisions..
    –Help–Sytem info–Directory Permissions
    And make all directories writable which is unwritable.

    in example, this is our ftp server: http://ftp.example.com and your webserver is http://www.example.com
    Connect to your ftp server and Open your configuration file..
    When you connected ftp server,your files stored under www or public_html folder,so you must chance:

    var $ftp_root = ‘www’; or var $ftp_root = ‘public_html’;

    It cant be blank,if you dont fill this so everything goes wrong,you cant install anything.

    If you installed joomla under subdomain then you should do it like this:

    var $ftp_root = ‘www/subdomainfolder’; or var $ftp_root = ‘public_html/subdomainfolder’; No trailing slash!

    for http://www.example.com

    var $ftp_host = ‘ftp.example.com’;
    var $ftp_port = ‘21′;
    var $ftp_user = ‘ftpuser’;
    var $ftp_pass = ‘ftppass’;
    var $ftp_root = ‘www’; or var $ftp_root = ‘public_html’;
    var $ftp_enable = ‘1′;

    for http://subdomain.example.com

    var $ftp_host = ‘ftp.example.com’;
    var $ftp_port = ‘21′;
    var $ftp_user = ‘ftpuser’;
    var $ftp_pass = ‘ftppass’;
    var $ftp_root = ‘www/subdomainfolder’; or var $ftp_root = ‘public_html/subdomainfolder’;
    var $ftp_enable = ‘1′;

    After this problem has been fixed :) Its not only for modules plugins or components.
    You will never see error message for anything again.
    If you have any problem, just send me PM or email me.. sezer_aslan@hotmail.com

    Salam from Turkey..

  2. Copes Flavio Says:

    Hi Aslan, thanks for your comment. :)

    That’s how to solve a general “JFTP::write: Bad response” error.

  3. ASLAN Says:

    I think i should not use bbcodes..

  4. Copes Flavio Says:

    Fixed :) thanks again ;)

  5. Paolo Genovese Says:

    Attenzione ad evetuali inserimenti automatici di password ftp vecchie prima della registrazione, io ci sono impazzito!!

    Praticamente joomla 1.5 ogni volta che registravo le configurations, inseriva coperta la vecchia password, ho risolto con chmod 777 e inserimento manuale della password giusta.
    Ciao
    Paolo

  6. Copes Flavio Says:

    Bravo Paolo, grazie per questo intervento! ;) Avevo letto di questo problema sui forum di Joomla.it, ora mi hai dato la conferma.. poi hai rimesso i permessi 755, giusto?

Lascia un commento

Nome (obbligatorio)

Mail (non sarà pubblicata) (obbligatoria)

Sito web

-->