Service Unavailable Friendly Page

Let’s face it. It is kind of embarrassing when our e-commerce site goes down with an ugly “Service Unavailable” message to your customers. Either on purpose for maintenance, or without your knowledge due to a system fault, the default “Service Unavailable” or Magento error pages are just very uninformative. A low cost DIY aMiSTACX solution… Continue reading Service Unavailable Friendly Page

Magento 2 Set Production Mode Error

Magento 2 Set Production Mode Error: /usr/bin/php7.3 -f /var/www/html/bin/magento setup:static-content:deploy You may see the above error when attempting to switch to Production Mode on Magento 2.x. [As you want to switch to production mode in a public environment so that exception printing is turned OFF.] The cause and the issue has to do with something… Continue reading Magento 2 Set Production Mode Error

Magento 2 – Uncaught Error: Class ‘DOMDocument’

Per [aMiSTACX] using PHP 7.1 you may get an error like this after a system update/upgrade: Uncaught Error: Class ‘DOMDocument’ not found in /var/www/magento/vendor/magento/framework/Config/Dom.php:384… The browser will report a 500 error, but the Apache logs will show more details. The fix is really simple. From CLI: sudo a2dismod php7.2 sudo service apache2 restart Note: Make… Continue reading Magento 2 – Uncaught Error: Class ‘DOMDocument’

Magento – Error while sending query packet

[Magento 2.1.x+] Should you have an older aMiSTACX AMI for Magento release prior to v1.3 you may encounter an error while running a backup within the Magento Admin Console. Error while sending QUERY packet [PID] in /var/www/magento/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php on line 228 To resolve: Use SSH CLI or WinSCP to edit the MySQL Global Configuration File. SSH CLI… Continue reading Magento – Error while sending query packet