Re: [PHP] error messages

2007-10-07 Thread tbt

Yes i was looking for view parse errors on my browser but now I guess will
have to use an IDE Like zend :)



tedd wrote:
 
 At 10:27 PM +0200 10/5/07, Zoltán Németh wrote:
2007. 10. 5, péntek keltezéssel 12.57-kor tedd ezt írta:

   I long for the time where my editor said Offending syntax on line
 236.

my editor still says parse error and shows me the line number... ;)

greets
Zoltán Németh
 
 Consider yourself lucky, or me unfortunate.  :-)
 
 All my development is spent online -- the browser god is not forgiving.
 
 One of these days I'll get the Zend IDE to work.
 
 Cheers,
 
 tedd
 
 --
 ---
 http://sperling.com  http://ancientstones.com  http://earthstones.com
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 

-- 
View this message in context: 
http://www.nabble.com/error-messages-tf4573258.html#a13090113
Sent from the PHP - General mailing list archive at Nabble.com.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] error messages

2007-10-06 Thread tedd

At 10:27 PM +0200 10/5/07, Zoltán Németh wrote:

2007. 10. 5, péntek keltezéssel 12.57-kor tedd ezt írta:

  I long for the time where my editor said Offending syntax on line 236.

my editor still says parse error and shows me the line number... ;)

greets
Zoltán Németh


Consider yourself lucky, or me unfortunate.  :-)

All my development is spent online -- the browser god is not forgiving.

One of these days I'll get the Zend IDE to work.

Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] error messages

2007-10-05 Thread Larry Garfield
On Friday 05 October 2007, Paul Scott wrote:
 On Thu, 2007-10-04 at 22:38 -0700, tbt wrote:
  I'm a newbie to php and i would like to know a way of viewing runtime
  errors on the browser. Currently when an error occurs nothing is
  displayed on the browser. Is there any way of viewing all error messages
  on the browser itself.

 You can up the error_reporting level in your php.ini, or you can simply
 put the following line at the top of your script:

 ini_set(error_reporting, E_ALL);

 or for an even stricter setting:

 ini_set(error_reporting, E_STRICT);

 --Paul

You will also need to set:

ini_set('display_errors', 'On');

Some web hosts set it Off by default for security reasons, but you probably 
want it on for development and testing.

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] error messages

2007-10-05 Thread tbt

I added the following lines to the top of my script but still no error
messages show up on the browser. 
When a php error occurs the entire page is still shown blank.


Larry Garfield wrote:
 
 On Friday 05 October 2007, Paul Scott wrote:
 On Thu, 2007-10-04 at 22:38 -0700, tbt wrote:
  I'm a newbie to php and i would like to know a way of viewing runtime
  errors on the browser. Currently when an error occurs nothing is
  displayed on the browser. Is there any way of viewing all error
 messages
  on the browser itself.

 You can up the error_reporting level in your php.ini, or you can simply
 put the following line at the top of your script:

 ini_set(error_reporting, E_ALL);

 or for an even stricter setting:

 ini_set(error_reporting, E_STRICT);

 --Paul
 
 You will also need to set:
 
 ini_set('display_errors', 'On');
 
 Some web hosts set it Off by default for security reasons, but you
 probably 
 want it on for development and testing.
 
 -- 
 Larry GarfieldAIM: LOLG42
 [EMAIL PROTECTED] ICQ: 6817012
 
 If nature has made any one thing less susceptible than all others of 
 exclusive property, it is the action of the thinking power called an idea, 
 which an individual may exclusively possess as long as he keeps it to 
 himself; but the moment it is divulged, it forces itself into the
 possession 
 of every one, and the receiver cannot dispossess himself of it.  --
 Thomas 
 Jefferson
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 

-- 
View this message in context: 
http://www.nabble.com/error-messages-tf4573258.html#a13054779
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] error messages

2007-10-05 Thread Paul Scott

On Fri, 2007-10-05 at 00:32 -0700, tbt wrote:
 I added the following lines to the top of my script but still no error
 messages show up on the browser. 
 When a php error occurs the entire page is still shown blank.
 

