Entries by Stefan Helander

Where is WordPress links / blogroll?



In older WordPress installations there was a possibility to handle links. I recently installed a new WordPress 4.9 and I can’t find links (or blogroll). i.e. the Link Manager, anymore. Where is it? From version 3.5 of WordPress, the Links section is not visible anymore if there were no links present or if it is […]

Joomla! 1.5 create new admin user via MySQL and phpMyAdmin



If you need to gain administrator access to a Joomla! 1.5 website where the admin password is not known (forgotten or the original admin is no longer available) you can resolve the situation by adding a new administrator user through MySQL. For this, obviously, you need to now the database credentials. This is how you […]

Joomla! Component skeleton or framework



I was going to develop a Joomla! Component for a client and started to read the documentation on how to build a Joomla! Component. I searched online for a skeleton or framework so I didn’t have to program that from scratch. Googeling it didn’t show up any really good results. Until I realized there are […]

How to keep WordPress widgets when switching themes



When you switch from one theme to another in WordPress you will discover that all widgets you had is gone. Is there a way to keep the widgets when switching themes? Short answer is – no. The widgets are set specifically for the theme. But it is often quite simple to resolve the situation. After […]

Meltdown and Spectre vulnerabilities – what to do?



Meltdown and Spectre are two vulnerabilities present in hardware making it potentially possible for programs to steal information, like passwords etc. Meltdown affects only Intel processors while Spectre, which is more complex, also partly affects AMD and ARM based processors. It is not yet known if these vulnerabilities has been exploited by anone. It can […]

Asterisk no sound from client



I was running an Asterisk server behind NAT without any problems at one location. Due to reoargnization it was moved to a new location and placed behind a pfsense firewall. After a while users reported increasing problems with no sound from the clients. It turned out running a SIP server behind a pfsense can be […]

How to vertically center text in a div



This is a neat way of centering text in a div. Live demo here.   <html> <head> <title>Vertical text center demo</title> </head> <body> <style> .textbox { height: 200px; width: 300px; text-align: center; font-size: 14px; font-weight: bold; background-color: blue; } .textbox p { height: 100%; display: flex; /* vertically center text */ justify-content: center; align-content: center; […]

Unable to mount NTFS filesystem due to hibernation



I had retrieved a harddisk out of a broken laptop containing Windows 10 in order to retrieve some files from it. The harddisk had been removed from the broken laptop and then installed in a HDD enclosure with USB connection. When I connected it to a Windows computer I could browse the Users folder but […]

Ispconfig3 unable to store client on DNS and email domain records



After upgrading from Ispconfig 3.0 to 3.1 odd things started to happen. For example, when saving a DNS secondary zone it would not store the client selected. Same thing when saving an email domian, client info and spam filter setting just would save. The solution turned out to be simple. Gentlemen – clear your cookies […]