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
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');
>>
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
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
.
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
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
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
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,
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'
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
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
> -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
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
>
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
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
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
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
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
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,
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
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
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
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
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'
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'
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
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
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=/
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' '
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
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",
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
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
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 & ~
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
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
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
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
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
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
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
"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
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
""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
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
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
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:
> >
> &
> -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
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
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
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
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
> -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
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
> -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
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
> -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
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
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
> -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
> -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
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
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
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
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
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
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
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?
>
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
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
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
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
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
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
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
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
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
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
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
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
>>
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
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.
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
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
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
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
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
> 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,
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
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
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:
> >> >
>
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.
>> >>
>> >
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
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
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
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
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
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
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
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 - 100 of 1149 matches
Mail list logo