I have successfully installed MNTOS, However the date on the site is not right, even though the date on the server is correct. This is not a major problem but of course it would be better if the date displayed correctly.
Any suggestions?
Thanks.
Code: Select all
[Wed Nov 02 09:09:06.781883 2016] [:error] [pid 2733] [client 172.21.1.50:64810] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:10:05.836307 2016] [:error] [pid 2730] [client 172.21.1.50:64926] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:11:04.034456 2016] [autoindex:error] [pid 26597] [client 127.0.0.1:35007] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive [Wed Nov 02 09:11:05.893298 2016] [:error] [pid 26471] [client 172.21.1.50:65073] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:12:05.948790 2016] [:error] [pid 2729] [client 172.21.1.50:65328] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:13:05.999264 2016] [:error] [pid 26473] [client 172.21.1.50:49273] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:14:06.058045 2016] [:error] [pid 2728] [client 172.21.1.50:49395] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:15:05.104383 2016] [:error] [pid 2731] [client 172.21.1.50:49552] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:16:04.012430 2016] [autoindex:error] [pid 26597] [client 127.0.0.1:35029] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive [Wed Nov 02 09:16:05.151780 2016] [:error] [pid 2730] [client 172.21.1.50:49796] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:17:06.202564 2016] [:error] [pid 2733] [client 172.21.1.50:50122] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:18:05.258291 2016] [:error] [pid 2730] [client 172.21.1.50:50294] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:19:05.313088 2016] [:error] [pid 26473] [client 172.21.1.50:50450] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:20:05.359213 2016] [:error] [pid 2734] [client 172.21.1.50:50695] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:21:03.990155 2016] [autoindex:error] [pid 26473] [client 127.0.0.1:35053] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive [Wed Nov 02 09:21:05.418623 2016] [:error] [pid 2732] [client 172.21.1.50:51026] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:22:05.471689 2016] [:error] [pid 2731] [client 172.21.1.50:51158] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:23:05.517085 2016] [:error] [pid 2732] [client 172.21.1.50:51311] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:24:05.561539 2016] [:error] [pid 2734] [client 172.21.1.50:51559] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:25:05.615580 2016] [:error] [pid 2729] [client 172.21.1.50:51881] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:26:03.967575 2016] [autoindex:error] [pid 26707] [client 127.0.0.1:35075] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive [Wed Nov 02 09:26:05.670746 2016] [:error] [pid 26473] [client 172.21.1.50:52002] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:27:05.726350 2016] [:error] [pid 2731] [client 172.21.1.50:52248] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:28:05.786936 2016] [:error] [pid 2734] [client 172.21.1.50:52494] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:29:06.851705 2016] [:error] [pid 2729] [client 172.21.1.50:52828] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:30:05.896386 2016] [:error] [pid 2733] [client 172.21.1.50:52953] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:31:03.945331 2016] [autoindex:error] [pid 2731] [client 127.0.0.1:35097] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive [Wed Nov 02 09:31:05.941837 2016] [:error] [pid 26723] [client 172.21.1.50:53102] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:32:05.993799 2016] [:error] [pid 2730] [client 172.21.1.50:53351] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:33:06.050921 2016] [:error] [pid 26473] [client 172.21.1.50:53695] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:34:05.110588 2016] [:error] [pid 2733] [client 172.21.1.50:53824] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 09:34:15.923407 2016] [mpm_prefork:notice] [pid 2725] AH00170: caught SIGWINCH, shutting down gracefully [Wed Nov 02 09:36:51.338155 2016] [suexec:notice] [pid 835] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) AH00557: httpd: apr_sockaddr_info_get() failed for mntos AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message [Wed Nov 02 09:36:51.568390 2016] [auth_digest:notice] [pid 835] AH01757: generating secret for digest authentication ... [Wed Nov 02 09:36:51.569310 2016] [lbmethod_heartbeat:notice] [pid 835] AH02282: No slotmem from mod_heartmonitor [Wed Nov 02 09:36:53.414531 2016] [mpm_prefork:notice] [pid 835] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations [Wed Nov 02 09:36:53.414642 2016] [core:notice] [pid 835] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Wed Nov 02 11:38:29.079353 2016] [:error] [pid 2793] [client 172.21.1.50:52314] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112 [Wed Nov 02 11:38:31.404917 2016] [:error] [pid 2205] [client 172.21.1.50:52319] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112 [Wed Nov 02 11:39:05.449752 2016] [:error] [pid 2879] [client 172.21.1.50:52325] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 11:40:05.514827 2016] [:error] [pid 2204] [client 172.21.1.50:52473] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 11:40:28.036334 2016] [autoindex:error] [pid 2919] [client 127.0.0.1:41777] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive [Wed Nov 02 11:41:06.565725 2016] [:error] [pid 2795] [client 172.21.1.50:52712] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 11:42:05.620589 2016] [:error] [pid 2919] [client 172.21.1.50:53046] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 11:43:05.683445 2016] [:error] [pid 2917] [client 172.21.1.50:53309] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 11:44:06.731653 2016] [:error] [pid 2204] [client 172.21.1.50:53687] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 11:45:05.779786 2016] [:error] [pid 2917] [client 172.21.1.50:54007] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 11:46:05.823655 2016] [:error] [pid 2919] [client 172.21.1.50:54107] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 11:46:21.441352 2016] [:error] [pid 2795] [client 172.21.1.31:44774] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112 [Wed Nov 02 11:46:23.407241 2016] [:error] [pid 2795] [client 172.21.1.31:44774] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112 [Wed Nov 02 11:46:24.075972 2016] [:error] [pid 2795] [client 172.21.1.31:44774] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112 [Wed Nov 02 11:46:24.476166 2016] [:error] [pid 2795] [client 172.21.1.31:44774] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112 [Wed Nov 02 11:46:24.915670 2016] [:error] [pid 2795] [client 172.21.1.31:44774] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112 [Wed Nov 02 11:46:25.342837 2016] [:error] [pid 2795] [client 172.21.1.31:44774] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112 [Wed Nov 02 11:46:25.761580 2016] [:error] [pid 2795] [client 172.21.1.31:44774] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112 [Wed Nov 02 11:46:26.147697 2016] [:error] [pid 2795] [client 172.21.1.31:44774] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112 [Wed Nov 02 11:46:26.532389 2016] [:error] [pid 2795] [client 172.21.1.31:44774] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112 [Wed Nov 02 11:46:26.933676 2016] [:error] [pid 2795] [client 172.21.1.31:44774] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112 [Wed Nov 02 11:46:27.316125 2016] [:error] [pid 2795] [client 172.21.1.31:44774] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112 [Wed Nov 02 11:46:27.675856 2016] [:error] [pid 2795] [client 172.21.1.31:44774] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112 [Wed Nov 02 11:47:06.735978 2016] [:error] [pid 2206] [client 172.21.1.31:44804] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [Wed Nov 02 11:47:06.870319 2016] [:error] [pid 2795] [client 172.21.1.50:54269] PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112, referer: http://172.21.1.188/mntos/ [root@mntos mntos-1.0]#
I did try this, and it didn't make a difference, I changed:but please set date.timezone to select your timezone. in /opt/mntos-1.0/www/index.php on line 112
Code: Select all
$nowtime = date("s");Code: Select all
$nowtime = date.timezone("s");Code: Select all
$nowtime = date_default_timezone_set("s");Code: Select all
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/New_York