Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi again, i have installed Squirrelmail 1.4.19 on my RHEL 5.1, it's working fine (at least all the test i have made) but there are warnings messages that i want to fix. This messages are like this:
Code:
Warning: date() [function.date]: 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 'America/Chicago' for 'CST/-6.0/no DST' instead in
/var/www/html/squirrelmail/src/left_main.php on line 388
Warning: strtotime() [function.strtotime]: 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 'America/Chicago' for 'CST/-6.0/no DST' instead in
/var/www/html/squirrelmail/functions/date.php on line 428
Warning: date() [function.date]: 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 'America/Chicago' for 'CST/-6.0/no DST' instead in
/var/www/html/squirrelmail/functions/date.php on line 95
How do i fix this? Can someone help?
Also the "function.date" and "function.strtotime" are missed. Could be this the reason?. HOw do i create them?
/var/www/html/squirrelmail/functions/date.php does exist, what doesn't exist are [function.date] and [function.strtotime] that i thing, should exist because each one of them are links to a file that is not there in the scr location.
In the php.ini file i modified the "date.timezone" part and this is how i set it:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.