[ZendTo] Re: Cron - Undefined index

John Cooper johnpcooper at yahoo.com
Tue Jun 21 14:29:10 BST 2011


I have mine set to (default on Centos)

error_reporting = E_ALL & ~E_DEPRECATED

Don't forget to restart or reload apache2/httpd to pick up the new 
php.ini settings

John.

On 21/06/11 09:39, Jules wrote:
> You just need to change the "error_reporting" variable in your php.ini 
> so it doesn't report about undefined array indexes. These are totally 
> harmless warnings, you just need to tweak php.ini so it doesn't 
> complain about them.
>
> If you are using RedHat/Fedora/CentOS then it's /etc/php.ini.
> If you are using Ubuntu/Debian, then it's /etc/php/apache2/php.ini (I 
> think).
>
> Jules.
>
> On 21/06/2011 03:26, David Lincoln wrote:
>> Hi - I hope this is a simple one!.   I get a daily cron email as 
>> follows.   I can't work out where these variables should be set (but 
>> everything seems to work ok nevertheless).  Any pointers as to where 
>> to look would be helpful.
>>
>> Thanks
>>
>> David Lincoln
>>
>> PHP Notice:  Undefined index: ZENDTOPREFS in 
>> /opt/zendto/sbin/cleanup.php on line 4
>> PHP Notice:  Undefined index: SERVER_PORT in 
>> /opt/zendto/lib/NSSDropbox.php on line 41
>> PHP Notice:  Undefined index: HTTPS in /opt/zendto/lib/NSSDropbox.php 
>> on line 42
>> PHP Notice:  Undefined index: HTTPS in /opt/zendto/lib/NSSDropbox.php 
>> on line 48
>> PHP Notice:  Undefined index: SERVER_NAME in 
>> /opt/zendto/lib/NSSDropbox.php on line 48
>> PHP Notice:  Undefined index: REQUEST_URI in 
>> /opt/zendto/lib/NSSDropbox.php on line 48
>> PHP Notice:  Undefined index: maxsubjectlength in 
>> /opt/zendto/lib/NSSDropbox.php on line 203
>> PHP Notice:  Undefined index: authLocalAdmins in 
>> /opt/zendto/lib/NSSLocalAuthenticator.php on line 41
>> PHP Notice:  Undefined index: uname in /opt/zendto/lib/NSSDropbox.php 
>> on line 1039
>> PHP Notice:  Undefined index: zendto-session in 
>> /opt/zendto/lib/NSSDropbox.php on line 988
>>
>> NSSDropbox Cleanup of zendto for preference file:
>>  /opt/zendto/config/preferences.php
>>
>> Gathering dropoffs with creation timestamps before: 2011-06-07 
>> 00:05:02+0000
>> No dropoffs have expired.
>>
>> Purging orphaned dropoffs:
>> No orphans found.
>>
>> Purging old sender verification data:
>> Purging old request data:
>>
>>
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zend.to
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
> Jules
>
> -- 
> Julian Field MEng CITP CEng
> www.Zend.To
>
> Follow me at twitter.com/JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
> 'All programs have a desire to be useful' - Tron, 1982
> 'That is the land of lost content,
>   I see it shining plain,
>   The happy highways where I went,
>   And cannot come again.' - A.E. Houseman
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto



More information about the ZendTo mailing list