WordPress.org

Ready to get started?Download WordPress

Forums

Codestyling Localization
[resolved] Need FTP but modal Analyse Window is over ftp prompt (3 posts)

  1. Simpson199
    Member
    Posted 1 year ago #

    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/

  2. awhig
    Member
    Posted 12 months ago #

    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

  3. Simpson199
    Member
    Posted 12 months ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.