Re: [PHP] PHP Error logging

2011-01-17 Thread Daniel Brown
On Mon, Jan 17, 2011 at 19:33, Jimmy Stewpot wrote: > Hello, > > I currently have a strange issue where we are seeing 'random errors' being > displayed to end users. What I find most interesting is that in the php.ini > file we have the following error settings. > > error_reporting  =  E_ALL & ~

Re: [PHP] Php error

2009-01-24 Thread Per Jessen
mattias wrote: > ERR_DB_NO_DB_PASS >What will this meen? No database password has been set in config. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php error loadin file

2008-02-11 Thread Shawn McKenzie
Daniel Brown wrote: > On Feb 11, 2008 11:12 AM, <[EMAIL PROTECTED]> wrote: >>> On Feb 11, 2008 10:40 AM, <[EMAIL PROTECTED]> wrote: HEllo with the next code i am trying for loading one file $mibool = FALSE; $Descriptor2 = fopen("usuarios.txt","r"); >>> Does this

Re: [PHP] php error loadin file

2008-02-11 Thread Daniel Brown
On Feb 11, 2008 11:12 AM, <[EMAIL PROTECTED]> wrote: > > On Feb 11, 2008 10:40 AM, <[EMAIL PROTECTED]> wrote: > >> HEllo > >> with the next code i am trying for loading one file > >> > >> > >> $mibool = FALSE; > >> $Descriptor2 = fopen("usuarios.txt","r"); > > > > Does this file exist in the

Re: [PHP] php error loadin file

2008-02-11 Thread miren
> On Feb 11, 2008 10:40 AM, <[EMAIL PROTECTED]> wrote: >> HEllo >> with the next code i am trying for loading one file >> >> >> $mibool = FALSE; >> $Descriptor2 = fopen("usuarios.txt","r"); > > Does this file exist in the directory from which the script is > ultimately run, and is it readable?

Re: [PHP] php error loadin file

2008-02-11 Thread Daniel Brown
On Feb 11, 2008 10:40 AM, <[EMAIL PROTECTED]> wrote: > HEllo > with the next code i am trying for loading one file > > > $mibool = FALSE; > $Descriptor2 = fopen("usuarios.txt","r"); Does this file exist in the directory from which the script is ultimately run, and is it readable? > $usuario

Re: [PHP] PHP error catching

2007-06-20 Thread Stut
Miguel J. Jiménez wrote: Hi. I have been asked to try to catch the php error generated when the PHP script exceed execution time, but I do not know if that can be done... Any ideas? Mainly I want to show a custimized error page instead of that error (kind of "Sorry but we are busy right now" or

Re: [PHP] Php Error Output Redirection

2006-12-18 Thread Robert Cummings
On Mon, 2006-12-18 at 20:55 +0200, Sancar Saran wrote: > > Oh really? > so where is my spy-adware windows trojan prize ? > > Thank you Jochem, asking you always easy than the searching documentation and > I always wonder what can I do without you and your great comments :). > > I promise, next

Re: [PHP] Php Error Output Redirection

2006-12-18 Thread Sancar Saran
On Monday 18 December 2006 15:39, Jochem Maas wrote: > Sancar Saran wrote: > > Hi, > > > > Is anyone know that errors generated by php (like Notice: Uninitialized > > string offset: 0 in ...) may stored in a php variable and print out later > > ? > > > > I want to put them some other location and s

Re: [PHP] Php Error Output Redirection

2006-12-18 Thread Jochem Maas
Sancar Saran wrote: > Hi, > > Is anyone know that errors generated by php (like Notice: Uninitialized > string > offset: 0 in ...) may stored in a php variable and print out later ? > > I want to put them some other location and show them in a debug window. I do > this for my error reporting a

Re: [PHP] Php Error Output Redirection

2006-12-18 Thread Saqib Ali
Use the set_error_handle function: http://us2.php.net/manual/en/function.set-error-handler.php saqib http://www.full-disk-encryption.net On 12/18/06, Sancar Saran <[EMAIL PROTECTED]> wrote: Hi, Is anyone know that errors generated by php (like Notice: Uninitialized string offset: 0 in ...) may

Re: [PHP] PHP error log

2006-04-20 Thread Richard Lynch
On Thu, April 20, 2006 7:42 am, Weber Sites LTD wrote: > I'm using PHP 4.4.0 (cli) and all of the errors / warnings are written > to > file. > I can see all of the direct errors but when I have an error inside an > include > file the script fails and the error is not shown in the log. I have to > "

RE: [PHP] PHP error log

