First of all great gallery.
Secondly i have searched the forums and have seen the post
http://piwigo.org/forum/viewtopic.php?p … 21#p115421
and made the changes as suggested
But im getting these errors when looking at photos in gallery at the top above the images and in the admin section at the top.
Warning: mktime(): 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 /var/www/include/functions.inc.php on line 498
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 /var/www/include/functions.inc.php on line 498
Warning: mktime(): 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 /var/www/include/functions.inc.php on line 498
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 /var/www/include/functions.inc.php on line 498
also i get this one even after the changes and apache restart
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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/include/smarty/libs/Smarty_Compiler.class.php on line 400
Please can somone with the knowledge advise me on this?
Thanks in advance
Last edited by wifiuk (2012-08-11 09:48:39)
Offline
line 498 is
$formated_date.= $lang['day'][date('w', mktime(12,0,0,$ymdhms[1],$ymdhms[2],$ymdhms[0]))];
Offline
i miscounted the lines
the code was
if (strpos($date, '0') == 0)
changed it to
if (strpos($date, '0') == 1)
works
Last edited by wifiuk (2012-08-11 19:27:57)
Offline
i cant get rid of this one though
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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/include/smarty/libs/Smarty_Compiler.class.php on line 400
Offline
Please, check this [Forum, post 115421 by plg in topic 16354] Errors
Offline