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

    there was a constant, that can do this, but saddly i dont remember it, and i lost my original config file so i keep looking in the forum, like 1hour and cant find it, anyone please could tell me, it was something like: define('AK_DEBUG_SQL',1);

    • CommentAuthorKaste
     

    hm,

    AK_DEBUG => true
    AK_LOG_EVENTS => true
    

    then its in your development.log

    • CommentAuthorKaste
     

    actually AK_LOG_EVENTS is enough for this, of course.

    • CommentAuthorinsanet
     
    hey kaste, but there is another one, that display them in the same action.
    • CommentAuthorThijs
     

    throw a

    $this->MODELNAME->dbug();
    

    in the beginning of an action, and the queries will show up in the webpage

    • CommentAuthorinsanet
     
    there was a config constant, (used for debugging) that echo all the sql querys from the beggining of the script to the end, anyone knows? or this feature doesnt exist anymore?