Debugging mail delivery

Table of ContentsCheck if PHP is sending mails Magento is misconfigured Mail quality issues (DNS, SPAM etc.) Viewing mail logsIf you find that emails aren't being delivered, there are some basics to check first to rule out your application and your DNS settings before escalating an issue with the support team. Check if PHP is … Continue reading

502 Bad Gateway

Table of Contents502 Bad Gateway Resolution 502 Bad Gateway MageStack Bad Gateway errors occur when the PHP process has not responded "normally". This is often for the following reasons, PHP code error Badly written PHP code that crashes the PHP process PHP service restarts, caused by Excessive traffic Blocking external requests (like slow SQL, or … Continue reading

dDos Mitigation Active

Table of ContentsSorry Resolution Sorry We've detected too many requests coming from your IP address and as a result you have been temporarily blocked until your traffic subsides. Please try again within the next few minutes. If you believe you have received this message in error please contact the site administrator. This message is displayed … Continue reading

Page Load Timeout

Table of ContentsSorry Resolution Sorry We've been unable to load the page you requested in a timely manner; this may be because the server might be a little busy, or your request is taking longer to load than permitted. Please try again within the next few minutes. If you believe you have received this message … Continue reading

Setting correct MTU for OpenVPN

Table of ContentsSymptoms of incorrect MTU Identifying correct MTU Setting the MTUVPN connections can be sensitive to incorrect/low MTU set within your network, or on networks between you and your server. It is important that the correct MTU is set, to ensure fast and error-free VPN performance. Symptoms of incorrect MTU Slow VPN performance Incomplete … Continue reading

Understanding cache flow when using PageSpeed and Varnish

Table of ContentsTraffic flow When Varnish is disabled and PageSpeed is enabled (and empty) When Varnish is enabled (and empty) and PageSpeed is enabled (and empty)On MageStack, when you change a file, it changes immediately. There are no disk caches, no PHP caches or file caches of any kind. If you create, or modify a … Continue reading

404 Fallback

Table of ContentsDynamic Files Static ContentIn MageStack, the 404 fallback mechanism revolves around the bootstrap of Magento (index.php). Dynamic Files When working in the context of dynamic files, there is no such thing as a server generated 404 page - as we need every non-existent URI to hit Magento itself (after looking for a file … Continue reading

Debugging with PHP Access logs

The PHP access logs have been customised to include additional MageStack information for debugging. A typical access log entry will look like this, - - 10/Jul/2014:22:27:49 +0100 "GET /index.php" 200 The default format is "%R - %u %t "%m %r" %s" Decompiling the log entry reveals, Column Value Field 1 - Remote IP Address 2 … Continue reading

PHP Application Error Logs

Table of ContentsPHP Error log PHP Daemon log PHP Slow log PHP Suhosin logThere are 4 different types of PHP logs on MageStack PHP Error log PHP Daemon log PHP Slow log PHP Suhosin Security log PHP Error log This is per domain group and shows PHP syntax errors at the application level for the … Continue reading

Debugging with Nginx access logs

The Nginx access logs have been customised to include additional MageStack information for debugging. A typical access log entry will look like this, - - 10/Jul/2014:22:27:49 +0100 "GET /index.php" 200 The default format is "%R - %u %t \"%m %r\" %s" Decompiling the log entry reveals, Column Value Field 1 - Remote IP Address 2 … Continue reading