strtotime()

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

strtotime()

Andreas Meyer
Hello!

Moved the old email-stuff to a new server on CentOS, can connect with roundcube
after copying the email-folders but get:

[14-Apr-2019 19:48:14 UTC] PHP Warning:  strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the dat
e.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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in
 /var/www/root/mailsystem/program/lib/Roundcube/rcube_session_db.php on line 104

Also the date of the copied emails are empty.
Any solution for this? Didn't use imapsync yet.

Kind regards

  Andreas
--
PGP-Fingerprint: D392 5D21 0299 63D7 5BAE 4562 1E56 B2EA 81A2 59F1

_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users

attachment0 (235 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: strtotime()

Vincent Van Houtte

On 2019-04-14 21:52, Andreas Meyer wrote:

[...] but please set date.timezone to select your timezone. [...]

Did you? This is one of the few settings PHP requires you to configure with every new install, independently from any hardening you would want to do on your side.

--
Vincent Van Houtte

_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: strtotime()

Andreas Meyer
Vincent Van Houtte <[hidden email]> schrieb am 15.04.19 um 12:54:07 Uhr:

> On 2019-04-14 21:52, Andreas Meyer wrote:
>
> > [...] but please set date.timezone to select your timezone. [...]  
>
> Did you? This is one of the few settings PHP requires you to configure
> with every new install, independently from any hardening you would want
> to do on your side.

Thank, now I got it. And reworked disable_functions BTW.

Kind regards

  Andreas
--
PGP-Fingerprint: D392 5D21 0299 63D7 5BAE 4562 1E56 B2EA 81A2 59F1

_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users

attachment0 (235 bytes) Download Attachment