get raise notice/exception message on PHP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • datactrl
    New Member
    • Jul 2008
    • 51

    get raise notice/exception message on PHP

    I use PHP to do database with Postresql. On PHP, I would like to get message from Raise notice/exception on Postgresql procedure. It's used to work fine. After some Postgresql, Aapache and PHP upgrade. Now it won't work. That means on PHP, I cannot get any of them and just a server timeout message. I can find all of then are in postgresql log file. Is there any configuration can change it back? Thank you very much!
  • datactrl
    New Member
    • Jul 2008
    • 51

    #2
    I solved the problem. PHP does receive the exception message from psql and apache does report the error to client browser. on browser side, it's an ajax request. That exception message have to be handled on error event rather than success event.

    Comment

    Working...