Blank Front End

Hello

I’ve à problem with my website on grav since updates.

I use Gantry and Remnant theme, since update of gantry (i suppose), my front end page are blank, the source code load only the beginning of the page and stop avec the " "

I’ve tryed to desactive cache, changing cache method, etc…

My website is https://karma-kusala.com/

I’ve tryed to resolve this but i don’t find solution and don’t know how to do, can you help me please ?

Looking at the source code delivered from server may help you. Looks like something in generating your page header fails.

Yeah, but i don’t succeed to analyse why

blank page is often related to PHP errors. You need to look at your PHP error_log or turn on the displaying of errors:

First step would be to get the “who” by and remove the culprit, then search for fixes

I have this in php5-fpm (i use nginx and yunohost)

[10-Nov-2017 09:26:06] WARNING: [pool grav] child 20078 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Compiler.php on line 3687”
[10-Nov-2017 09:26:22] WARNING: [pool grav] child 19863 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 874”
[10-Nov-2017 09:28:55] WARNING: [pool grav] child 20078 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 967”
[10-Nov-2017 09:29:41] WARNING: [pool grav] child 19863 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 962”
[10-Nov-2017 09:31:06] WARNING: [pool grav] child 20080 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Compiler.php on line 3687”
[10-Nov-2017 09:36:08] WARNING: [pool grav] child 20078, script ‘/var/www/grav/index.php’ (request: “GET /index.php”) executing too slow (5.159586 sec), logging
[10-Nov-2017 09:36:08] NOTICE: child 20078 stopped for tracing
[10-Nov-2017 09:36:08] NOTICE: about to trace 20078
[10-Nov-2017 09:36:08] NOTICE: finished trace of 20078
[10-Nov-2017 09:36:08] WARNING: [pool grav] child 20078 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Compiler.php on line 3687”
[10-Nov-2017 09:41:06] WARNING: [pool grav] child 19863 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Compiler.php on line 3684”
[10-Nov-2017 09:41:24] WARNING: [pool grav] child 20080, script ‘/var/www/grav//index.php’ (request: “GET //index.php”) executing too slow (5.482624 sec), logging
[10-Nov-2017 09:41:24] NOTICE: child 20080 stopped for tracing
[10-Nov-2017 09:41:24] NOTICE: about to trace 20080
[10-Nov-2017 09:41:24] NOTICE: finished trace of 20080
[10-Nov-2017 09:41:25] WARNING: [pool grav] child 20080 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 1282”
[10-Nov-2017 09:45:47] WARNING: [pool grav] child 20078 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Compiler.php on line 3684”
[10-Nov-2017 09:46:06] WARNING: [pool grav] child 19863 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Compiler.php on line 3687”
[10-Nov-2017 09:46:20] WARNING: [pool grav] child 20080 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 967”
[10-Nov-2017 09:46:41] WARNING: [pool grav] child 20078 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Compiler.php on line 1093”
[10-Nov-2017 09:47:01] WARNING: [pool grav] child 19863 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 32 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 874”
[10-Nov-2017 09:51:08] WARNING: [pool grav] child 20080 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Compiler.php on line 3687”
[10-Nov-2017 09:55:39] WARNING: [pool grav] child 20078 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 874”
[10-Nov-2017 09:56:06] WARNING: [pool grav] child 19863 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Compiler.php on line 3687”
[10-Nov-2017 09:59:44] WARNING: [pool grav] child 20080 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 32 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 874”
[10-Nov-2017 10:01:06] WARNING: [pool grav] child 20078 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Compiler.php on line 3687”
[10-Nov-2017 10:02:20] WARNING: [pool grav] child 20080 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 874”
[10-Nov-2017 10:03:23] WARNING: [pool grav] child 19863 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 64 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 1634”
[10-Nov-2017 10:03:33] WARNING: [pool grav] child 20080 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 23 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Formatter.php on line 92”
[10-Nov-2017 10:03:42] WARNING: [pool grav] child 20078 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 611”
[10-Nov-2017 10:03:52] WARNING: [pool grav] child 19863 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 1282”
[10-Nov-2017 10:04:22] WARNING: [pool grav] child 19863 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 64 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 2460”
[10-Nov-2017 10:04:53] WARNING: [pool grav] child 20078, script ‘/var/www/grav/index.php’ (request: “GET /index.php”) executing too slow (5.024674 sec), logging
[10-Nov-2017 10:04:53] NOTICE: child 20078 stopped for tracing
[10-Nov-2017 10:04:53] NOTICE: about to trace 20078
[10-Nov-2017 10:04:53] NOTICE: finished trace of 20078
[10-Nov-2017 10:04:53] WARNING: [pool grav] child 20078 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Compiler.php on line 1167”
[10-Nov-2017 10:06:06] WARNING: [pool grav] child 20080, script ‘/var/www/grav/index.php’ (request: “GET /index.php”) executing too slow (5.064854 sec), logging
[10-Nov-2017 10:06:06] NOTICE: child 20080 stopped for tracing
[10-Nov-2017 10:06:06] NOTICE: about to trace 20080
[10-Nov-2017 10:06:06] NOTICE: finished trace of 20080
[10-Nov-2017 10:06:07] WARNING: [pool grav] child 20080 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Compiler.php on line 2137”
[10-Nov-2017 10:06:16] WARNING: [pool grav] child 20080 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 1177”
[10-Nov-2017 10:06:48] WARNING: [pool grav] child 20080 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 32 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 925”
[10-Nov-2017 10:10:20] WARNING: [pool grav] child 20080 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 874”
[10-Nov-2017 10:11:06] WARNING: [pool grav] child 20080, script ‘/var/www/grav/index.php’ (request: “GET /index.php”) executing too slow (5.522585 sec), logging
[10-Nov-2017 10:11:06] NOTICE: child 20080 stopped for tracing
[10-Nov-2017 10:11:06] NOTICE: about to trace 20080
[10-Nov-2017 10:11:06] NOTICE: finished trace of 20080
[10-Nov-2017 10:11:06] WARNING: [pool grav] child 20080 said into stderr: “NOTICE: PHP message: PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 72 bytes) in /var/www/grav/user/plugins/gantry5/src/vendor/leafo/scssphp/src/Parser.php on line 963”

looks like you need to increase memory_limit in php.ini

1 Like

Yah the leafo SCSS compiler for PHP can use some memory, just need to incrase your memory as @andy pointed out

My memory_limit = -1

Normally, it’s unlimited memory limit with that. I’ve increased max execution time, max input var also.

The bug started after a gantry5 update

That -1 does not always work. use a real value (512M) here

Nothing work unfortunately, i’ve changer memory limit to 512, to -1, etc… but it’s still the same issue, blank front end. If i use another theme, the website work, the admin section work to, it’s just the front end and i don’t know why.

You should double check what PHP is using for the memory limit. You need to create a simple file called info.php in your webroot, and put in it:

<?php phpinfo();

Then in your browser hit this page: http://yoursite.com/info.php

This will give you a the output of your PHP configuration. You should be able to see what is currently configured as your PHP memory setting.