Not signed in (Sign In)
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthortanaka
    • CommentTimeFeb 13th 2008
     

    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
    • CommentTimeFeb 14th 2008
     

    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
    • CommentTimeFeb 14th 2008
     

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

Add your comments
    Username Password
  • Format comments as