Error Logging |
How do i get the page name along with the script name?
I got the following error. Undefined variable: title views/head.php 7 But the title has been set in the controller. So, I have no idea which file is causing the trouble. Can you please tell me how to find which file is creating this problem?
As a workaround, at the beginning of the file views/head.php add the following:
Code: if (!isset($title)) It would be convenient if only the written log (on non-CLI) contained the URLs of erroneous pages, but such a feature is not implemented. Such a feature could be added here: https://github.com/bcit-ci/CodeIgniter/b...g.php#L207 |
Welcome Guest, Not a member yet? Register Sign In |