Your site comes with a ~/logs/ folder where you can view the ErrorLog and the AccessLog of your site. The following are common errors found in the error logs:
Allowed Memory Size Exhausted
PHP: Fatal Error: Allowed Memory Size of [some number] Bytes Exhausted
This happens when your code try to use more memory than the PHP memory limit.
Solution: You can adjust the memory limit in your site settings in the Servebolt Control panel.
Input variables exceeded 1000
PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini
Solution: edit your
.htaccess file and add the following line:
php_value max_input_vars 2000
Redirect and use of ‘LimitInternalRecursion’
AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
Solution: The redirect error above indicates that your site is doing some redirect loop, mostly caused by rule set in your .htaccess file. A solution would be to backup your .htaccess file and create a standardized one depending on your setup. If you are still experiencing your site to redirect, have a look at our help article on how you can fix various redirect errors.
Give us your feedback on this article
Did this help you?
Servebolt has launched Accelerated Domains!
Accelerated Domains is a service that greatly improves and optimizes your site on these four areas: Performance, Scalability, Security and the Carbon footprint of your website.