I had this issue with magento CE 2.1.8, then i upgraded hoping that this will be resolved but issue persists. . When i add product to cart it just shown empty white page. No error what so ever in logs. Tried to enable php logs but they also dont show any error.
Hi @omarsattar,
If you're getting a blank page is probably you're having an error 500.
Can you enable the Magento logs and also take a look to the webserver error logs?
Maybe your broser console can provide you some information too about the error (to see if you're getting and error 500 after the add to cart action)
I have enabled log via renaming /pub/errors/local.xml.sample ..is there any other way to do that?Browser Console also shows nothing.Enabled PHP error reporting .That also shows nothing
Hi @omarsattar,
These are a few actions that maybe you could apply:
(*)
If you need to set the developer mode you can use these methods:
Apache virtualhost
Set the MAGE_MODE env.
<VirtualHost *:80> ServerName www.domain.com DocumentRoot /var/www/html SetEnv MAGE_MODE "developer" SetEnv MAGE_RUN_TYPE "website" SetEnv MAGE_RUN_CODE "default" </VirtualHost>
Nginx
Set the MAGE_MODE param.
location ~ \.php$ { fastcgi_param MAGE_MODE "developer"; }
Magento console
Or you can set this manually from your server using the console.
bin/magento deploy:mode:set developer
Once you're ready you should change back the mode value to production.
I have enabled developer mode from magento CLI, one strange thing i have noted now is that server time and the log time are not same..seeing live logs with tailf and server time on OS and log time do not match, Also these are logs im getting but these get when i open the product not when actual issue happens
This is the time issue i`m talking about
i have checked store settings in web they are correct.nothing wrong with them
Hi @omarsattar,
It seems you have an error on your layouts files.
Can you take a look to your custom theme (or modules maybe) to see if those XML are well formed?
I have also this issue...what is the solution for that??
When I add my featured products to cart it return blank white empty page..