CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.

YesSoftware Forums -> CodeCharge Studio -> Perl

 TO display error message on browser

Print topic Send  topic

Author Message

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!!

View profile  Send private message

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
View profile  Send private message

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
View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Web Database

Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.