Re: [PHP] Error checking ON

2013-07-17 Thread Jim Lucas
On 07/17/2013 09:28 AM, Tedd Sperling wrote: On Jul 17, 2013, at 11:55 AM, Daniel Brown wrote: On Wed, Jul 17, 2013 at 11:49 AM, Tedd Sperling wrote: This is what I do for error checking: ini_set('error_reporting', E_ALL | E_STRICT); ini_set('display_errors', 'On'); i

Re: [PHP] Error checking ON

2013-07-17 Thread Tedd Sperling
On Jul 17, 2013, at 11:55 AM, Daniel Brown wrote: > On Wed, Jul 17, 2013 at 11:49 AM, Tedd Sperling wrote: >> This is what I do for error checking: >> >>ini_set('error_reporting', E_ALL | E_STRICT); >>ini_set('display_errors', 'On'); >>ini_set('log_errors', 'On'); >>

Re: [PHP] Error checking ON

2013-07-17 Thread Daniel Brown
On Wed, Jul 17, 2013 at 11:49 AM, Tedd Sperling wrote: > Hi gang: > > Considering: > > On Jul 17, 2013, at 11:41 AM, Jim Giner wrote: > >> Since you state that you haven't made any changes to the system (in >> general), I'm going to guess that you modified an 'included' file and it has >> an er

[PHP] Error checking ON

2013-07-17 Thread Tedd Sperling
Hi gang: Considering: On Jul 17, 2013, at 11:41 AM, Jim Giner wrote: > Since you state that you haven't made any changes to the system (in general), > I'm going to guess that you modified an 'included' file and it has an error > in it, such as an unmatched curly brace. As Dan said, turn on a

RE: [PHP] Error connecting with DB

2012-08-27 Thread Rod Lindgren
. Sensei Rod Lindgren @KarateClub_us Rod Lindgren -Original Message- From: Volmar Machado [mailto:qi.vol...@gmail.com] Sent: Monday, August 27, 2012 3:12 PM To: r...@okinawa-te.info Subject: Re: [PHP] Error connecting with DB In the first image you have softaculous pointing to

[PHP] Error connecting with DB

2012-08-27 Thread Rod Lindgren
I need some help. I was cleaning up files on my server yesterday and deleted some files I should not have. One of my websites, www.ancientempires-tours.com has a problem with one section. The subdomain www.egypt.ancientempires-tours.com, is having a problem connecting with the database. I need some

Re: [PHP] Re: [PHP-WEBMASTER] php error

2012-08-13 Thread As'ad Djamalilleil
can we see the code of the form ? On Mon, Aug 13, 2012 at 11:09 AM, Daniel Brown wrote: > On Mon, Aug 13, 2012 at 2:32 PM, tomas lagro > wrote: > > > > Hello, my name is tomas, i'm having a problem and i've checked a lot of > times the script and it is not that, because in my local xampp server

[PHP] Re: [PHP-WEBMASTER] php error

2012-08-13 Thread Daniel Brown
On Mon, Aug 13, 2012 at 2:32 PM, tomas lagro wrote: > > Hello, my name is tomas, i'm having a problem and i've checked a lot of times > the script and it is not that, because in my local xampp server it works > correctly, the issue is that i have a form on my webpage and when you submitt > it,

Re: [PHP] How do I enable more useful PHP error logging?

2012-02-29 Thread Stuart Dallas
On 29 Feb 2012, at 01:13, Daevid Vincent wrote: >> -Original Message- >> From: Stuart Dallas [mailto:stu...@3ft9.com] >> >> Seriously? Errors like this should not be getting anywhere near your >> production servers. This is especially true if you're really getting 30k >> hits/s. > > Don'

Re: [PHP] How do I enable more useful PHP error logging?

2012-02-29 Thread Simon Schick
Hi, Daevid What you could do to have it quick is to install the plugin xdebug. Here you can (as described in the documentation linked here) enable to get some extra information for a E_* message from php. http://xdebug.org/docs/stack_trace I would not do that on a live-system where you have 30k

Re: [PHP] How do I enable more useful PHP error logging?

2012-02-28 Thread Tommy Pham
On Tue, Feb 28, 2012 at 3:14 PM, Daevid Vincent wrote: > My question is, is there a way to enable some PHP configuration that would > output more verbose information, such as a backtrace or the URL attempted? > Have you looked at log4php? [1] It's a log4j (Java based) logging facility port to PHP

