How to configure site for automatic upgrades

Easiest way: Use mod_suphp instead of mod_php. This should just be a matter of using whatever ubuntu’s package manager is to remove mod_php and install mod_suphp instead. mod_suphp is a slightly modified version of mod_php. It does the same thing, but it sets the user of the apache process to be the same as the … Read more

Missing argument 2 for wpdb::prepare() Issue

That was not exactly change in code, that was change to better inform people they are not using the method correctly. In line with wpdb documentation you need to properly pass values, or they won’t be properly escaped in query. In your case it would turn into something like: $wpdb->prepare(“SELECT id, name FROM %s”, $table_name) … Read more

Site needs massive upgrade – how to proceed?

Check out the Codex on Upgrading Across Multiple versions. Regarding the upgrading steps, it says: If you plan on upgrading across more than two major releases, please consider upgrading incrementally to avoid potential conflicts and minimize the risks of database damage. For example, if you plan on upgrading from 2.5 to 4.1.1, upgrade to 2.7 … Read more

Best Way to Upgrade from WP 2.8 (!)?

The virus part is going to be off-topic, but yes a fresh install is the way to go. What I would do to upgrade the site is: Backup everything– PHP and database Install the old site on a development server. Before running the site, replace all of the core files with new 2.8 ones from … Read more

Permissions issue when trying to update WordPress

You need to… … have your files and folders owned by your user. If you have sudo privies with your SSH access this should be easy to accomplish. sudo chown -R user ./wordpress_directory … have your files and folders, at least the ones in wp-content, in the same group as the web server. Otherwise you … Read more

Timeout While Upgrading Network in Multi-site

I was using WordPress Multisite for multiple TLDs. Example: domain.com another-domain.org sample-domain.net The primary site was domain.com which was a valid registered domain name with proper DNS resolution. another-domain.org and sample-domain.net had both expired domain name registrations. A/K/A – The DNS wasn’t resolving properly. If you’ve got a WordPress Multisite setup similarly to mine, where … Read more

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