• Tom

    (@jeffreeeeey)


    Hi,

    Each time I update my other plugins from within the WP dashboard, I get this error:

    Warning: mkdir() [function.mkdir]: Permission denied in (path to directory)/wp-content/plugins/visitor-maps/visitor-maps.php on line 1497

    It doesn’t appear to do any harm, but it’s bugging me. Does it on numerous sites which I use this plugin, so it’s not an isolated issue.

    If I deactivate the visitor maps plugin, I don’t get any errors when updating my other plugins.

    Any idea what the problem is & how to fix it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Push! Same problem here. really getting on my nerves…

    solved the problem by following these instructions from here https://www.ads-software.com/support/topic/plugin-upgrade-failing-cannot-remove-old-plugin?replies=25#post-1303436

    1. Make sure your wp-config.php file is chmodded to 0644.

    2. Also make sure your .htaccess file is protecting the wp-config file using these lines:

    <Files wp-config.php>
    order allow,deny
    deny from all
    </Files>

    3. Backup your wp-config.php file.

    4. Edit your wp-config.php file putting these lines in underneath <?php:

    define(‘FS_METHOD’, ‘ftpsockets’);
    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_USER’, ‘username’);
    define(‘FTP_PASS’, ‘password’);
    define(‘FTP_HOST’, ‘ftp.example.org’);

    ————

    I had to enter full path like this
    define(‘FTP_BASE’, ‘/var/www/vhosts/MYWEBSITE/httpdocs/’);
    define(‘FTP_CONTENT_DIR’, ‘/var/www/vhosts/MYWEBSITE/httpdocs/wp-content/’);
    define(‘FTP_PLUGIN_DIR ‘, ‘/var/www/vhosts/MYWEBSITE/httpdocs/wp-content/plugins/’);

    works again also with visitor-maps active!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error when updating other plugins’ is closed to new replies.