2006-04-20 Thread Weber Sites LTD
ROTECTED] Sent: Thursday, April 20, 2006 5:15 PM To: Weber Sites LTD Cc: php-general@lists.php.net Subject: Re: [PHP] PHP error log Run the include file separately and see if it produces an error. Also make sure that if you have "short open tags=OFF" that your include file uses normal tags.

Re: [PHP] PHP error log

2006-04-20 Thread Wolf
Run the include file separately and see if it produces an error. Also make sure that if you have "short open tags=OFF" that your include file uses normal tags. Code normally helps. Wolf Weber Sites LTD wrote: > Hi > > I'm using PHP 4.4.0 (cli) and all of the errors / warnings are written to >

Re: [PHP] PHP error log

2006-04-20 Thread Martin Alterisio \"El Hombre Gris\"
Please, explain how are you logging the errors. Weber Sites LTD wrote: Hi I'm using PHP 4.4.0 (cli) and all of the errors / warnings are written to file. I can see all of the direct errors but when I have an error inside an include file the script fails and the error is not shown in the log. I

RE: [PHP] PHP error log

2006-04-20 Thread Ing. Edwin Cruz
Are you using the constants predefined? __FILE__ __LINE__ Or also try using backtrace, http://mx.php.net/debug_backtrace Regards! Edwin. -Mensaje original- De: Weber Sites LTD [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 20 de Abril de 2006 07:43 a.m. Para: php-general@lists.php.

RE: [PHP] php error reporting problem

2006-03-30 Thread Ford, Mike
On 29 March 2006 15:25, ngwarai zed wrote: > phpinfo says > > Configuration File (php.ini) Path /etc/php.ini > > And the file I am editing is /etc/php.ini Is this not the > one Iam supposed to edit? On list please! H'mmm -- file permissions? You've stopped and restarted Apache? Which oper

Re: [PHP] php error reporting problem

2006-03-29 Thread Christopher Murtagh
On Wed, 2006-03-29 at 16:38 +0300, ngwarai zed wrote: > I tried changing display_errors = On and error_reporting = On in > php.ini , restarted httpd but when I check with phpinfo() I still see > display_errors set to Off and error_reporting set to 2047. My php > script still does not show any error

Re: [PHP] php error reporting problem

2006-03-29 Thread Christopher Murtagh
On Wed, 2006-03-29 at 18:25 +0300, ngwarai zed wrote: > But still the problem is not solved. Just to recap on the problem: I > just want the deliberate php errors Imake to shown as errors on the > php page when the script runs. Yes, that should be the normal behaviour. Check your error_reporting s

Re: [PHP] php error reporting problem

2006-03-29 Thread ngwarai zed
Thanks Christopher for your help. I followed you numbered advicestep by step. 1) I verified that there weren't any typo's that were causing fatal problems in my php.ini 2) looked at the output of phpinfo() and verified the location of the php.ini script. /etc/php.ini .This is the file I am modif

RE: [PHP] php error reporting problem

2006-03-29 Thread Ford, Mike
> -Original Message- > From: ngwarai zed [mailto:[EMAIL PROTECTED] > Sent: 29 March 2006 14:39 > To: Christopher Murtagh > The problem is I know what the error is. What I want is for > the error to be shown when I run the script not to be just > written to the error log. I tried changin

Re: [PHP] php error reporting problem

2006-03-29 Thread ngwarai zed
I checked the apache error log and the error is written there just as I expected like below. [client 127.0.0.1] PHP Parse error: parse error, unexpected T_STRING, expecting ',' or ';' on line 90, referer: http://localhost/form.html The problem is I know what the error is. What I want is for th

Re: [PHP] php error reporting problem

2006-03-28 Thread Paul Novitski
At 10:57 AM 3/28/2006, ngwarai zed wrote: hi, I omitted a semicolon ; at the end of a php statement on purpose to see what the error looks like. I ran the script and a blank page just came out.No error message. I then edited php.ini and set Display_errors = On and errror_reporting = E_ALL then

Re: [PHP] php error reporting problem

2006-03-28 Thread John Nichel
ngwarai zed wrote: hi, I omitted a semicolon ; at the end of a php statement on purpose to see what the error looks like. I ran the script and a blank page just came out.No error message. I then edited php.ini and set Display_errors = On and errror_reporting = E_ALL then restarted httpd. Ran t

Re: [PHP] PHP error tracking on new server

2005-08-09 Thread Lawrence Kennon
- Original Message - From: "Terry Romine" <[EMAIL PROTECTED]> To: Sent: Sunday, August 07, 2005 10:03 AM Subject: [PHP] PHP error tracking on new server ... The problem is that when an error occurs, the page just comes up blank, Does your hosting service give you access to the PH

Re: [PHP] PHP error tracking on new server

2005-08-07 Thread Marco Tabini
Hey Terry-- On 8/7/05 11:03 AM, "Terry Romine" <[EMAIL PROTECTED]> wrote: > > Any ideas on what flag may need to be set and how to do it on a file- > by-file basis so I am only tweaking it when testing? > > Terry Does your hosting provider support .htaccess? If so, you may be able to change th

Re: [PHP] PHP error on form

2005-07-28 Thread -k.
--- Bruce Gilbert <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to get a form to work integrating html > with PHP. I see a couple problems... This line: > if ($POST['sender_email'] =="") { Should probably be: if ($_POST['sender_email'] =="") { Note the underscore in $_POST

RE: [PHP] PHP error on form

2005-07-28 Thread Mike Johnson
From: Bruce Gilbert [mailto:[EMAIL PROTECTED] > Hello, > > I am trying to get a form to work integrating html with PHP. > > the code I have is: > > $form_block = " > > Your Name:< /br> > > < /br> > > Message:< /br> > > > Form\"> > "; > > if ($_POST['op'] !="ds") { > // they need to see

RE: [PHP] PHP error on form

2005-07-28 Thread Jay Blanchard
[snip] and the error I get is: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /hsphere/local/home/bruceg/inspired-evolution.com/Contact_Form_test.php on line 58 [/snip] I forgot to say that the code you sent does not include 58

RE: [PHP] PHP error on form

2005-07-28 Thread Jay Blanchard
[snip] Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /hsphere/local/home/bruceg/inspired-evolution.com/Contact_Form_test.php on line 58 [/snip] Send us the first 60 or so lines of the code and we'll see what we can see. I strong

Re: [PHP] Php error with MySql

2005-01-07 Thread Wil Hitchman
Apologies...just have had loose fingers - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Wil" <[EMAIL PROTECTED]>; Sent: Thursday, January 06, 2005 3:31 PM Subject: RE: [PHP] Php error with MySql [snip] ...stuff... Wil [/snip] I

Re: [PHP] Php error with MySql

2005-01-07 Thread Stan F
- Original Message - From: "Wil" <[EMAIL PROTECTED]> To: Sent: Thursday, January 06, 2005 9:35 PM Subject: [PHP] Php error with MySql > I get the following error > > Warning: mysql_num_rows(): supplied argument is not a valid MySQL result > resource in /home/wilmail/public_html/elblog.p

Re: [PHP] Php error with MySql

2005-01-06 Thread Janet Valade
Wil wrote: I get the following error Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/wilmail/public_html/elblog.php on line 7 &n=& //error ends here with the following bit of code $qResult = mysql_query ("SELECT * FROM blog_entries ORDER BY id DESC"); $n

Re: [PHP] Php error with MySql

2005-01-06 Thread Richard Lynch
Wil Hitchman wrote: > I get the following error > > Warning: mysql_num_rows(): supplied argument is not a valid MySQL result > resource in /home/wilmail/public_html/elblog.php on line 7 > &n=& //error ends here > > with the following bit of code > > $qResult = mysql_query ("SELECT * FROM blog_ent

Re: [PHP] Php error with MySql

2005-01-06 Thread Brian Tully
sounds like there's something up with the query, perhaps the wrong table name. as a debugging method I usually use the die() clause when performing a query so I can ensure the query is correct. try using this: $qResult = mysql_query ("SELECT * FROM blog_entries ORDER BY id DESC") or die("could n

RE: [PHP] Php error with MySql

2005-01-06 Thread Jay Blanchard
[snip] ...stuff... Wil [/snip] I replied to this over an hour ago, please do not repost. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Php error with MySql

2005-01-06 Thread John Nichel
Wil Hitchman wrote: I get the following error Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/wilmail/public_html/elblog.php on line 7 &n=& //error ends here with the following bit of code $qResult = mysql_query ("SELECT * FROM blog_entries ORDER BY i

Re: [PHP] Php error with MySql

2005-01-06 Thread John Holmes
> From: "Wil Hitchman" <[EMAIL PROTECTED]> > > I get the following error > > Warning: mysql_num_rows(): supplied argument is not a valid MySQL result > resource in /home/wilmail/public_html/elblog.php on line 7 > &n=& //error ends here > > with the following bit of code > > $qResult = mysql

RE: [PHP] Php error with MySql

2005-01-06 Thread Jay Blanchard
[snip] I get the following error Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/wilmail/public_html/elblog.php on line 7 &n=& //error ends here with the following bit of code $qResult = mysql_query ("SELECT * FROM blog_entries ORDER BY id DESC"); $

Re: [PHP] [php] error in manual?

2004-07-20 Thread Philip Olson
Yes you're correct, this was fixed about a week ago and will show up when the manual is next built (which should be soon), here's the diff: http://cvs.php.net/diff.php/phpdoc/en/language/oop5/visibility.xml?r1=1.2&r2=1.3 When you find errors like this be sure to file a doc bug report at bugs.php

RE: [PHP] PHP error catching....

2004-07-20 Thread Will Collins
Error handlers? Plus, you can set up PHP to log errors to a file in 'php.ini'... -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 9:48 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP error catching What are those php functions that catch the

Re: [PHP] PHP error catching....

2004-07-20 Thread Scott Fletcher
>[re-snip] >I can't remember what I did 6 to 8 months ago. >[/re-snip] >/* commenting is your friend */ I definitely agree with you on that... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP error catching....

2004-07-20 Thread Jonathan Haddad
error_reporting( E_NONE )? Jon Scott Fletcher wrote: Close, but still not quite it. I can't remember what I did 6 to 8 months ago. I do remember that it was written to temporary suppress the php error while the other part of the php script can be allow to execute before unsupressing the php error

RE: [PHP] PHP error catching....

2004-07-20 Thread Jay Blanchard
[snip] Close, but still not quite it. I can't remember what I did 6 to 8 months ago. I do remember that it was written to temporary suppress the php error while the other part of the php script can be allow to execute before unsupressing the php error. I do not meant the "@" part.. It was a fun

Re: [PHP] PHP error catching....

2004-07-20 Thread Curt Zirzow
* Thus wrote Scott Fletcher: > Close, but still not quite it. I can't remember what I did 6 to 8 months > ago. I do remember that it was written to temporary suppress the php error > while the other part of the php script can be allow to execute before > unsupressing the php error. I do not mean

Re: [PHP] PHP error catching....

2004-07-20 Thread Scott Fletcher
Close, but still not quite it. I can't remember what I did 6 to 8 months ago. I do remember that it was written to temporary suppress the php error while the other part of the php script can be allow to execute before unsupressing the php error. I do not meant the "@" part.. It was a function w

Re: [PHP] PHP error catching....

2004-07-20 Thread Jason Wong
On Tuesday 20 July 2004 22:48, Scott Fletcher wrote: > What are those php functions that catch the PHP errors, not display it and > do something to it while the user load a webpage. I don't remember what > those are. :-( manual > Error Handling and Logging Functions -- Jason Wong -> Greml

Re: [PHP] PHP error catching....

2004-07-20 Thread Curt Zirzow
* Thus wrote Scott Fletcher: > What are those php functions that catch the PHP errors, not display it and > do something to it while the user load a webpage. I don't remember what > those are. :-( It sounds like you're looking for http://php.net/set_error_handler Curt -- First, let me a

Re: [PHP] PHP error catching....

2004-07-20 Thread Philip Olson
> What are those php functions that catch the PHP errors, not display it and > do something to it while the user load a webpage. I don't remember what > those are. :-( Look around set_error_handler() Regards, Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP Error

2004-02-21 Thread John Nichel
Tim Trimble wrote: Can anyone tell me what linux and php is asking for here, this dir. and file is at this location, and chmoded to 755. Failed opening required './libraries/grab_globals.lib.php' (include_path='.:/php/includes:/usr/share/php') I guess what I'm asking is, it says the path is ".:/

Re: [PHP] PHP error logs?

2003-10-20 Thread Robert Cummings
On Mon, 2003-10-20 at 16:34, Joseph Bannon wrote: > Where are the PHP error logs kept? In the PHP error log file. Cheers, Rob. Ps. See your php.ini for the appropriate setting: error_log ;) -- .. | InterJinn Application Framework - ht

Re: [PHP] php error log : productinfo finished message

2003-07-30 Thread Curt Zirzow
* Thus wrote Merlin ([EMAIL PROTECTED]): > > most likely a php script is using syslog() to report that > > 'ProductInfo finished'. > > what is syslog and which ProductInfo? Can you be more specific? syslog() is a phpfunction that allows php script to write to the phplog file. http://php.net/sysl

Re: [PHP] php error log : productinfo finished message

2003-07-30 Thread Merlin
> most likely a php script is using syslog() to report that > 'ProductInfo finished'. what is syslog and which ProductInfo? Can you be more specific? Thanx, merlin --