Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthortanaka
     

    Hi, I'm trying to create shopping backend in Akelos. How can I see "PHP Fatal error" message on screen or in a logfile when I have a syntax error in a controller?

    I editted this code in app/controllers/page_controller.php on purpose.

    class PageController extends ApplicationController
    {
        function index()
        {
             echo 'hello' // forget putting semicolon
        }
    }
    

    then, screen is blank.
    and, no fatal error about this in /var/log/php.log. (I set 'error_log = /var/log/php.log' in php.ini)

    I can see fatal error messages when I have a syntax error in models and libraries.
    Thanks!

    • CommentAuthorKaste
     

    good point, never noticed that.

    can you open up a ticket, please?

    (I could'nt reproduce this issue, now it seems we might have a clear case.)

    • CommentAuthortanaka
     

    thanks, kaste.
    I open a new ticket, #119.