cancel
Showing results for 
Search instead for 
Did you mean: 

blank page magento 2

blank page magento 2

Hi,

I am getting a blank page on var/log this is is the info I get: 

 

[2018-11-08 09:52:06] main.CRITICAL: Cannot gather stats! Warning!stat(): stat failed for /home2/decornmo/public_html/inspireoutfits/pub/static/frontend/Smartwave/porto/en_US/mage/requirejs/mixins.js {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot gather stats! Warning!stat(): stat failed for /home2/decornmo/public_html/inspireoutfits/pub/static/frontend/Smartwave/porto/en_US/mage/requirejs/mixins.js at /home2/decornmo/public_html/inspireoutfits/vendor/magento/framework/Filesystem/Driver/File.php:71)"} []
[2018-11-08 09:52:53] main.CRITICAL: Cannot gather stats! Warning!stat(): stat failed for /home2/decornmo/public_html/inspireoutfits/pub/static/frontend/Smartwave/porto/en_US/mage/requirejs/mixins.js {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot gather stats! Warning!stat(): stat failed for /home2/decornmo/public_html/inspireoutfits/pub/static/frontend/Smartwave/porto/en_US/mage/requirejs/mixins.js at /home2/decornmo/public_html/inspireoutfits/vendor/magento/framework/Filesystem/Driver/File.php:71)"} []
[2018-11-10 22:10:34] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 07:11:08] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 12:11:46] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 12:54:55] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 13:35:26] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 14:14:14] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 14:14:54] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 14:55:22] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 14:55:31] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 15:36:07] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 16:16:45] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 16:57:08] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 17:38:20] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 18:20:40] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 19:02:00] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 19:43:10] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 20:25:07] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 21:06:54] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 21:48:15] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 22:29:58] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []
[2018-11-11 23:11:34] main.CRITICAL: Unable to send mail. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/module-email/Model/Transport.php:104, Zend_Mail_Transport_Exception(code: 0): Unable to send mail. at /home2/decornmo/public_html/inspireoutfits/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:111)"} []

 

20 REPLIES 20

Re: blank page magento 2

Hi @decornmore

 

I understand the problem you are facing !

 

Based on the error log you have shared across - it seems like this is known issue , here i would suggest you to refer this link - https://magento.stackexchange.com/questions/139318/m2-cannot-gather-stats-warning

 

Follow the steps given on the above link and it will resolved your issue !

 

For more details you can also check this github change - https://github.com/magento/magento2/commit/2db5aa15722307fb6ad703627933224f5f74bbe3

 

Hope it helps !

if issue solved,Click Kudos & Accept as Solution

Re: blank page magento 2

Hi,

this is not what I have. i am in developer mode, not production. also, images are not showing nothing is shown .


@Manthan Dave wrote:

Hi @decornmore

 

I understand the problem you are facing !

 

Based on the error log you have shared across - it seems like this is known issue , here i would suggest you to refer this link - https://magento.stackexchange.com/questions/139318/m2-cannot-gather-stats-warning

 

Follow the steps given on the above link and it will resolved your issue !

 

For more details you can also check this github change - https://github.com/magento/magento2/commit/2db5aa15722307fb6ad703627933224f5f74bbe3

 

Hope it helps !


 

Re: blank page magento 2

Hi @decornmore

 

ok - i understand !

 

just a quick question , after installing this readymade theme - have you run all the necessary commands ?

 

Also have puted theme modules in app/code directory ? the reason behind this error is - something is breaking in your theme !

 

theme is not configured properly - if you change this theme to Magento's luma theme then it will work normally !

 

so can you let me know have you run the commands and puted directories in app/code ?

 

Hope it helps !

if issue solved,Click Kudos & Accept as Solution

Re: blank page magento 2

Hi,

i have installed it with: 

php bin/magento setup:upgrade

this is the doc installation i work with.  

https://www.portotheme.com/magento2/porto/documentation/

Re: blank page magento 2

Hi @decornmore

 

Yes - but as mention on the same link you will required to run all the commands , below i am sharing the list of commands run that in a sequence - you will resolved your error !

 

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush

hope it helps !

if issue solved,Click Kudos & Accept as Solution

Re: blank page magento 2

i try and get this in the end :

                                                                                                                                                                                                                                                                                                                                                    
  [Magento\Framework\Exception\FileSystemException]                                                                                                                                                                                                                                                                                                  
  Cannot read contents from file "/home2/decornmo/public_html/inspireoutfits/pub/static/frontend/Smartwave/porto/en_US/font-awesome/less/mixins.css" Warning!file_get_contents(/home2/decornmo/public_html/inspireoutfits/pub/static/frontend/Smartwave/porto/en_US/font-awesome/less/mixins.css): failed to open stream: No such file or directory  
                                                                                                                                                                                                                                                                                                                                                     

setup:static-content:deploy [-f|--force] [-s|--strategy [STRATEGY]] [-a|--area [AREA]] [--exclude-area [EXCLUDE-AREA]] [-t|--theme [THEME]] [--exclude-theme [EXCLUDE-THEME]] [-l|--language [LANGUAGE]] [--exclude-language [EXCLUDE-LANGUAGE]] [-j|--jobs [JOBS]] [--symlink-locale] [--content-version CONTENT-VERSION] [--refresh-content-version-only] [--no-javascript] [--no-css] [--no-less] [--no-images] [--no-fonts] [--no-html] [--no-misc] [--no-html-minify] [--] [<languages>]...

Re: blank page magento 2

I see this error:

Refused to apply style from 'http://m2.outletpad.com/pub/media/styles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

Re: blank page magento 2


@Manthan Dave wrote:

Hi @decornmore

 

Yes - but as mention on the same link you will required to run all the commands , below i am sharing the list of commands run that in a sequence - you will resolved your error !

 

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush

hope it helps !


i tray it but no it not solve the problem. 

Re: blank page magento 2

Hello @decornmore,

 

Please run below command to give permission 

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
find ./var -type d -exec chmod 777 {} \;
find ./pub/media -type d -exec chmod 777 {} \;
find ./pub/static -type d -exec chmod 777 {} \;
chmod 777 ./app/etc
chmod 644 ./app/etc/*.xml

To generate static content

php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento setup:upgrade
rm -rf pub/static/frontend/* pub/static/adminhtml/* var/cache/ var/generation/ var/page_cache/ var/view_preprocessed/ var/composer_home generated/
php -dmemory_limit=6G bin/magento setup:static-content:deploy -f
chmod -Rf 777 pub/ var/
php bin/magento cache:clean

--
If my answer is useful, please Accept as Solution & give Kudos