Magento How to debug blank white screen

后端 未结 18 1767

I have an error in my Magento backend that results in a blank screen (WSOD). I have set errors to on in admin but there is nothing being created in var/logs/. (I have checke

相关标签:
18条回答
  • 2020-12-01 05:33

    Sometimes this happens because symlinks are not allowed in template settings: Advanced > Developer > Template Settings > Allow Symlinks

    0 讨论(0)
  • 2020-12-01 05:34

    Same problem, I have just purged cache

    rm -rf var/cache/* 
    

    Et voila ! I don't understand what it was...

    0 讨论(0)
  • 2020-12-01 05:36

    This may also be caused by using the xDebug bookmarks when debugging the page. Just stop debugger (remove cookie) and it will go back to normal.

    0 讨论(0)
  • 2020-12-01 05:37

    Just ran into this issue and lost the whole day solving it. Try to increase memory_limit, that worked for me!

    0 讨论(0)
  • 2020-12-01 05:38

    I have also experienced the same problem when uploading the magento project to my webserver, In my case the zip file is corrupted during the upload process and many of my php files are also damaged. I have uploaded via ftp. I have found the solution for this. If you are making the zip file from linux machine, try to use command line tool (For example: ie;

    zip -r my_archive.zip /path/of/files/to/compress/ )

    and do upload to your web server from windows filezilla client.

    0 讨论(0)
  • 2020-12-01 05:40

    Whenever this happens the first thing I check is the PHP memory limit.

    Magento overrides the normal error handler with it's own, but when the error is "Out of memory" that custom handler cannot run, so nothing is seen.

    0 讨论(0)
提交回复
热议问题