By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,988 Members | 1,068 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,988 IT Pros & Developers. It's quick & easy.

get raise notice/exception message on PHP

P: 51
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!
Mar 28 '14 #1
Share this Question
Share on Google+
1 Reply

P: 51
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.
Mar 28 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.