HI,
I’ve completed coding the tutorial up to and including Database and models. When I tried to test it in the browser, no data was rendered. No errors or exceptions where displayed. How do I figure out what is wrong?
HI,
I’ve completed coding the tutorial up to and including Database and models. When I tried to test it in the browser, no data was rendered. No errors or exceptions where displayed. How do I figure out what is wrong?
Is the application in development mode or production? Has it been displaying up to a certain point? When did it stop rendering?
You can activate the development mode for your application, which activates the error display in the view scripts:
Another option is to enable error reporting as in any other PHP application / script:
The application is in Development Mode and this is the first time I have tested it in the browser in accordance with the tutorial. I’m wondering if it has anything to do with the Sqlite database connection. Is there a way to test that?
Have you enabled the error reporting of PHP?