RE: [PHP] How do I enable more useful PHP error logging?

2012-02-28 Thread Daevid Vincent
> -Original Message- > From: Stuart Dallas [mailto:stu...@3ft9.com] > > Seriously? Errors like this should not be getting anywhere near your > production servers. This is especially true if you're really getting 30k > hits/s. Don't get me started. I joined here almost a year ago. They did

Re: [PHP] How do I enable more useful PHP error logging?

2012-02-28 Thread Stuart Dallas
On 28 Feb 2012, at 23:14, Daevid Vincent wrote: > My question is, is there a way to enable some PHP configuration that would > output more verbose information, such as a backtrace or the URL attempted? > > In our PHP error log, we have the usual semi-useful information. However >

Re: [PHP] How do I enable more useful PHP error logging?

2012-02-28 Thread Adam Richardson
On Tue, Feb 28, 2012 at 6:14 PM, Daevid Vincent wrote: > My question is, is there a way to enable some PHP configuration that would > output more verbose information, such as a backtrace or the URL attempted? > > In our PHP error log, we have the usual semi-useful information. Howev

[PHP] How do I enable more useful PHP error logging?

2012-02-28 Thread Daevid Vincent
My question is, is there a way to enable some PHP configuration that would output more verbose information, such as a backtrace or the URL attempted? In our PHP error log, we have the usual semi-useful information. However this is only a partial story as it's hard to re-create the URL that c

Re: [PHP] Error in portuguese translation of substr_compare

2011-12-31 Thread Daniel P. Brown
Forwarded to the proper address. Docs PT/PT-BR folks, please see the below email. Thanks, and happy new year! On Fri, Dec 30, 2011 at 14:35, QI.VOLMAR QI wrote: > I was read substr_compare description in portuguese language, an I > asked myself to test it, so after several test, I foun

[PHP] Error in portuguese translation of substr_compare

2011-12-30 Thread QI.VOLMAR QI
I was read substr_compare description in portuguese language, an I asked myself to test it, so after several test, I found that its wrong. The text is in Portuguese: "Se length é igual ou maior que o comprimento de main_str e length é setado, substr_compare() imprime warning e retorna FA

Re: [PHP] Error Reporting

2011-12-23 Thread Jim Lucas
On 12/23/2011 8:13 AM, Floyd Resler wrote: > I know this is a very basic question and I'm almost embarrassed to ask it, > but it's something I really struggle with. That is, getting the right > combination of error reporting options together to report the errors I want. > Right now, I get the

[PHP] Error Reporting

2011-12-23 Thread Floyd Resler
I know this is a very basic question and I'm almost embarrassed to ask it, but it's something I really struggle with. That is, getting the right combination of error reporting options together to report the errors I want. Right now, I get the errors I want except for parse errors. Basically,

Re: [PHP] Error recovery - fatal errors