Is your script *supposed* to output something?

--Paul

All Email originating from UWC is covered by disclaimer 
http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] error messages

2007-10-05 Thread Ford, Mike
 -Original Message-
 From: Paul Scott [mailto:[EMAIL PROTECTED]
 Sent: 05 October 2007 06:44
 
 On Thu, 2007-10-04 at 22:38 -0700, tbt wrote:
  I'm a newbie to php and i would like to know a way of 
 viewing runtime errors
  on the browser. Currently when an error occurs nothing is 
 displayed on the
  browser. Is there any way of viewing all error messages on 
 the browser
  itself.
  
 
 You can up the error_reporting level in your php.ini, or you 
 can simply
 put the following line at the top of your script:
 
 ini_set(error_reporting, E_ALL);
 
 or for an even stricter setting:
 
 ini_set(error_reporting, E_STRICT);

Er, no, actually that's much *less* strict, as it won't display any of the 
E_ALL errors; I think you meant:

   ini_set(error_reporting, E_ALL  E_STRICT);


Cheers!

Mike

-
Mike Ford,  Electronic Information Services Adviser,
JG125, The Headingley Library,
James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 812 4730  Fax:  +44 113 812 3211 


To view the terms under which this email is distributed, please go to 
http://disclaimer.leedsmet.ac.uk/email.htm

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] error messages

2007-10-05 Thread tbt

yes it is



pscott wrote:
 
 
 On Fri, 2007-10-05 at 00:32 -0700, tbt wrote:
 I added the following lines to the top of my script but still no error
 messages show up on the browser. 
 When a php error occurs the entire page is still shown blank.
 
 
 Is your script *supposed* to output something?
 
 --Paul
 
 
 All Email originating from UWC is covered by disclaimer
 http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

-- 
View this message in context: 
http://www.nabble.com/error-messages-tf4573258.html#a13056353
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] error messages

2007-10-05 Thread Aleksandar Vojnovic

try putting this on the top of your PHP page
?php
error_reporting(E_ALL);


?
tbt wrote:

yes it is



pscott wrote:
  

On Fri, 2007-10-05 at 00:32 -0700, tbt wrote:


I added the following lines to the top of my script but still no error
messages show up on the browser. 
When a php error occurs the entire page is still shown blank.


  

Is your script *supposed* to output something?

--Paul


All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




  


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] error messages

2007-10-05 Thread Aleksandar Vojnovic

Maybe display errors is set on off?

?
ini_set('display_errors','1');
?

Aleksander

tbt wrote:

yes it is



pscott wrote:
  

On Fri, 2007-10-05 at 00:32 -0700, tbt wrote:


I added the following lines to the top of my script but still no error
messages show up on the browser. 
When a php error occurs the entire page is still shown blank.


  

Is your script *supposed* to output something?

--Paul


All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




  


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] error messages

2007-10-05 Thread Jim Lucas

tbt wrote:

Hi

I'm a newbie to php and i would like to know a way of viewing runtime errors
on the browser. Currently when an error occurs nothing is displayed on the
browser. Is there any way of viewing all error messages on the browser
itself.

Thanks


From what I read in your other posts, it sounds like you have a parse error in 
your script.

Even if you place the lines at the top of scripts as others have suggested, it will not fix your 
issue if your script has a parse error in it.  This is because PHP pre-parses each script.  But only 
after it is able to parse all the scripts, does it actually start running the script(s).


My suggestion is to use modify the php.ini file directly and change the values that the others have 
suggested or, if you're using Apache, use a .htaccess file with the values set to force(on startup) 
php to display errors.


This has bit me in the rear a few times myself.

So, in your php.ini file, set these:

display_errors = On
error_reporting  =  E_ALL

and if you have to use a .htaccess file, do this

php_value error_reporting E_ALL
php_value display_errors On

Doing a quit google search I found this.  It might be good reading for you.

http://www.nyphp.org/phundamentals/ini.php

