Piwigo / Piwigo

Manage your photos with Piwigo, a full featured open source photo gallery application for the web. Star us on Github! More than 200 plugins and themes available. Join us and contribute!
https://piwigo.org
GNU General Public License v2.0
3.18k stars 432 forks source link

Notice: Undefined index: update_notify_check_period in include/page_tail.php on line 43 #650

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hello Devs.

I see this message on the frontpage of piwigo 2.9.0-rc2 (rc1 too):

Notice: Undefined index: update_notify_check_period in /var/www/owngallery.de/htdocs/include/page_tail.php on line 43

My Setup: Apache 2.4 and PHP 7.1.3

thanks and cheers

ghost commented 7 years ago

Seems to be a problem with the theme i used. Bootstrap Darkroom.

plegall commented 7 years ago

Are you sure your file include/config_default.inc.php is up-to-date? It should contain these 2 new lines:

// how often should we check for new versions of Piwigo on piwigo.org? In
// seconds. The check is made only if there are visits on Piwigo.
// 0 to disable.
$conf['update_notify_check_period'] = 24*60*60;

// how often should be remind of new versions available? For example a first
// notification was sent on May 5th 2017 for 2.9.1, after how many seconds
// we send it again? 0 to disable.
$conf['update_notify_reminder_period'] = 7*24*60*60;
ghost commented 7 years ago

No, you are right. I copied the config_default.inc.php from my old installation to the new one. Did not know this is no good. :)

thanks and cheers