WordPress.org

Support

Support » Plugins and Hacks » Codestyling Localization » [Resolved] Need FTP but modal Analyse Window is over ftp prompt

[Resolved] Need FTP but modal Analyse Window is over ftp prompt

  • Its really crazy ;-))

    I want to load the lang files within the plugin. Then a modal-window comes, wants to analyse the php files. OK.

    After that a ftp-connection is needed and this modal windows is under the analyse window, so i can’t give in the account data 😉

    Whats wrong?

    The app doesn’t tell me which files to be modified (chmod by ftp-software) so I need the ftp while the readeing and analysing mode.

    Thanx fpr helping, seems to be great plugin 🙂

    Simps

    https://wordpress.org/plugins/codestyling-localization/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Simps,

    I ran into this same problem yesterday. The simplest workaround for this is before scanning the files, click on the red squares for each file. This will bring up the credentials popup. You can then give permissions there and turn each file green.

    After that, then do the scan, which will already have the permissions, and the issue will not come up.

    I thought of fixing it in my own copy of the plugin, but this workaround was simple enough.

    Rich

    Thanx Rich!

    It’s a realy crazy bug for a developer that did such a good job ;-))

    I solved it by putting parts of the ftp-data to my wp-config.php so it automatically uses ftp withoud password request.

    define('FS_METHOD', 'ftpext');
    define('FTP_BASE', '/path/to/wordpress/');
    define('FTP_CONTENT_DIR', '/path/to/wordpress/wp-content/');
    define('FTP_PLUGIN_DIR ', '/path/to/wordpress/wp-content/plugins/');
    define('FTP_PUBKEY', '/home/username/.ssh/id_rsa.pub');
    define('FTP_PRIKEY', '/home/username/.ssh/id_rsa');
    define('FTP_USER', 'username');
    define('FTP_PASS', 'password');
    define('FTP_HOST', 'ftp.example.org');
    define('FTP_SSL', false);

    Thanx and greets 🙂

    Simps

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Need FTP but modal Analyse Window is over ftp prompt’ is closed to new replies.
Skip to toolbar