--
Jim Lucas

   Some men are born to greatness, some achieve greatness,
   and some have greatness thrust upon them.

Twelfth Night, Act II, Scene V
by William Shakespeare

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] error messages

2007-10-05 Thread tedd

At 10:38 PM -0700 10/4/07, tbt wrote:

Hi

I'm a newbie to php and i would like to know a way of viewing runtime errors
on the browser. Currently when an error occurs nothing is displayed on the
browser. Is there any way of viewing all error messages on the browser
itself.

Thanks


tbt:

Welcome to the jungle.

What Paul said is correct, but you must also realize that not all 
errors will be shown even with the error reporting on.


For example, just leaving a ; from a line termination will cause 
the browser window to display nothing.


This was the hardest thing I had to get used to in programming php 
and still have problem with editing large amounts of code.


So, I suggest that you go in baby steps, test frequently, back-up 
what worked, and comment out sections of code to eventually isolate 
the offending statement(s).


I long for the time where my editor said Offending syntax on line 236.

Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] error messages

2007-10-05 Thread Zoltán Németh
2007. 10. 5, péntek keltezéssel 12.57-kor tedd ezt írta:
 At 10:38 PM -0700 10/4/07, tbt wrote:
 Hi
 
 I'm a newbie to php and i would like to know a way of viewing runtime errors
 on the browser. Currently when an error occurs nothing is displayed on the
 browser. Is there any way of viewing all error messages on the browser
 itself.
 
 Thanks
 
 tbt:
 
 Welcome to the jungle.
 
 What Paul said is correct, but you must also realize that not all 
 errors will be shown even with the error reporting on.
 
 For example, just leaving a ; from a line termination will cause 
 the browser window to display nothing.
 
 This was the hardest thing I had to get used to in programming php 
 and still have problem with editing large amounts of code.
 
 So, I suggest that you go in baby steps, test frequently, back-up 
 what worked, and comment out sections of code to eventually isolate 
 the offending statement(s).
 
 I long for the time where my editor said Offending syntax on line 236.

my editor still says parse error and shows me the line number... ;)

greets
Zoltán Németh

 
 Cheers,
 
 tedd
 
 -- 
 ---
 http://sperling.com  http://ancientstones.com  http://earthstones.com
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] error messages

2007-10-04 Thread tbt

Hi

I'm a newbie to php and i would like to know a way of viewing runtime errors
on the browser. Currently when an error occurs nothing is displayed on the
browser. Is there any way of viewing all error messages on the browser
itself.

Thanks
-- 
View this message in context: 
http://www.nabble.com/error-messages-tf4573258.html#a13053817
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] error messages

2007-10-04 Thread Paul Scott

On Thu, 2007-10-04 at 22:38 -0700, tbt wrote:
 I'm a newbie to php and i would like to know a way of viewing runtime errors
 on the browser. Currently when an error occurs nothing is displayed on the
 browser. Is there any way of viewing all error messages on the browser
 itself.
 

You can up the error_reporting level in your php.ini, or you can simply
put the following line at the top of your script:

ini_set(error_reporting, E_ALL);

or for an even stricter setting:

ini_set(error_reporting, E_STRICT);

--Paul

All Email originating from UWC is covered by disclaimer 
http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Error Messages, Windows, and Tequila

2005-11-16 Thread Jay Blanchard
Hidy-ho good meighbors and neighborettes!

I continue my, as yet unquenched, fascination with the Windows operating
system[sic].

Does anyone know (I have error reporting set so high it would make your head
swim) why errors wouldn't be output to a browser window when they occur? For
instance, I typed the following;

