Re: Re: Problem with function

From: Date: Fri, 12 Sep 2008 14:09:19 +0000
Subject: Re: Re: Problem with function
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-279999@lists.php.net to get a copy of this message
On Sep 12, 2008, at 9:50 AM, Nathan Rixham wrote:
Jochem Maas wrote:
Jason Pruim schreef:
On Sep 12, 2008, at 9:34 AM, Nathan Rixham wrote:
Nathan Rixham wrote:
Jason Pruim wrote:
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
[snip snip snip] have to say this: error_reporting( E_ALL ); at the top would help; + display_errors on in php.ini and problem is probably due to duplciate variable/constant definition in default.php or dbmysqliconnect.php
I could agree more... which is why I have this: ini_set('error_reporting', E_ALL); But the log isn't showing anything...
php.ini is what he said.
My error log for the site has this: [Fri Sep 12 09:40:54 2008] [debug] mod_rewrite.c(1643): [client 192.168.0.253] mod_rewrite's internal redirect status: 0/10. -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 11287 James St Holland, MI 49424 www.raoset.com japruim@raoset.com
display_errors in php.ini is what you want; makes life easier while developing; and good to have E_STRICT and E_ALL set for err reporting; then you can catch every tiny potential future bug as well :) ps did you read the one about your bind variables being in the wrong order and too many?
I did, and I checked them, and they looked good to me... I'll double check again and make sure to add E_STRICT... would it just be: ini_set('error_reporting', 'E_ALL' 'E_STRICT');? -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 11287 James St Holland, MI 49424 www.raoset.com japruim@raoset.com

« previous php.general (#279999) next »