Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Disable warnings in EmHTTP?

Featured Replies

Simple Features keeps spewing out:-

	 Warning: strftime(): 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/New_York' for 'EDT/-4.0/DST' instead in /usr/local/emhttp/plugins/webGui/template.php 

 

Which is annoying, and, it's only a warning. I can suppress the error by manually adding my timezone to the php file using this, however, considering the fact the PHP files are redownloaded on restart & reapplied it doesn't really help much.

 

Considering, after all, it is just a warning and not an error, how do I disable warnings? I couldn't find any config option anywhere.

  • 1 month later...

I'm also interested in getting this solved/hidden ...

 

I'm using an older version of the SimpleFeatures Webserver plugin that used lighttpd 1.4.30 & PHP 5.3.10... so your fix may be different.

 

When I view the Main unRAID web Settings page, then click the Web Server icon, I see that my PHP configuration location is /boot/config/plugins/sf_webserver/php/php.ini

 

Whatever changes I make to /boot/config/plugins/sf_webserver/php/php.ini (for instance, date/timezone settings) are reapplied every reboot. I also have a /etc/httpd/php.ini file, but it gets its settings from the php.ini file on my flash drive.

 

Do the newer versions really re-download everything on every reboot? That sounds inefficient.

Do the newer versions really re-download everything on every reboot? That sounds inefficient.

everything is not re-downloaded - previous downloads are saved.    However the downloads need installing every boot over the virgin unRAID system.

Looks like this newer version of SimpleFeatures Web Server is looking for php.ini in the "/boot/config/simpleFeatures/" directory. Slightly different path from my older version.

 

Do you have a "/boot/config/simpleFeatures/php.ini" file? If so, edit that file with the "Americas/New_York" or your appropriate time zone setting. That should keep your php settings persistent through reboots.

If you have a timezone set in unRAID, the plugin should automatically insert that timezone into the php.ini file.

 

If not, meh, and edit it manually  :)

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.