Entries by Stefan Helander

Prestashop multistore – can’t get out of maintenance mode



After maintenance even though setting to shop to active, frontend still shows maintenance mode. This can occur when multistore is enabled. Solution: Use for example phpMyAdmin to access the shop database Find the ps_configuration table Find all records with the name PS_SHOP_ENABLE and change them from ‘0’ to ‘1’ (there are probably more than one)

WordPress shows white page after site move



WordPress just showing a white page means it is experienceing PHP errors. When it occurs after a site has been moved from one hosting to another it can be caused by several reasons. To make it possible to track down the cause you can temporarily add the following to the .htaccess file in the root. […]

Call Book Log 3 installation with custom database name



Call Book Log 3 is a log book program for radio amateurs, hosted on a web server, based on PHP 7 and MySQL/mariaDB. The database for the software is named ‘hamcallbook‘ by default but if you are going to host it on a server where you can’t choose the name of the database, like a […]

pfsense IPsec VPN tunnel disconnects after 8 hours



I’ve been troubled by the annoying disconnection of the IPsec VPN tunnel on a pfsense firewall. The tunnel disconnects after about 8 hours. The solution in my case was to enable “Disable rekey” which “Disables renegotiation when a connection is about to expire.“. The setting is found under Phase 1 advanced settings.

rm unable to delete file even as root or sudo [Solved]



When it is not possible to delete a file using rm even when logged in as root or by using sudo, check the file attributes with: lsattr filename.ext If it has the “i” attribute, this is preventing the file from being deleted, even by super users. When you have verified the reason for this and […]

Ispconfig3: Let’s Encrypt not working



There can be several reasons for Let’s Encrypt certificates not being issued for sites. These are some things to check: When creating a new website, save it first, then open it again and check Let’s encrypt and then save it (i.e. don’t check the Let’s Encrypt unless the website has been saved at least once […]

Roundcube – add client’s IP-address and host name to outgoing email headers



By default, the logged in client’s IP-address and hostname are not present in the outgoing email headers which makes it hard to trace the origin in case of abuse. To make roundcube add this to the email headers of outgoing email, put this in the roundcube configuration file: // put user’s ip and host name […]