while($doc = odbc_feych_array($dbDocData) // note the misspelling of fetch
that means I was thinking in wild-west dialect at the time, 'fey-uch'

An erro went to the Apache log but no error, such as the highly popular
syntax erro was sent to the browser. Alas, a search of Google revealed
nothing worthwhile, probably because I didn't have the right search term.
Would someone please shed some light on this?

Thanks!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Error Messages, Windows, and Tequila

2005-11-16 Thread David Grant
Printing error messages to your output can be disabled with the
display_errors directive in your php.ini file.  To enable error
printing, the directive should read:

display_errors = On

Cheers,

Dave

Jay Blanchard wrote:
 Hidy-ho good meighbors and neighborettes!
 
 I continue my, as yet unquenched, fascination with the Windows operating
 system[sic].
 
 Does anyone know (I have error reporting set so high it would make your head
 swim) why errors wouldn't be output to a browser window when they occur? For
 instance, I typed the following;
 
 while($doc = odbc_feych_array($dbDocData) // note the misspelling of fetch
 that means I was thinking in wild-west dialect at the time, 'fey-uch'
 
 An erro went to the Apache log but no error, such as the highly popular
 syntax erro was sent to the browser. Alas, a search of Google revealed
 nothing worthwhile, probably because I didn't have the right search term.
 Would someone please shed some light on this?
 
 Thanks!
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Error Messages, Windows, and Tequila

2005-11-16 Thread Richard Davey
Hi Jay,

Wednesday, November 16, 2005, 4:36:25 PM, you wrote:

 Does anyone know (I have error reporting set so high it would make
 your head swim) why errors wouldn't be output to a browser window
 when they occur? For instance, I typed the following;

Are you 100% Tequila-worm sure you've got all the relevant ini flags
set? (display errors, E_ALL, yadda yadda) and that PHP on your lovely
Windows box is actually *using* that ini file and not the mystic
built-in one?

Tis the only reason I can think of that would halt it dead, because as
shocking as this may sound - PHP on Windows *can* actually display
errors ;)

Cheers,

Rich
-- 
Zend Certified Engineer
PHP Development Services
http://www.corephp.co.uk

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Error Messages, Windows, and Tequila

2005-11-16 Thread Jay Blanchard
[snip]
Printing error messages to your output can be disabled with the
display_errors directive in your php.ini file.  To enable error
printing, the directive should read:

display_errors = On
[/snip]

You are correct sir, it is set to off by default. I will hike over to the
data center and flick the switch. Thanks!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Error Messages, Windows, and Tequila

2005-11-16 Thread Dan McCullough
Also check to make sure that its the right php.ini file, I have had a
problem in the past when the installer has put the php.ini file in the
WINDOWS directory and there is an existing one in the PHP directory as
well.  I would check phpinfo and see where the php.ini file is
located.

On 11/16/05, Richard Davey [EMAIL PROTECTED] wrote:
 Hi Jay,

 Wednesday, November 16, 2005, 4:36:25 PM, you wrote:

  Does anyone know (I have error reporting set so high it would make
  your head swim) why errors wouldn't be output to a browser window
  when they occur? For instance, I typed the following;

 Are you 100% Tequila-worm sure you've got all the relevant ini flags
 set? (display errors, E_ALL, yadda yadda) and that PHP on your lovely
 Windows box is actually *using* that ini file and not the mystic
 built-in one?

 Tis the only reason I can think of that would halt it dead, because as
 shocking as this may sound - PHP on Windows *can* actually display
 errors ;)

 Cheers,

 Rich
 --
 Zend Certified Engineer
 PHP Development Services
 http://www.corephp.co.uk

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Error messages configuration

2004-04-07 Thread Germán M. Rivera
Hi all!

   I would like to know if it is possible to change the format of error 
and warning messages that PHP shows. Now my error notifications look like:

   [Fatal error | Warning | ...]: error in file on line line.

   It would be helpful for me that those messages included some 
additional information, like the output of print_r(debug_backtrace()). 
Is there any way to change those messages?

Thank you,
Germán
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Error messages configuration

2004-04-07 Thread John W. Holmes
From: Germán M. Rivera [EMAIL PROTECTED]

 I would like to know if it is possible to change the format of error
 and warning messages that PHP shows. Now my error notifications look like:

 [Fatal error | Warning | ...]: error in file on line line.

 It would be helpful for me that those messages included some
 additional information, like the output of print_r(debug_backtrace()).
 Is there any way to change those messages?

