473,323 Members | 1,574 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

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!
Mar 28 '14 #1
1 2342
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

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

Similar topics

1
by: Rene | last post by:
Hi, Maybe I'm wrong, but we get an exceptoin on File.Move ("FileA", "FileB" ) because FileA is still in use (sharing violation), but the Exception.Message says: Process cannot access the file...
1
by: Chris Leffer | last post by:
Hi. I have a function that raises a custom exception message. I am trying to divide the message in 3 lines, but could not successfuly display the message. Those were my tries: Throw New...
10
by: WhiskyRomeo | last post by:
I have webservices functions that return datasets. If a database errors happens, try catch statements can be used in the webservice to detect and handle them. However, how do I return that...
4
by: andrewcw | last post by:
I wanted to create an exception handler for certain processing I do - but although I can 'throw' to the constructor with a parameter, I cannot override the exception message property, the error...
0
by: gunjanhshah | last post by:
Hello My system reports the following application event log. The log is due to my web application which is built upon asp.net and sql server 2000 and uses Active directory users to authenticate....
2
by: bdgreen | last post by:
Hi, I made a custom exception, derived from ApplicationException. If the exception is thrown, the erroring web page shows the line of code where I throw exception, and doesn't display the...
6
by: daniel | last post by:
I use a simple program to illustrate the problem: import logging def foo() : raise ValueError("foo") if __name__ == "__main__" : try : foo()
0
by: WaterWalk | last post by:
Until Python 2.5, the exception object still uses ansi string. Thus, in the following example: f = open(u"\u6d4b.log") Suppose the file to open does not exist, the output message of the...
3
by: chandhrakv | last post by:
Event code: 3005 Event message: An unhandled exception has occurred. Event time: 11/18/2009 3:03:53 PM Event time (UTC): 11/18/2009 9:33:53 AM Event ID: ef3014ea80424b00b1bc2e7095fffe4c ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.