CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 supression of mysql Error Output in production site

Print topic Send  topic

Author Message
svorlow

Posts: 18
Posted: 07/25/2005, 9:33 AM

Hi,

I've a serious problem. I get occasionally unexpected mysql Error on my application. Instead of some automatic information like this:

Database error: Invalid SQL: SELECT user_id FROM user_skill WHERE skill_id =
MySQL Error: 1064 (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1)
Session halted.

I would like to give the User something like a general Information page.

Anybody an Idea how to redirect to a general error page? I can't use handlers on every mysql function like @mysql_connect, it must be something that can be configurated by php.ini...

Best regards

Stephan

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 http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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