Re: Date warnings with squirrel_logger

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

 



On Wed, Dec 21, 2011 at 11:42 AM, Nikolaos Milas <nmilas@xxxxxx> wrote:
> Hello,
>
> I have just upgraded to the latest version of SquirrelMail (1.4.22) with
> squirrel_logger and lockout plugins (also latest versions at this time).
>
> I have also just upgraded to php 5.3.8. I'm on CentOS 5.7 with Apache
> 2.2.21.
>
> I am getting such warnings all the time:
>
> [Wed Dec 21 20:49:32 2011] [error] [client xxx.xxx.xxx.xxx] PHP
> Warning:  date() [<a href='function.date'>function.date</a>]: It is not
> safe to rely on the system's timezone settings. You are *required* to
> use the date.timezone setting or the date_default_timezone_set()
> function. In case you used any of those methods and you are still
> getting this warning, you most likely misspelled the timezone
> identifier. We selected 'Europe/Helsinki' for 'EET/2.0/no DST' instead
> in /var/www/html/plugins/squirrel_logger/functions.php on line 139,
> referer: https://vmail.example.com/src/login.php
>
> Any suggestions to stop getting these warnings?

How did you install SquirrelMail?  Please look at the bottom of
include/validate.php and see if the timezone code block is there:

http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/include/validate.php?r1=13893&r2=14057&view=patch

If that code is there, we'd have to know what page requests -- what
log actions -- are triggering these warnings.

Of course, you can also configure your PHP settings with a timezone,
per the instructions given in the warning message too.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users



[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux