diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-sysadm/2011-April/003321.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-1be510f9529cb082f802408b472a77d074b394c0.tar archives-1be510f9529cb082f802408b472a77d074b394c0.tar.gz archives-1be510f9529cb082f802408b472a77d074b394c0.tar.bz2 archives-1be510f9529cb082f802408b472a77d074b394c0.tar.xz archives-1be510f9529cb082f802408b472a77d074b394c0.zip |
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-April/003321.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-April/003321.html | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-April/003321.html b/zarb-ml/mageia-sysadm/2011-April/003321.html new file mode 100644 index 000000000..cec39996a --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-April/003321.html @@ -0,0 +1,109 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [1495] set timezone it php.ini + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B1495%5D%20set%20timezone%20it%20php.ini&In-Reply-To=%3CBANLkTimh7V7y-uVw2WRn48n%3D2nN3j_F7ow%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="003319.html"> + <LINK REL="Next" HREF="003320.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [1495] set timezone it php.ini</H1> + <B>Wolfgang Bornath</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B1495%5D%20set%20timezone%20it%20php.ini&In-Reply-To=%3CBANLkTimh7V7y-uVw2WRn48n%3D2nN3j_F7ow%40mail.gmail.com%3E" + TITLE="[Mageia-sysadm] [1495] set timezone it php.ini">molch.b at googlemail.com + </A><BR> + <I>Fri Apr 8 18:20:23 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="003319.html">[Mageia-sysadm] [1495] set timezone it php.ini +</A></li> + <LI>Next message: <A HREF="003320.html">[Mageia-sysadm] NFrance and Mageia forums hosting +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3321">[ date ]</a> + <a href="thread.html#3321">[ thread ]</a> + <a href="subject.html#3321">[ subject ]</a> + <a href="author.html#3321">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>2011/4/8 nicolas vigier <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">boklm at mars-attacks.org</A>>: +><i> On Fri, 08 Apr 2011, Michael scherer wrote: +</I>><i> +</I>>><i> +</I>>><i> But I think we should : +</I>>><i> 1) try to see why it no longer worked +</I>><i> +</I>><i> So I found why it was not working : +</I>><i> +</I>><i> php date.timezone was set in apache config to $timezone (variable from +</I>><i> facter) which is CEST on friteuse, and an incorrect value for date.timezone. +</I>><i> +</I>><i> So I set it to UTC (without using $timezone) and now the error +</I>><i> disappeared. +</I>><i> +</I>><i> I think we didn't see the error before because puppet was frozen, +</I>><i> so the change not applied (I don't know what was the config before). +</I>><i> +</I>><i> I don't know if it's related, but I also noticed a few times while +</I>><i> running puppet manually on friteuse that it became frozen when or after +</I>><i> trying to stop/start xymon-client. +</I> +Ah, that's why I kept getting warnings from phpbb debug whenever I +open a thread (viewtopic.php) in the forum: +------------------------------------- +[phpBB Debug] PHP Notice: in file /viewtopic.php on line 988: 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 'Europe/Berlin' for +'CEST/2.0/DST' instead +[phpBB Debug] PHP Notice: in file /viewtopic.php on line 988: +getdate(): 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/Berlin' for +'CEST/2.0/DST' instead +------------------------------------- + +I thought it was a forum setup problem and posted it there: +<A HREF="https://forums.mageia.org/en/viewtopic.php?f=18&t=66">https://forums.mageia.org/en/viewtopic.php?f=18&t=66</A> + +Now the debug messages are gone. + +-- +wobo +</PRE> + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="003319.html">[Mageia-sysadm] [1495] set timezone it php.ini +</A></li> + <LI>Next message: <A HREF="003320.html">[Mageia-sysadm] NFrance and Mageia forums hosting +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3321">[ date ]</a> + <a href="thread.html#3321">[ thread ]</a> + <a href="subject.html#3321">[ subject ]</a> + <a href="author.html#3321">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |