Re[2]: Re: Problem with function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings, Jason Pruim.
In reply to Your message dated Friday, September 12, 2008, 18:09:19,


> 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@xxxxxxxxxx
>>>>
>>>>
>>>>
>>>>
>>>>
>> 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');?

Second argument to the ini_set required to be a number.
Why the hell you passing string to it?
That's evaluated to zero, effectively disabling error reporting.
E_ALL and E_STRICT is a *numerical constants*.
So,

ini_set('error_reporting', E_ALL | E_STRICT);


-- 
Sincerely Yours, ANR Daemon <anrdaemon@xxxxxxxxxxx>


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux