I am trying to do something like this:
$this->request->redirect("/?message=".HTML::entities($message));
However, this is resulting in my index controller dying on me (ie 500 internal server error, no stacktrace). Is this a no no?
I am trying to do something like this:
$this->request->redirect("/?message=".HTML::entities($message));
However, this is resulting in my index controller dying on me (ie 500 internal server error, no stacktrace). Is this a no no?
No stacktrace while 500 error in Kohana indicates some low level error (PHP or Web Server error). It could be object properties or method Visibility issue or something.
Otherwise Kohana would generate for you exception explanation (when errors => true
is set in bootstrap.php
in Kohana::init()
section).
Inspect your server error log file for last errors. You'll find solution there.