Skip to main content

Posts

WordPress 4.5 White Screen of Death

After activating a child theme (that seemed to be incorrectly developed), it first generated an error screen and then the entire site (front-end and back-end) shows white screen. WordPress community has referred this to White Screen of Death. The quick fix to this issue: 1) FTP/SSH to the wp-content/themes directly. 2) Rename the folder of the themes you last selected causing the White Screen of Death 3) Re-login to WordPress site wp-admin 4) Go to Appearance menu and re-activate the last working theme

Improve responsiveness of BlackBerry Priv running Android Marshmallow

I am using a BlackBerry Priv, updated to the latest Android version (6.0.1). It has started to run slower and sometimes lagged. Here is a quick tip to improve the responsiveness. 1) Turn on Developer Options Settings -> About Phone -> Scroll to bottom and tap the Build Number several times. Eventually you will see "You are now a developer!" 2) Settings -> Developer Options Scroll down and turn off the following options (or set them to 0.5x) - Window animation scale - Transition animation scale - Animator duration scale This works on different Android phones: Xiaomi Note (International), Meizu m1 note (International), Xiaomi RedNote 4

Installing a wildcard SSL certificate to secure ISPConfig default interface

First backup existing certificates (or move it to another folder) /usr/local/ispconfig/interface/ssl Install the key, purchased SSL certificate (wildcard cert will work well) and intermediate cert. Name them as: ispserver.key ispserver.crt ispserver.bundle Modify apache2 settings so that it observes the CA intermediate cert: /etc/apache2/sites-available/ispconfig.vhost   SSLEngine On   SSLProtocol All -SSLv3   SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt   SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key   #SSLCACertificateFile /usr/local/ispconfig/interface/ssl/ispserver.bundle Modify the last line by removing the "#" Then restart apache2 service apache2 restart

Migrating WordPress 4.4.2 Installation from Ubuntu Linux (Rackspace) to Windows (Azure)

In an unanticipated request I have to move a WordPress installation running on a LAMP stack to an Azure instance running WIMP (Windows, IIS, MySQL PHP). In the Azure settings, MySQL is running as a cloud-based database service. BackupBuddy has been a reliable tool for single site migration and its beta has support for multi-site migration which is sufficiently reliable. But moving from Linux to Windows is another story. The alternative is the free Duplicator - which I only come to know of having contacting WPML.org technical support for another reason. The key steps: 1) Change permalink back to default 2) Deactivate / Delete any unused plug-ins 3) Backup using Duplicator 4) Download the installer.php and the .zip archive 5) Upload installer.php and the unzipped files to Windows server This pre-unzip is necessary so that the php script does not have to tackle the unzip which resulted in a timeout in our scenario. And I have no access to Windows RDS to change the php.ini co...

AWS - Ubuntu 14.04LTS with AWS CLI

Starting to migrate servers to AWS. The AWS Linux AMI has the AWS CLI pre-installed and setting up is pretty easy. AWS Linux AMI is CentOS-based and has different configurations/settings with Debian-based Ubuntu. To install the AWS CLI, follow these steps: SSH with username ubuntu and the private key file apt - get install python - pip pip install awscli Then config awscli with command: aws configure At this point, you will be prompted to enter the Access Key and Secret Key. It should be created in the IAM module. The keys should be re-generated from time-to-time for security purpose. Remember to attach a policy for access. By default the IAM created will have no policy attached. Two files are created to store the config enter under the user's directory in .aws directory.

ISPConfig 3 / Mail / Custom mail filter recipe

Recently trying to setup a mail re-direct (or a cc) to an external e-mail address. It is important to first determine if you are running courier or dovecot because the syntax is different. Under dovecot, it should be in sieve syntax. Therefore, under ISPConfig3 -> Email -> Email Mailbox -> Custom Rules, enter: redirect "mail@example.com"; Ensure it is double straight quotes and semi-colon at the end. Wait until the update is done (usually a few minutes) via the cron jobs of ISPConfig3 updating the /var/vmail/domain/username/.sieve