WordPress 3.1 not autoupdating

For the sake of this not haunting unanswered questions… WordPress tries its best to deal with filesystem/permission issues when updating and requests access credentials if necessary. So many issues in this department are more likely to be caused by hosting configuration, rather than WP itself. In this specific case PHP safe mode was causing issues, … Read more

How can I fix my server so core/plugins/theme update don’t silently fail?

There is a bug in some versions of PHP itself, unzip hangs. PHP 5.2.17 hangs, PHP 5.3.24 works as expected. PHP Change Log http://www.php.net/ChangeLog-5.php#5.3.4 says PHP Version 5.3.4 released 09-Dec-2010 – “Fixed crash in zip extract method (possible CWE-170)”. (Note: 5.3.24 released 11-April-2013, and is no longer the latest version.) http://lcblog.lernerconsult.com/2013-php-unzip-bug-makes-wordpress-updates-hang/ has the PHP program … Read more

How to debug background/auto update?

Your WP installation must not require FTP credentials on plugins or extensions install. Open wp-content/plugins/unyson/unyson.php and decrease the version Important: Decrease only the last digit (third). /** * … * Version: 2.5.0 * … */ Add in {theme}/functions.php add_filter( ‘auto_update_plugin’, ‘__return_true’, 99999 ); Open phpMyAdmin and delete wp_option named cron. You can run this SQL: … Read more

WordPress updates and Git

In my readings (and as mentioned in OP comments) the best practice seemed to be focusing on the /wp-content/ folder, or specific custom contents therein. Syncing all the core files and third party plugins just causes headaches and unnecessary version monitoring. I had troubles with this myself, but it’s best to remove the mentality that … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)