E2App – About things WordPress, Magento, Linux, Telco, etc.

This is an extension of my memory. I paste things I may need again. Hope it helps you too!

programming language

Elementor Data Updater causes frontend to loose all CSS styling

Issue: After updating Elementor plugin and clicking ‘Elementor data updater’, the frontend looses all it’s CSS styling. Solution: Go to Elementor -> Settings -> Advanced -> CSS Print MethodThen select ‘Internal Embedding’ and ‘save’, next select ‘external file’ and ‘save’. Check the frontend, all should be fine now.

turned-on monitor

PODS Custom Post Type not showing in the Gutenberg Editor

You added a Custom Post Type through the plugin ‘PODS’, but instead of the Gutenberg Editor you see the Classic Editor, when you edit the Custom Post Type. This is what you do: Edit the POD, (in my case called ‘Memories’), click on the Rest API tab, click on ‘Enable’, and then select ‘Show All […]

missing signage

Missing ‘Edit with Elementor’ button

You have the latest WordPress, Elementor and Elementor Pro are updated, and basically your site is stable. Still, the ‘Edit with Elementor’ button is missing in action when you try to create a post or page. Two things you can do: Create a Page (or Post) using the normal route of Menu -> Pages -> […]

WordPress Elementor white screen frontend after moving site

So I was breaking my head when getting a white screen error on the frontend, after moving a site from a test domain to production on another domain. The backend was accessible and had no problems. Installed: – WordPress self hosted – Elementor Pro – Several Elementor plugins – Astra theme – WP Rocket – […]

How to get MultiRow bookmarks back in Firefox 57+ and fix for Firefox 66+

Edit: Now includes a fix for Firefox 66+. I’m a big fan of using multirow bookmarks in browsers. First I used the multirow bookmarks plus addon for Firefox, and when that no longer worked I used Roomy Bookmarks addon to my full satisfaction. I even held back updating Firefox to 57 for a while, as […]

Please make sure /.well-known alias is setup in WWW server.

If you are trying to install a LetsEncrypt certificate in DirectAdmin and you see the below error message: Please make sure /.well-known alias is setup in WWW server. , this probably means your DNS settings are not correct. Check your DNS settings; does your domain resolve to a wrong IP? If it does, correct it […]

How edit a NIC (Network Interface Card) on Centos 7

1). Check with the command ‘IP a’ which NICs you have, and what they are called (for example ‘eno1’). 2). Change to the directory /etc/sysconfig/network-scripts/ The name of the file to be edited contains the NIC name. For example: ifcfg-eno1 3). Edit the file. E.g. with the NANO editor. nano ifcfg-eno1 You’ll see something like this, […]

CLI Editor

Easiest CLI text editor for Linux

Nano is my favorite pick for a CLI editor when using Linux. Example for Centos 7: 1) Install: yum install nano Typically already installed. No harm in the above command, if already installed it will just give you the feedback ‘nothing to do’. 2) How to use a) Open a file in the current directory: […]

cPanel sends excessive amount of warning emails

If you installed cPanel and get an excessive amount of emails with warnings similar to the one below, there is a solution! The problem: You get tenths (sometimes hundreds or even more) emails per day with warnings similar to this: Resource: Virtual Memory Size Exceeded: 241 > 200 (MB) Executable: /opt/cpanel/ea-php70/root/usr/bin/php-cgi Command Line: /opt/cpanel/ea-php70/root/usr/bin/php-cgi PID: […]

Centos 7 – Bug in a Linux kernel, how to solve this structurally

Once in a blue moon the inevitable happens. A buggy Linux kernel is updated through your ‘yum update’ action. It happened to me. Here are the steps I took: 1) Check which kernels you have installed: rpm -qa kernel A list of kernels is displayed. 2) If there are more than (say) 3 kernels, do […]

How to run several Bitnami WordPress installs on XAMPP

XAMPP with Bitnami enables you to run WordPress (and many other apps) on your Windows computer. But what if you want to run several WordPress installs locally, each in a separate directory and database? Steps: 1) Install XAMPP on your local Windows computer. Though outside the scope of this page it’s actually quite easy. Follow […]

Logging with admin account into DirectAdmin via https:

If you want to protect your server from prying eyes, use a secure connection to log in with your admin account. Using Let’sencrypt, this is how you set up a free SSL connection in DirectAdmin: Step 1: Ensure the Hostname used by your DirectAdmin server is valid, and resolves to the server IP address. Follow […]

How to change the DirectAdmin hostname

Step 1: Make sure the hostname is valid, whereby the hostname will resolve to an IP address which is your server IP address. Therefore create an A record for a subdomain eg. vps1.domain.com which points to the DirectAdmin server IP address. Step 2: Log into DirectAdmin control panel using admin credential. Go into the “Administrator […]

The best WordPress Plugins – which I use often

These are WordPress Plugins I use often. Some paid, some free. Some expensive, so cheap. The point of this list is to remind myself these are consistently well coded, performing and stable Plugins, and to record briefly why I like them.   Pods https://wordpress.org/plugins/pods/ To say Pods is just a tool to create and view […]

Using Sphinx within Magento

The default Search function in Magento is not offering your customers much comfort, or you as Magento shop owner much sales… This article describes how to use the open source Search Engine Sphinx within Magento. The added benefit is that it offloads the search work from your server processor to the Sphinx engine. Method 1: […]

Magento – blank admin or frontend

Seeing a blank page in Magento admin or frontpage? This usually happens when you have compilation mode on when you modify files, theme templates or modules / extensions, or install a theme or extension. The Magento Compiler should be disabled every time before installing or removing a Magento extension or when upgrading Magento. Therefore it […]

Magento – Rewrite all to www.example.com/shop

Use case: You want to redirect all calls to www.example.com to www.example.com/shop Add this to the .htaccess file: RewriteCond %{HTTP_HOST} ^example\.com$ RewriteRule (.*) http://www.example.com/$1 [R=301,L] RewriteRule ^$ shop [L]

How to make ‘Custom Quick Settings’ app work on OnePlus 3

Do you see ‘Device Incompatible’ after installing the Android app ‘Custom Quick Settings‘ on your OnePlus 3 device? You need to enable the ‘System UI Tuner’. Swipe down from the top of the screen twice. At the top right you see the gear icon for your settings. Long press the gear icon you see “Congrats! […]

Find email spam, check and fix it on DirectAdmin

Article first published on PHPLight.com: Link to the article Finding an e-mail spammer on your server For years now, spam has been a nuisance that has plagued many internet users. Most people however, think that spam e-mail is being sent out by an actual person behind an actual computer, while in reality, these spammers (ab)use […]