Archana
Posts: 2
|
Posted: 03/23/2007, 8:36 PM |
|
Hi all,
I want to display the error message on the web page i.e mysql error message on webpage.How do i do that?eg for messages:
a)DBD::mysql::st execute failed: Duplicate entry '' for key 1
b)DBD::mysql::st execute failed: Table 'data.vb' doesn't exist
These messages are displayed in command prompt same messages i want to display on the web page!!
|
|
|
roeya
Posts: 181
|
Posted: 05/01/2007, 8:50 PM |
|
If your scripts have such problems and you do not see the error messages then all
You need to do is change the following settings:
Project -> Settings -> Connections -> Choose the connection then press modify,You'll get the Modify connection - Server:... dialog, choose the Server tab and change the checkbox RaiseError to true (it is located down left). Press OK.
After this go again to Project -> Settings -> Server/Script and set the Display Error property to true (The one before the last property in the page).
That is it now every DB error will be reported and every other error as well
_________________
http://www.infoneto.com/ |
|
|
Hanan
Posts: 3
|
Posted: 06/28/2007, 1:23 AM |
|
Thanks a lot i had this problem also
and you save me a headache
a good day
|
|
|
|