[development] Can't suppress E_NOTICE message/

Chana Campos chana at braintag.net
Wed Nov 24 04:40:18 UTC 2010


I double-checked with phpinfo - and indeed, it wasn't loading where I
THOUGHT it would - but I had already changed the file
to reflect not showing NOTICES.

The theme.inc file lines in question - are exactly what I have in my
theme.inc. They match perfectly.

Think I'll give index.php bit a go now and see if that has any effect. (I
have also deleted the other php.ini files - to avoid any collision...).

Thanks very much for pointing me in the right direction...after three days
of this stuff, you get glassy-eyed...
:-)

Chana

On Tue, Nov 23, 2010 at 11:19 PM, Don <donald at fane.com> wrote:

>  just to cover the basics, if you put in a phpinfo();
> does it display the php.ini you think you're using? I'm just looking at the
> display issue.
> you could also try hacking index.php and add  ini_set("display_errors", 0);
>
>
> Are the lines in theme.inc
>    if (!isset($info['arguments']) && isset($cache[$hook])) {
>         $result[$hook]['arguments'] = $cache[$hook]['arguments'];
>       }
> ?
>
>
> On 11/23/2010 10:55 PM, Chana Campos wrote:
>
> Hi Don,
>
> Yes, display errors are set to "off". We're on version 6.17 for a bit
> longer...
>
> php.ini is sitting in public_html...with an identical copy at client root.
> The server
> has been rebooted twice.
>
> Thanks for responding!
>
> Chana
>
>
> On Tue, Nov 23, 2010 at 10:50 PM, Don <donald at fane.com> wrote:
>
>>  display_errors = Off
>> in php.ini?
>>
>> Which version of Drupal are you using?
>>  -Don-
>>
>>
>> On 11/23/2010 10:46 PM, Chana Campos wrote:
>>
>> Hey Chris,
>>
>> In my settings.php file I have:
>>
>> ini_set('error reporting', 0);
>>
>> And thanks for responding - this thing is tenacious!!!
>>
>> Chana
>>
>> On Tue, Nov 23, 2010 at 10:43 PM, Chris Skene <chris at xtfer.com> wrote:
>>
>>> Is it set somewhere in your settings.php file?
>>>
>>>  On 24/11/2010, at 2:36 PM, Chana Campos wrote:
>>>
>>> Hi all,
>>>
>>> I have researched and tried everything that has been suggested regarding
>>> E_NOTICE messages.
>>>
>>> I have modified the php.ini by uncommenting this line:
>>>
>>> error_reporting = E_ALL & ~E_NOTICE
>>>
>>> And set all logging to the db.
>>>
>>> (I've also done this in the admin panel from within Drupal (6.17)
>>>
>>> I have also modified the .htaccess file, uninstalled and reinstalled the
>>> theme, manually cleared caches, rebooted my server, etc. etc. etc. Multiple
>>> searches are close, but none exactly on point.
>>>
>>> This is the notice:
>>>
>>> Notice: Undefined index: arguments in
>>> {SERVER}public_html/includes/theme.inc on line 318.
>>>
>>> Front page is dragging now since this message started appearing as
>>> well...sometimes not loading at all.
>>>
>>> I need to (at least) keep this from displaying until I can figure out the
>>> root cause. This guy is WAY stubborn. Any idea - anybody?
>>>
>>> Thanks in advance,
>>>
>>> Chana
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Chana L Campos
>> 518.483.4159
>>
>>
>>
>>
>>
>>
>
>
> --
> Chana L Campos
> 518.483.4159
>
>
>
>
>
>


-- 
Chana L Campos
518.483.4159
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20101123/7d4fa43c/attachment.html 


More information about the development mailing list