You can use set_error_handler() to capture and reformat some of them.

http://us2.php.net/manual/en/function.set-error-handler.php

Note: The following error types cannot be handled with a user defined
function: E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR
and E_COMPILE_WARNING.

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP error messages

2003-02-16 Thread Lord Loh.
That is not an error! It is a Warning...I got it the other day when the file
was empty (or did not exist or something).

Use @ prefix to make it disappear

?php
$ar=@file(http://www.something.com/the_filename.txt;);
?

Hope this helps...

Lord Loh.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP error messages

2003-02-15 Thread Brad Esclavon
I am getting this error message when i use file() to convert a text document
to an array.

Warning: file(http://www.something.com/the_filename.txt;) - Error 0 in
/nfs/cust/directory_structure/index.php on line 21

I have looked on google and on php.net/docs for information on this problem
(error 0 and error docs) and i cannot find any. can anyone point me to a php
error documentation file or tell me what is wrong?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] error messages

2002-06-19 Thread Shashwat Nagpal

Hi! I did some code, and I am getting warning messages everywhr, I know thr
is a code for it, can u help me? I forgot that msg.

keep in mind, I don't have the xs to php.ini... pls. tell me the settings
for the code file itself..

thanks.


--
_
Shashwat Nagpal
Web Developer  IS Executive
DIREM Marketing Services Pvt. Ltd.
ICQ#: 11174726
Home Tel#: 91-11-5257026
Work Tel#: 91-11-6692901
Fax#: 91-11-6692431
_




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] error messages

2002-06-19 Thread Philip Olson

Try the error_reporting function, which is also 
a PHP directive in php.ini

  http://www.php.net/manual/en/features.error-handling.php
  http://www.php.net/error_reporting

Although you should just fix the errors ;)

Regards,
Philip Olson


On Wed, 19 Jun 2002, Shashwat Nagpal wrote:

 Hi! I did some code, and I am getting warning messages everywhr, I know thr
 is a code for it, can u help me? I forgot that msg.
 
 keep in mind, I don't have the xs to php.ini... pls. tell me the settings
 for the code file itself..
 
 thanks.
 
 
 --
 _
 Shashwat Nagpal
 Web Developer  IS Executive
 DIREM Marketing Services Pvt. Ltd.
 ICQ#: 11174726
 Home Tel#: 91-11-5257026
 Work Tel#: 91-11-6692901
 Fax#: 91-11-6692431
 _
 
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Error messages

2002-05-07 Thread Ferry van Steen

Hey there,

I just came across a really busy site due to the murder on Pim Fortuyn in
the Netherlands.
Anyways, this site gives a really nice error message. I put it below. Is
this a PHP function/mode/config option or where these things written by the
people who maintain PHP on that site?

It looks like this:

Warning: Access denied for user: 'icon@localhost' (Using password: YES) in
/home/sites/www.icondolement.nl/web/com/icon2/include/mysql.inc.php on line
8
Connection Error 

MySQL Error : Connection Error
Error Number: 1045 Access denied for user: 'icon@localhost' (Using password:
YES)
Date: Tue, May 7, 2002 10:35:52
IP  : 80.60.70.114
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Referer : http://www.icondolement.nl/com/icon2/guestbook


More or less... This client doesn't render it exactly the same as IE...

The source:

