PHP Fatal error: include_path=’.:/usr/share/php:/usr/share/pear’

A fresh install and an installation of WordPress via the Debian apt package management gave the error PHP Fatal error: include_path=’.:/usr/share/php:/usr/share/pear’ On a development computer I chose to install WordPress via the package manager as opposed to creating Apache site directories. With MySQL and Apache installed WordPress is added by […]

Verify Database Backup

I was working with a new computer system. I had made a backup of the database. But could I rely on it? To confirm the first run of a database backup I wanted to test/verify it was OK. What I didn’t want to do was to restore the database over […]

Adapting Menu for Touch

Before the proliferation of touch devices website menus were controlled with mouse hovers and clicks. To view the child items associated with a particular menu item, simply hover over the item to pop up the child menu with the list of child items. If you wanted to view the parent […]

Open IceDove Email Link in IceWeasel

Links in IceDove email messages weren’t opening in IceWeasel. How to configure IceDove link options? I found reports on the Internet that the file ~/.mozilla-thunderbird/default/<profile>/prefs.js should be edited as follows: user_pref(“network.protocol-handler.app.http”,”iceweasel”); user_pref(“network.protocol-handler.app.https”,”iceweasel”) I considered IceWeasel’s configuration, available through the about:config To make mailto links in firefox (iceweasel) open thunderbird (idedove) […]

$.browser is undefined

Following the update of WordPress perhaps a feature in one of the plugins has stopped. Reviewing the page errors with the browser inspector shows the error $.browser is undefined I have also encountered the $.browser is undefined error when I took over a website and updated the jQuery references as […]

dpkg: warning root’s PATH should usually contain sbin

Whilst updating a computer: apt upgrade It listed all the gets and then concluded with this error: dpkg: warning: ‘ldconfig’ not found in PATH or not executable dpkg: warning: ‘start-stop-daemon’ not found in PATH or not executable dpkg: error: 2 expected programs not found in PATH or not executable Note: […]

Update Row or Insert if Doesn’t Exist

When adding an entry to a database it would be nice to combine the addition with an update. For example adding a new entry if it already exists then that entry can be updated. This means putting more of the sequence within the database stored procedure. But it will save […]

Add New Admin User in Windows 2012 Server

Adding a new admin user will be divided into two actions: first the creation of the new user and then secondly the assignment of the user to the admin group. Connect to the Windows 1012 Server with Remote Desktop click on little down arrow at the top bar Select start […]

Creating Content Border with Images

Website content blocks, often called modules, or widgets, can be surrounded by borders to make them stand out. Perhaps notepad paper or an old parchment. Different surrounds and backgrounds can be used to make the content pleasing to the eye and to add distinction. The styling enables the content to be […]