2011-05-16 Thread Tim Streater
On 16 May 2011 at 21:34, Peter Lind wrote: > You were trying to call a method on a non-object - how do you expect > PHP to handle that if not with a fatal error? > Anyway, good to hear you solved the issue - I misunderstood what you > wanted to do (shut down in a proper fashion, not actually rec

Re: Re: [PHP] Error recovery - fatal errors

2011-05-16 Thread Peter Lind
On 16 May 2011 22:14, Tim Streater wrote: > On 14 May 2011 at 15:05, Peter Lind wrote: > >> On 14 May 2011 12:33, Tim Streater wrote: >>> I would like, in my app, to recover from as many run-time errors as >>> possible, >>> so that I can tidy up. And unsolicited output generated by the standard

Re: Re: [PHP] Error recovery - fatal errors

2011-05-16 Thread Tim Streater
On 14 May 2011 at 15:05, Peter Lind wrote: > On 14 May 2011 12:33, Tim Streater wrote: >> I would like, in my app, to recover from as many run-time errors as possible, >> so that I can tidy up. And unsolicited output generated by the standard error >> system is really unhelpful as it becomes pa

Re: [PHP] Error recovery - fatal errors

2011-05-16 Thread David Harkness
You can register a shutdown function that gets called even in the case of a fatal error. We use something like this: public function init() { register_shutdown_function(array('Bootstrap', 'fatalErrorCatcher')); ... } public function fatalErrorCatcher() { $error

Re: [PHP] Error recovery - fatal errors

2011-05-14 Thread Peter Lind
On 14 May 2011 12:33, Tim Streater wrote: > I would like, in my app, to recover from as many run-time errors as possible, > so that I can tidy up. And unsolicited output generated by the standard error > system is really unhelpful as it becomes part of the ajax reply to the > browser. > > So I'

[PHP] Error recovery - fatal errors

2011-05-14 Thread Tim Streater
I would like, in my app, to recover from as many run-time errors as possible, so that I can tidy up. And unsolicited output generated by the standard error system is really unhelpful as it becomes part of the ajax reply to the browser. So I've added my own error handler, but it seems that I can'

Re: [PHP] Error Reporting/Display Errors Issues?

2011-05-10 Thread Mike Mackintosh
our disabling function is malformed. > > > > Richard L. Buskirk > > > > -Original Message- > From: Mike Mackintosh [mailto:mike.mackint...@angrystatic.com] > Sent: Monday, May 09, 2011 10:34 PM > To: php-general@lists.php.net > Subject: [PHP] Error Report

RE: [PHP] Error Reporting/Display Errors Issues?

2011-05-10 Thread admin
malformed. Richard L. Buskirk -Original Message- From: Mike Mackintosh [mailto:mike.mackint...@angrystatic.com] Sent: Monday, May 09, 2011 10:34 PM To: php-general@lists.php.net Subject: [PHP] Error Reporting/Display Errors Issues? Anyone else notice PHP throwing Warning and Notices

Re: [PHP] Error Reporting/Display Errors Issues?

2011-05-10 Thread xianhua zhou
You may need to check the running php code, those values can be changed during runtime. 2011/5/10 Mike Mackintosh : > Anyone else notice PHP throwing Warning and Notices even when display errors > and error reporting disabled? > > I compiled PHP with the following: > > './configure'  '--prefix=/

[PHP] Error Reporting/Display Errors Issues?

2011-05-09 Thread Mike Mackintosh
Anyone else notice PHP throwing Warning and Notices even when display errors and error reporting disabled? I compiled PHP with the following: './configure' '--prefix=/usr/local/php-5.3.3' '--enable-cli' '--disable-debug' '--disable-rpath' '--disable-static' '--with-pic' '--with-openssl=/usr' '

Re: [PHP] Error in variable assignment

2011-04-12 Thread Richard Quadling
On 11 April 2011 20:28, Ethan Rosenberg wrote: > Dear list - > > I an writing a script that will simulate a chess board.  On a move from e2 > to e6 [see below] the variable in e2 is never assigned to e6.  Here are some > code snippets: > > session_start(); > session_name("Chess"); > error_reporti

[PHP] Error in variable assignment

2011-04-11 Thread Ethan Rosenberg
Dear list - I an writing a script that will simulate a chess board. On a move from e2 to e6 [see below] the variable in e2 is never assigned to e6. Here are some code snippets: starting"; $results = array(array("Br", "Bn", "Bb", "Bq", "Bk", "Bb", "Bn", "Br"),array("Bp", "Bp", "Bp", "Bp",

[PHP] Error handling a max license issue

2011-02-17 Thread Richard Sharp
Hello everyone, I am having the difficult time trying to figure out how to detract an max user license when my script tries to connect to our Pervasive database through an ODBC connector. I am looking for a way to ignore the error if one arise and continue on with the code. Here is what I

[PHP] Re: PHP Error logging

2011-01-18 Thread Carlos Medina
Am 18.01.2011 01:33, schrieb Jimmy Stewpot: 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& ~E_NOTICE display_er

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 & ~

[PHP] PHP Error logging

2011-01-17 Thread Jimmy Stewpot
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 & ~E_NOTICE display_errors = Off display_startup_errors = Off log_er

Re: [PHP] Error Querying Database

2010-12-20 Thread Ravi Gehlot
Trying to connect to the database can involve setting up your database. Make sure that you have a valid login/password that is recognized by MySQL. Please keep in mind that MySQL works on permission by hosts. So your host IP must be matched with the username/password on the database for a successfu

Re: [PHP] Error Querying Database

2010-12-16 Thread Phred White
It seems like there are several questions emerging, but ... Try echoing your query to the page by putting echo $query in your code before you call mysql, then copy it and run it in phpmyadmin. If it runs then you know your problem is somewhere else like the connection. This can really help you

Re: [PHP] Error Querying Database

2010-12-15 Thread Bastien Koert
On Wed, Dec 15, 2010 at 3:11 PM, Gary wrote: > > Sent: Wednesday, December 15, 2010 2:44 PM > Subject: Re: [PHP] Error Querying Database > >>> > On Wed, 2010-12-15 at 13:42 -0500, Gary wrote: >>> >> I cant seem to get this to connect.  This is to my local te

Re: [PHP] Error Querying Database

2010-12-15 Thread Gary
Sent: Wednesday, December 15, 2010 2:44 PM Subject: Re: [PHP] Error Querying Database >> > On Wed, 2010-12-15 at 13:42 -0500, Gary wrote: >> >> I cant seem to get this to connect. This is to my local testing >> >> server, >> >> which is on, so w

Re: [PHP] Error Querying Database

2010-12-15 Thread Ashley Sheridan
On Wed, 2010-12-15 at 14:44 -0500, Steve Staples wrote: > On Wed, 2010-12-15 at 14:34 -0500, Gary wrote: > > "Steve Staples" wrote in message > > news:1292440837.5460.8.ca...@webdev01... > > > On Wed, 2010-12-15 at 13:42 -0500, Gary wrote: > > >> I cant seem to get this to connect. This is to m

Re: [PHP] Error Querying Database

2010-12-15 Thread Steve Staples
On Wed, 2010-12-15 at 14:34 -0500, Gary wrote: > "Steve Staples" wrote in message > news:1292440837.5460.8.ca...@webdev01... > > On Wed, 2010-12-15 at 13:42 -0500, Gary wrote: > >> I cant seem to get this to connect. This is to my local testing server, > >> which is on, so we need not worry that

Re: [PHP] Error Querying Database

2010-12-15 Thread Gary
"Steve Staples" wrote in message news:1292440837.5460.8.ca...@webdev01... > On Wed, 2010-12-15 at 13:42 -0500, Gary wrote: >> I cant seem to get this to connect. This is to my local testing server, >> which is on, so we need not worry that I have posted the UN/PW. >> >> This is a duplicate of a

Re: [PHP] Error Querying Database

2010-12-15 Thread Steve Staples
On Wed, 2010-12-15 at 13:42 -0500, Gary wrote: > I cant seem to get this to connect. This is to my local testing server, > which is on, so we need not worry that I have posted the UN/PW. > > This is a duplicate of a script I have used countless times and it worked. > The error message is 'Error

Re: [PHP] Error Querying Database

2010-12-15 Thread Gary
""Daniel P. Brown"" wrote in message news:aanlkti=gemvzmpjg1uvb4_tdacqlbzyfjcgvd+har...@mail.gmail.com... On Wed, Dec 15, 2010 at 13:42, Gary wrote: > I cant seem to get this to connect. This is to my local testing server, > which is on, so we need not worry that I have posted the UN/PW. > > Thi

Re: [PHP] Error Querying Database

2010-12-15 Thread Daniel P. Brown
On Wed, Dec 15, 2010 at 13:42, Gary wrote: > I cant seem to get this to connect.  This is to my local testing server, > which is on, so we need not worry that I have posted the UN/PW. > > This is a duplicate of a script I have used countless times and it worked. > The error message is 'Error query

[PHP] Error Querying Database

2010-12-15 Thread Gary
I cant seem to get this to connect. This is to my local testing server, which is on, so we need not worry that I have posted the UN/PW. This is a duplicate of a script I have used countless times and it worked. The error message is 'Error querying database.' Some one point out the error of my

Re: [PHP] Is there a way to write to the php error log from a php script?

2010-10-22 Thread vikash . iitb
t: Friday, October 22, 2010 5:45 PM > > To: Daniel P. Brown > > Cc: PHP General > > Subject: Re: [PHP] Is there a way to write to the php error log from a > php > > script? > > > > > > On Oct 22, 2010, at 7:31 PM, Daniel P. Brown wrote: > > > &

RE: [PHP] Is there a way to write to the php error log from a php script?

2010-10-22 Thread Tommy Pham
> -Original Message- > From: Tamara Temple [mailto:tamouse.li...@gmail.com] > Sent: Friday, October 22, 2010 5:45 PM > To: Daniel P. Brown > Cc: PHP General > Subject: Re: [PHP] Is there a way to write to the php error log from a php > script? > > > On Oct

Re: [PHP] Is there a way to write to the php error log from a php script?

2010-10-22 Thread Tamara Temple
On Oct 22, 2010, at 7:31 PM, Daniel P. Brown wrote: On Fri, Oct 22, 2010 at 20:24, Tamara Temple wrote: I'm trying to log some data for debugging and don't have use of the standard output to do so. I'd like to write the info to the php error log. Can this be done from w

Re: [PHP] Is there a way to write to the php error log from a php script?

2010-10-22 Thread Daniel P. Brown
On Fri, Oct 22, 2010 at 20:24, Tamara Temple wrote: > I'm trying to log some data for debugging and don't have use of the standard > output to do so. I'd like to write the info to the php error log. Can this > be done from within PHP? I've searched the web site for lo

[PHP] Is there a way to write to the php error log from a php script?

2010-10-22 Thread Tamara Temple
I'm trying to log some data for debugging and don't have use of the standard output to do so. I'd like to write the info to the php error log. Can this be done from within PHP? I've searched the web site for logging functions, but cannot find any. -- PHP Genera

[PHP] Error handler script

2010-10-20 Thread Teto
Hi, I've been wondering if there was any php project focusing on providing a neat php error handler ? Up to now, I've been coding mine but I've seen videos on the web where a guy was using a really impressive php error_handler. Of course I could code it but if there was something

RE: [PHP] Error message not understood

2010-10-18 Thread Tommy Pham
> -Original Message- > From: sueandant [mailto:hollandsath...@tiscali.co.uk] > Sent: Monday, October 18, 2010 1:52 PM > To: Tommy Pham > Cc: 'PHP' > Subject: Re: [PHP] Error message not understood > > I'm running PHP as module with Apache. The ver

Re: [PHP] Error message not understood

2010-10-18 Thread sueandant
quot;Tommy Pham" To: "'sueandant'" Cc: "'PHP'" Sent: Saturday, October 16, 2010 10:49 PM Subject: RE: [PHP] Error message not understood -Original Message- From: sueandant [mailto:hollandsath...@tiscali.co.uk] Sent: Saturday, October 16

RE: [PHP] Error message not understood

2010-10-16 Thread Tommy Pham
> -Original Message- > From: sueandant [mailto:hollandsath...@tiscali.co.uk] > Sent: Saturday, October 16, 2010 2:23 PM > To: Tommy Pham > Cc: PHP > Subject: Re: [PHP] Error message not understood > > Apologies! Vista Home Premium 32bit with SP2. I uninst

Re: [PHP] Error message not understood

2010-10-16 Thread sueandant
cial sites. - Original Message - From: "Tommy Pham" To: "'sueandant'" ; "'Luigi Pressello'" Cc: "'PHP'" Sent: Saturday, October 16, 2010 9:38 PM Subject: RE: [PHP] Error message not understood -Original Message- From: su

RE: [PHP] Error message not understood

2010-10-16 Thread Tommy Pham
> -Original Message- > From: sueandant [mailto:hollandsath...@tiscali.co.uk] > Sent: Saturday, October 16, 2010 1:16 PM > To: Luigi Pressello > Cc: PHP > Subject: Re: [PHP] Error message not understood > > I've run both programs. [1] outputs Client library ve

Re: [PHP] Error message not understood

2010-10-16 Thread sueandant
From: "Luigi Pressello" To: "Tommy Pham" Cc: "'sueandant'" ; "'PHP'" Sent: Friday, October 15, 2010 10:46 PM Subject: Re: [PHP] Error message not understood Probably a PHP compilation problem. The message seems refer to t

Re: [PHP] Error message not understood

2010-10-15 Thread Luigi Pressello
mmy Pham [mailto:tommy...@gmail.com] >> Sent: Friday, October 15, 2010 2:16 PM >> To: 'sueandant'; 'PHP' >> Subject: RE: [PHP] Error message not understood >> >>> -Original Message- >>> From: sueandant [mailto:hollandsath...@tiscali.co

RE: [PHP] Error message not understood

2010-10-15 Thread Tommy Pham
> -Original Message- > From: Tommy Pham [mailto:tommy...@gmail.com] > Sent: Friday, October 15, 2010 2:16 PM > To: 'sueandant'; 'PHP' > Subject: RE: [PHP] Error message not understood > > > -Original Message- > > From: sueand

RE: [PHP] Error message not understood

2010-10-15 Thread Tommy Pham
> -Original Message- > From: sueandant [mailto:hollandsath...@tiscali.co.uk] > Sent: Friday, October 15, 2010 2:02 PM > To: PHP > Subject: [PHP] Error message not understood > > Can anyone help me with this error message and explain how to correct the > mi

[PHP] Error message not understood

2010-10-15 Thread sueandant
Can anyone help me with this error message and explain how to correct the mismatch? PHP Warning: mysqli_connect() [function.mysqli-connect]: Headers and client library minor version mismatch. Headers:50051 Library:50151 tholland

Re: [PHP] Error in initialising XML parser

2010-09-06 Thread Sridhar Pandurangiah
Thanks, PHP is now able to include the class file Best regards Original Message Subject: Re: [PHP] Error in initialising XML parser From: a...@ashleysheridan.co.uk (a...@ashleysheridan.co.uk) To: Date: Mon Sep 06 2010 13:56:39 GMT+0530 (IST) PHO won't automatically incl

Re: [PHP] Error in initialising XML parser

2010-09-06 Thread a...@ashleysheridan.co.uk
hanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "Sridhar Pandurangiah" Date: Mon, Sep 6, 2010 09:12 Subject: [PHP] Error in initialising XML parser To: Hi I am writing a PHP snippet to display invoices that is generated by another computer application. The use c

[PHP] Error in initialising XML parser

2010-09-06 Thread Sridhar Pandurangiah
Hi I am writing a PHP snippet to display invoices that is generated by another computer application. The use case is as follows 1. The other computer application generates the invoices for the month in XML and puts it in a common dirctory. So at anytime there could be multiple files. Each fi

Re: [PHP] [ERROR LOG FORMATTER] - any recommendations for web viewable error log formatters?

2010-08-09 Thread Tristan
Thanks but, holy overkill. I just need something simple. Thanks for the advice guys. -T On Mon, Aug 9, 2010 at 2:30 PM, Bastien Koert wrote: > On Mon, Aug 9, 2010 at 3:12 PM, Tristan wrote: > > Looking for something that does error logs on the server. > > > > Thanks, T > > > > On Mon, Aug 9, 2

Re: [PHP] [ERROR LOG FORMATTER] - any recommendations for web viewable error log formatters?

2010-08-09 Thread Bastien Koert
On Mon, Aug 9, 2010 at 3:12 PM, Tristan wrote: > Looking for something that does error logs on the server. > > Thanks, T > > On Mon, Aug 9, 2010 at 12:59 PM, Peter Lind wrote: > >> On 9 August 2010 20:40, Tristan wrote: >> > a client of mine use to have some color coded one but, I can't find it

Re: [PHP] [ERROR LOG FORMATTER] - any recommendations for web viewable error log formatters?

2010-08-09 Thread Tristan
Looking for something that does error logs on the server. Thanks, T On Mon, Aug 9, 2010 at 12:59 PM, Peter Lind wrote: > On 9 August 2010 20:40, Tristan wrote: > > a client of mine use to have some color coded one but, I can't find it > > again. anyone using one that they particularly like? >

Re: [PHP] [ERROR LOG FORMATTER] - any recommendations for web viewable error log formatters?

2010-08-09 Thread Peter Lind
On 9 August 2010 20:40, Tristan wrote: > a client of mine use to have some color coded one but, I can't find it > again. anyone using one that they particularly like? > > similar to this but was hoping for something in PHP > > http://www.psychogenic.com/en/products/Errorlog.php > > Thanks, T > Xd

[PHP] [ERROR LOG FORMATTER] - any recommendations for web viewable error log formatters?

2010-08-09 Thread Tristan
a client of mine use to have some color coded one but, I can't find it again. anyone using one that they particularly like? similar to this but was hoping for something in PHP http://www.psychogenic.com/en/products/Errorlog.php Thanks, T

[PHP] Error on Signing & Encrypting PayPal Website Payment Button with openssl_

2010-07-24 Thread Keith
Hi, anyone has experience creating PayPal Encrypted Website Payment button? I follow PayPal SDK example but the encrypted value is not correct. I think the error should be with openssl_pkcs7_sign() since PayPal can decrypt it with PayPal private key but does not recognize my signed data. PayPal

Re: [PHP] Error handling strategies (db related)

2010-04-28 Thread viraj
On Tue, Apr 27, 2010 at 7:34 PM, Gary . wrote: > On Tue, Apr 27, 2010 at 10:46 AM, Peter Lind wrote: >> On 27 April 2010 10:42, Gary . wrote: >>> How do you guys handle errors during, say, db insertions. >>> >>> Let's say you have an ongoing transaction which fails on the n-th >>> insert. Ok, you

Re: [PHP] Error handling strategies (db related)

2010-04-28 Thread Pete Ford
On 27/04/10 16:37, tedd wrote: Error handling is almost an art form. More like a black art - voodoo perhaps... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Andrew Ballard
On Tue, Apr 27, 2010 at 12:23 PM, tedd wrote: > At 4:23 PM +0100 4/27/10, Nathan Rixham wrote: >> >> I'm still shocked you guys are still writing code that has errors in it, >> what's worse is you know about the errors, and instead of fixing them >> you're just telling the user about it! >> >> :p

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Gary .
On 4/27/10, tedd wrote: > At 4:23 PM +0100 4/27/10, Nathan Rixham wrote: >> >>I'm still shocked you guys are still writing code that has errors in it, >>what's worse is you know about the errors, and instead of fixing them >>you're just telling the user about it! >> >>:p > > Here's my code that doe

RE: [PHP] Error handling strategies (db related)

2010-04-27 Thread Tommy Pham
At 10:24 AM -0400 4/27/10, Paul M Foster wrote: >Unfortunately, true. Sometimes I think computer users should be >required to take a course in using a computer before being allowed >behind the keyboard. > >Paul I came across a term long ago amidst my readings: PEBKAC Problem Exists Between Keybo

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Paul M Foster
On Tue, Apr 27, 2010 at 12:12:31PM -0400, tedd wrote: > At 4:13 PM +0200 4/27/10, Peter Lind wrote: >> If only the world consisted of smart users ... I think, however, that >> we're generally closer to the opposite. And no, I don't hate users - >> I've just seen too many people do things that were

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Ashley Sheridan
On Tue, 2010-04-27 at 12:31 -0400, tedd wrote: > At 5:09 PM +0100 4/27/10, Ashley Sheridan wrote: > >> > > > >Sounds like you've got a few stories that would a lot of people > >happy were you to share them on the DailyWTF ;) > > > >Thanks, > >Ash > > Ash: > > Sharing them here is more direct an

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread tedd
At 5:09 PM +0100 4/27/10, Ashley Sheridan wrote: Sounds like you've got a few stories that would a lot of people happy were you to share them on the DailyWTF ;) Thanks, Ash Ash: Sharing them here is more direct and meaningful to what we do, but I will investigate what you suggest. Che

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Peter Lind
On 27 April 2010 18:21, tedd wrote: > At 4:31 PM +0200 4/27/10, Peter Lind wrote: >> >> While I love to rant at stupid users, the truth is probably that >> programmers are the ones who should take courses in how users think. >> In the end, if I fail to understand my users, it doesn't matter how >>

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread tedd
At 4:23 PM +0100 4/27/10, Nathan Rixham wrote: I'm still shocked you guys are still writing code that has errors in it, what's worse is you know about the errors, and instead of fixing them you're just telling the user about it! :p Here's my code that doesn't contain errors: Cheers, ted

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread tedd
At 4:31 PM +0200 4/27/10, Peter Lind wrote: While I love to rant at stupid users, the truth is probably that programmers are the ones who should take courses in how users think. In the end, if I fail to understand my users, it doesn't matter how great my program is: they'll still fail to use it.

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Ashley Sheridan
On Tue, 2010-04-27 at 12:12 -0400, tedd wrote: > At 4:13 PM +0200 4/27/10, Peter Lind wrote: > >If only the world consisted of smart users ... I think, however, that > >we're generally closer to the opposite. And no, I don't hate users - > >I've just seen too many people do things that were very f

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread tedd
At 10:24 AM -0400 4/27/10, Paul M Foster wrote: Unfortunately, true. Sometimes I think computer users should be required to take a course in using a computer before being allowed behind the keyboard. Paul Yeah, like I believe that everyone should do through at least one divorce before getting

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread tedd
At 4:13 PM +0200 4/27/10, Peter Lind wrote: If only the world consisted of smart users ... I think, however, that we're generally closer to the opposite. And no, I don't hate users - I've just seen too many people do things that were very far removed from "smart". Regards Peter Peter et al: S

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Nathan Rixham
Teus Benschop wrote: >> I'm still shocked you guys are still writing code that has errors in it, >> what's worse is you know about the errors, and instead of fixing them >> you're just telling the user about it! >> > > The point here is that we, programmers, know that we write code with > bugs in

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread tedd
At 9:36 AM -0400 4/27/10, Paul M Foster wrote: On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote: How do you guys handle errors during, say, db insertions. Let's say you have an ongoing transaction which fails on the n-th insert. Ok, you roll back the transaction, no problem. How do yo

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Teus Benschop
> I'm still shocked you guys are still writing code that has errors in it, > what's worse is you know about the errors, and instead of fixing them > you're just telling the user about it! > The point here is that we, programmers, know that we write code with bugs in it. We are realistic about it,

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Nathan Rixham
Peter Lind wrote: > On 27 April 2010 16:24, Paul M Foster wrote: >> On Tue, Apr 27, 2010 at 04:13:20PM +0200, Peter Lind wrote: >> >>> On 27 April 2010 16:07, Paul M Foster wrote: On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote: > On 27 April 2010 15:36, Paul M Foster wr

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Peter Lind
On 27 April 2010 16:24, Paul M Foster wrote: > On Tue, Apr 27, 2010 at 04:13:20PM +0200, Peter Lind wrote: > >> On 27 April 2010 16:07, Paul M Foster wrote: >> > On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote: >> > >> >> On 27 April 2010 15:36, Paul M Foster wrote: >> >> > On Tue, Ap

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Paul M Foster
On Tue, Apr 27, 2010 at 04:13:20PM +0200, Peter Lind wrote: > On 27 April 2010 16:07, Paul M Foster wrote: > > On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote: > > > >> On 27 April 2010 15:36, Paul M Foster wrote: > >> > On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote: > >> > >

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Peter Lind
On 27 April 2010 16:07, Paul M Foster wrote: > On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote: > >> On 27 April 2010 15:36, Paul M Foster wrote: >> > On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote: >> > >> >> How do you guys handle errors during, say, db insertions. >> >> >> >

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Paul M Foster
On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote: > On 27 April 2010 15:36, Paul M Foster wrote: > > On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote: > > > >> How do you guys handle errors during, say, db insertions. > >> > >> Let's say you have an ongoing transaction which fails

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Gary .
On Tue, Apr 27, 2010 at 10:46 AM, Peter Lind wrote: > On 27 April 2010 10:42, Gary . wrote: >> How do you guys handle errors during, say, db insertions. >> >> Let's say you have an ongoing transaction which fails on the n-th >> insert. Ok, you roll back the transaction, no problem. How do you then

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Peter Lind
On 27 April 2010 15:36, Paul M Foster wrote: > On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote: > >> How do you guys handle errors during, say, db insertions. >> >> Let's say you have an ongoing transaction which fails on the n-th >> insert. Ok, you roll back the transaction, no problem. Ho

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Paul M Foster
On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote: > How do you guys handle errors during, say, db insertions. > > Let's say you have an ongoing transaction which fails on the n-th > insert. Ok, you roll back the transaction, no problem. How do you then > inform the user? Just using the text

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Michiel Sikma
On 27 April 2010 10:42, Gary . wrote: > How do you guys handle errors during, say, db insertions. > > Let's say you have an ongoing transaction which fails on the n-th > insert. Ok, you roll back the transaction, no problem. How do you then > inform the user? Just using the text from pg_result_er

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread Peter Lind
On 27 April 2010 10:42, Gary . wrote: > How do you guys handle errors during, say, db insertions. > > Let's say you have an ongoing transaction which fails on the n-th > insert. Ok, you roll back the transaction, no problem. How do you then > inform the user? Just using the text from pg_result_err

[PHP] Error handling strategies (db related)

2010-04-27 Thread Gary .
How do you guys handle errors during, say, db insertions. Let's say you have an ongoing transaction which fails on the n-th insert. Ok, you roll back the transaction, no problem. How do you then inform the user? Just using the text from pg_result_error or something? -- PHP General Mailing List

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Rick Dwyer
On Mar 2, 2010, at 9:45 AM, Joseph Thayne wrote: I do not know if the question has been answered, but how are you opening the session? Are you using session_start() or are you using session_register()? Hi Joseph. It is created via: session_start(); --Rick -- PHP General Mailing List

  1   2   3   4   5   6   7   8   9   10   >