how to stop drupal showing warning message.
feelexit - June 27, 2008 - 01:42
# warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in F:\xampp\htdocs\code\tool_post.php on line 134.
# warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: End tag : expected '>' in http://www.aaa.com/forum/forum_posts.asp?TID=578624, line: 94 in F:\xampp\htdocs\code\tool_post.php on line 100.
# warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : scr in http://www.aaa.com/forum/forum_posts.asp?TID=578624, line: 94 in F:\xampp\htdocs\code\tool_post.php on line 100.
# warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: End tag : expected '>' in http://www.aaa.com/forum/forum_posts.asp?TID=578624, line: 99 in F:\xampp\htdocs\code\tool_post.php on line 100.
# warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : scr in http://www.aaa.com/forum/forum_posts.asp?TID=578624, line: 99 in F:\xampp\htdocs\code\tool_post.php on line 100.
# warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: End tag : expected '>' in http://www.aaa.com/forum/forum_posts.asp?TID=578624, line: 131 in F:\xampp\htdocs\code\tool_post.php on line 100.
# warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : scr in http://www.aaa.com/forum/forum_posts.asp?TID=578624, line: 131 in F:\xampp\htdocs\code\tool_post.php on line 100.
# warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.aaa.com/forum/forum_posts.asp?TID=578624, line: 167 in F:\xampp\htdocs\code\tool_post.php on line 100.
# warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.aaa.com/forum/forum_posts.asp?TID=578624, line: 167 in F:\xampp\htdocs\code\tool_post.php on line 100.I have more than 500 lines of these warning message showed up on my front page. I wrote a simple htmlparse page, everytime, it parses web page, it gonna generate alot warning messages. It surprises me that drupal catched all the warning messages, but I need to print $message because I have other messages to show (like if other members add u as their friend) . is there a way to stop drupal catching warning messages ?????????????????

Is this Drupal? This seems
Is this Drupal? This seems to be an asp application, a forum or something.
it is drupal. inside drupal
it is drupal. inside drupal folder, i add another php file, what this php file does is to parse the web page and create a drupal node. but during web page parsing, it generates alot warning messages. and somehow drupal catched those warning messages, and showed up on the front page. I try to find a way to remove those warning messages.
Have you tried something
Have you tried anything like this function in your script?
http://php.net/error_reporting
Because these messages do not seem to be generated by a Drupal file, they seem to be copied as part of the content.
thanx for
thanx for help.
error_reporting yes, that solved my problem,
site configuration -> Error reporting, theres option you for you to write errors to log and to screen, I overlooked this option. I should make it to log only.