html
head
titleIcondolement/title
meta name=keywords content=php, script, mySQL, free, guestbook,
advanced
style type=text/css
!--
.font1 {  font-family: Verdana, Arial, Helvetica, sans-serif; font-size:
8.5pt; color: #00 }
.font2 {  font-family: Verdana, Arial, Helvetica, sans-serif; font-size:
7.5pt; color: #00 }
.font3 { font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt; color:
#00; font-weight: bold}
.select {  font-family: Verdana, Arial, Helvetica, sans-serif; font-size:
9pt}
.input {  font-family: Verdana, Arial, Helvetica, sans-serif; font-size:
9pt}
A:hover {text-decoration: underline; color:red;}
--
/style
base href=http://www.icondolement.nl/com/icon2/;
/head
body bgcolor=#FF link=#00 vlink=#00
br
bWarning/b:  Access denied for user: 'icon@localhost' (Using password:
YES) in
b/home/sites/www.icondolement.nl/web/com/icon2/include/mysql.inc.php/b
on line b8/bbr
bfont size=4 face=ArialConnection Error/font/bhrpreMySQL Error :
Connection Error
Error Number: 1045 Access denied for user: 'icon@localhost' (Using password:
YES)
Date: Tue, May 7, 2002 10:35:52
IP  : 80.60.70.114
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Referer : http://www.icondolement.nl/com/icon2/guestbook.php
/pre

Regards


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Error messages

2002-05-07 Thread Michael Egan

Ferry,

I think this is a fairly standard error message suggesting that the
password information being passed to the underlying database is
incorrect.

It would be the settings to connect to the database that need to be
altered in this case.

Michael Egan

 Warning: Access denied for user: 'icon@localhost' (Using password: YES) in
 /home/sites/www.icondolement.nl/web/com/icon2/include/mysql.inc.php on line
 8
 Connection Error

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Error messages

2002-05-07 Thread David Freeman

  really nice error message. I put it below. Is this a PHP 
  function/mode/config option or where these things written by 
  the people who maintain PHP on that site?

  MySQL Error : Connection Error
  Error Number: 1045 Access denied for user: 'icon@localhost' 
[etc]

A little of both I would guess.  The site designers would have used the
error reporting functions available to derive the information displayed
and then incorporated that design into the actual pages you see
displayed.  You wouldn't expect to get a page with that information
without having coded it first.

Having said that, I'd be a little careful of providing that much
information in an error message on a production (and publicly available)
web site purely because it may provide enough information for someone to
attack or compromise the site.

CYA, Dave



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Error messages

2001-06-22 Thread Coughlan, Andy-HQ
Title: Error messages





Hi Guys and Gals,


Whilst developing various php pages I noticed that occasionally when I get an error in a page the parser won't tell me which line the error is on, and just shows error on line 1 even if the error is on line 93. It isn't every page that does it, although I've tried saving an offending file as a different name and this symptoms still occur. Has anyone else had a similar experience, and, if so, do they know if there's a fix for it?

Andy


Andy Coughlan
Marketing Communications Assistant
a.coughlan@portex.com


Smiths Group plc Registered in England under No:137013
Registered office: 765 Finchley Road, London NW11 8DS, UK


This E-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
This E-mail does not constitute a commitment by Smiths Group plc or any of its subsidiary companies





Re: [PHP] Error messages

2001-06-22 Thread enygma

A lot of times, it will tell you what kind of error it isif it's a
parse error, the first thing to look for is a missing semi-colon or
something. Other than that, braces and parens are the ones that I miss
the most. It's just a limitation of the PHP debugger right now. It might
be fixed in later versions, but until then I'd just suggest an editor
that does syntax highlighting. It's helped me not miss as many little
things like that.

-enygma

Coughlan, Andy-HQ wrote:



 Hi Guys and Gals,

 Whilst developing various php pages I noticed that occasionally when I
 get an error in a page the parser won't tell me which line the error
 is on, and just shows error on line 1 even if the error is on line
 93.  It isn't every page that does it, although I've tried saving an
 offending file as a different name and this symptoms still occur.  Has
 anyone else had a similar experience, and, if so, do they know if
 there's a fix for it?

 Andy

 Andy Coughlan
 Marketing Communications Assistant
 [EMAIL PROTECTED]

 Smiths Group plcRegistered in England under No:137013
 Registered office: 765 Finchley Road, London NW11 8DS, UK

 This E-mail and any files transmitted with it are confidential and
 intended
 solely for the use of the individual or entity to whom they are
 addressed.
 This E-mail does not constitute a commitment by Smiths Group plc or
 any of its subsidiary companies

--
[EMAIL PROTECTED]
--
PHPDeveloper.org - News, tuorials and forums all for you
http://www.phpdeveloper.org



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]