473,320 Members | 1,810 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,320 software developers and data experts.

Error message levels

My message levels are turned up too high and the one that installed php for
me is new to it. I need to have them turned down some. I get the following
message from a simple query:

Warning: mssql_pconnect() [function.mssql-pconnect]: message: Cannot open
user default database '<ID>'. Using master database instead. (severity 11)

and then it does everything correctly.

What do I tell him about how to turn the levels down so that this doesn't
show (as well as the one that there already is a session_start() ).

Shelly
Feb 20 '06 #1
5 1340
The settings are:
mssql.min_error_severity 10
mssql.min_message_severity 10
error_reporting 2047

"Sheldon Glickler" <gl*******@bellsouth.net> wrote in message
news:QQ*****************@bignews6.bellsouth.net...
My message levels are turned up too high and the one that installed php
for me is new to it. I need to have them turned down some. I get the
following message from a simple query:

Warning: mssql_pconnect() [function.mssql-pconnect]: message: Cannot open
user default database '<ID>'. Using master database instead. (severity 11)

and then it does everything correctly.

What do I tell him about how to turn the levels down so that this doesn't
show (as well as the one that there already is a session_start() ).

Shelly

Feb 20 '06 #2
The password / username is correct ?

Feb 20 '06 #3
If this is a production system then you shouldn't be displaying error
messages to your users. Instead have the error messages written to an
error log.

Tell him to set display_errors to 0 in the php.ini file and log_errors
to 1.

Feb 20 '06 #4
Thank you. I will tell him that.
"samudasu" <sa******@hotmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
If this is a production system then you shouldn't be displaying error
messages to your users. Instead have the error messages written to an
error log.

Tell him to set display_errors to 0 in the php.ini file and log_errors
to 1.

Feb 20 '06 #5
You can select the level of error reporting with this function
error_reporting();

Feb 21 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

33
by: nkhan | last post by:
Need some help on this please: EECE1207 Spring 2005 Computer Assignment # 1 Due Wednesday, March 23rd The file ‘grades.txt’, as shown below, contains the results of a true-false exam...
10
by: Shawn | last post by:
JIT Debugging failed with the following error: Access is denied. JIT Debugging was initiated by the following account 'PLISKEN\ASPNET' I get this messag in a dialog window when I try to open an...
5
by: Dominiek | last post by:
Hi, I have a strange problem. during the developement of my program, while progressively writing more and more code, the callstack of my program gets deeper and deeper (7 levels). Then, all...
8
by: jcrouse | last post by:
I am using the following code to trap errors in a sub routine: Try Executable code Catch ex As Exception Dim strInputE As String = Application.StartupPath & "\Error.txt" Dim srE As...
6
by: Angus | last post by:
I am using a global which is a void* I have it defined in one file as: void* hFlag; and one other header file as: extern void* hFlag; But I get this compile error:
21
by: modeep | last post by:
// JavaScript Document var easy = "046280000500600740200000000005032070021000480030170500000000005094001007000096830"; var easySplit = easy.split(''); var eAns =...
6
by: newbarker | last post by:
Hello, This program doesn't work and provides me the errror message "error C2040: 'p' : 'std::string' differs in levels of indirection from 'const char *'": #include <string> int main() {
9
by: Daniel Smedegaard Buus | last post by:
Hey all :) I was wondering about the $error_types (I particularly notice the 's' suffix when reading the manual) parameter for 'set_error_handler()': Can be used to mask the triggering of the...
3
by: imaloner | last post by:
I am posting two threads because I have two different problems, but both have the same background information. Common Background Information: I am trying to rebuild code for a working,...
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
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...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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.