blob: cec39996a7ce44de3781f7d899356ec0eace8cd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
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>
|