ikkez / fabulog

the new F3-powered awesome fabulous blog-ware
GNU General Public License v3.0
62 stars 22 forks source link

Fatal error when page does not exits #9

Closed RNKushwaha closed 9 years ago

RNKushwaha commented 9 years ago

When I tried to open an url which does not exists(e.g. http://localhost/fabulog-master/admin/page), it shows me following error

Fatal error: Call to a member function setView() on a non-object [C:/xampp/htdocs/fabulog-master/app/controller/backend.php:19]

while it should show the user that page does not exists. Why you are showing programming error?

ikkez commented 9 years ago

Hi. yeah i guess this should trigger a 404 or something similar in the backend too. fabulog v0.2 is still a very early version, made of testings and to learn coding with F3 and Cortex. Hence i just showing errios might be a not that bad idea. You can turn it off with setting DEV = false in the app/config.ini file.