Ubuntu Internet Connection Error When Updating

The update manager that automatically runs when you start up Ubuntu helpfully tells me I have updates that need installing, but when I click to continue with installation I receive an error message telling me to check my internet connection as the update packages could not be downloaded.

The solution, running the following in Terminal:

sudo apt-get update

Now running the update installation again works fine. Continue reading “Ubuntu Internet Connection Error When Updating”

WordPress: curl_setopt() error when installing plugins on 1and1 host

When trying to install/activate plugins on my WordPress site after having to reset them following a host change, I received the following error

Warning: curl_setopt(): supplied argument is not a valid cURL handle resource in ….

This turned out to be an issue with my 1and1 hosting, and how they configure their servers.

To solve the problem I added the following to my .htaccess file:

Getting 500 Server Error When Trying To Access WordPress Admin Menus

After switching host locations for my wordpress blog at the weekend I found I could not access my website due to errors in various plugins. After renaming the offending plugins’ folders on the server my page was functioning again, but when I attempted to login as admin to reactivate the plugins I was greeted by a 500 error.

After Googling I discovered the following solution was to deactivate all plugins in the database to regain access to the administrative menus.

Find the active_plugins row in the wp_options table,
Change the value of the field to: a:0:{}