Before migrating over to MySQL as the officially “blessed” database engine, Known previously used MongoDB.

The support for this was provided by the PECL extension ‘mongo’, which while supported in PHP5.4, was later deprecated and completely removed in PHP 7. This left early adopters, like myself, no upgrade path to PHP 7.

The end goal I believe, is to build a bullet proof import/export function into Known and get everyone over onto MySql, however in order to give us a little more runway, I took the opportunity to rewrite the mongo database driver to use the newer (and supported) MongoDB driver.

This pull request completely replaces the existing mongo code with a backwards compatible version built on the newer MongoDB driver, handling both database and GridFS.

Of course, while it does pass unit tests, this is a big change, so I encourage existing mongo users to kick it about for a bit, and also be sure to take a full backup of your existing stuff before rolling out this change.

Let me know your thoughts!

I use Ubuntu as my main desktop operating system, together with Gnome Fallback/failsafe, because I dislike Unity and want to keep my Gnome 2 desktop.

This might not be relevant to the problem, but when I upgraded from 14.4 to 16.4, I lost my sound card. When the computer booted, I would get the Ubuntu drums, but once I logged in, the only sound I had came out of my USB headphones. I no longer saw my Intel HDA soundcard listed in the gnome sounds settings.

After a lot of digging I eventually worked out the cause of the problem, and a temporary fix. Long story short, pulseaudio couldn’t detect the sound card, because Ubuntu have changed the way it’s loaded.

You need to therefore reload the detection libraries and restart pulseaudio, run the following command:

Now, I have a startup script that I run as part of my user login to set up my desktop environment and kick of my development environment, so it was enough for me to put this command in that script.

You will probably want to make sure you load this module in your pulseaudio init scripts. Anyway, hope this helps.

Another quick update, because of an issue on a client site, I’ve updated my Elgg H5F form validation shim plugin to the latest version of the javascript library.

This should address a couple of validation issues that have been reported against some mobile clients.

» Visit the project on Github...