Search code examples
phpkohanakohana-3.2

kohana won't display errors, gives blank page


I am obviously doing something wrong with a new class/function I am trying because the page won't render at all. All I receive is a blank page if I call this new errorous class/function.

In order to debug it, to see where it bursts, I am trying to enable all error showing stuff but I seem to not doing it right.

I read that I should use ini_set('display_errors', TRUE); but I am not sure where to place this code?

How can I solve the white page issue please? I would very much like to see the error causing lines/codes.

Thank you


Solution

  • There's a couple of situations where PHP won't send back an error, eg memory related or max execution time. Have you tried checking the web server error logs?