Artifact a3ece75589908763363a3176859ef7434444797c:

Ticket change [a3ece75589] - New ticket [cdf773248f] strtotime() error exception during install. by anonymous on 2013-11-13 09:59:08.
D 2013-11-13T08:59:08.082
J foundin 0.5.9
J icomment On\sa\sDebian\s7\s(Weezy)\smachine\swith\sApache\s2.4\s&\sPHP\s5.4.4\r\n\r\nI\shas\snot\sabble\sto\sinstall\sGarradin\sbecause\sof\sthe\sfollowing\straceback\s:\r\n\r\n>\sException\sof\stype\sErrorException\shappened\s!\r\n>\r\n>\s0\s-\sstrtotime():\sIt\sis\snot\ssafe\sto\srely\son\sthe\ssystem's\stimezone\ssettings.\sYou\sare\s*required*\sto\suse\sthe\sdate.timezone\ssetting\sor\sthe\sdate_default_timezone_set()\sfunction.\sIn\scase\syou\sused\sany\sof\sthose\smethods\sand\syou\sare\sstill\sgetting\sthis\swarning,\syou\smost\slikely\smisspelled\sthe\stimezone\sidentifier.\sWe\sselected\sthe\stimezone\s'UTC'\sfor\snow,\sbut\splease\sset\sdate.timezone\sto\sselect\syour\stimezone.\r\n>\r\n>\sIn:\s/home/garradin/include/libs/template_lite/class.template.php:110\r\n>\r\n>\shttp://garradin.XXXX.org/admin/install.php\r\n>\s\r\n>\s#0\s[internal\sfunction]:\sGarradin\\exception_error_handler(2,\s'strtotime():\sIt...',\s'/home/garradin/...',\s110,\sArray)\r\n>\s#1\s/home/garradin/include/libs/template_lite/class.template.php(110):\sstrtotime('2007-01-04\s10:3...')\r\n>\s#2\s/home/garradin/include/lib.template.php(22):\sTemplate_Lite->Template_Lite()\r\n>\s#3\s/home/garradin/include/lib.template.php(13):\sGarradin\\Template->__construct()\r\n>\s#4\s/home/garradin/include/lib.template.php(40):\sGarradin\\Template::getInstance()\r\n>\s#5\s/home/garradin/include/init.php(225):\srequire('/home/garradin/...')\r\n>\s#6\s[internal\sfunction]:\sGarradin\\Loader::load('Garradin\\Templa...')\r\n>\s#7\s/home/garradin/www/admin/install.php(62):\sspl_autoload_call('Garradin\\Templa...')\r\n>\s#8\s{main}\r\n\r\n\r\nThis\sis\sapparently\sa\sPHP\ssecurity\swarning\ssince\sPHP\s5.3.\r\n\r\nWorkarounds:\r\n\r\n1)\sFor\sthe\suser:\sadd\sa\s`date.timezone`\soption\sin\sthe\sphp.ini\sfile\s\r\n2)\sFor\sthe\sGarradin\scode:\sadd\s`date_default_timezone_set('UTC');`\ssomewhere\sin\sthe\sGarradin\scode\s(and\safter\sreplace\s`UTC`\sby\swhat\smay\sbe\sset\sin\sGarradin\soptions)\r\n\r\nFor\snow,\smaybe\sbe\sjust\sadd\san\sentry\sto\srecommend\sto\sedit\sphp.ini\sin\sthe\scommons\serrors\sFAQ
J login anonymous
J mimetype text/x-fossil-plain
J private_contact b18d721148d5b3122822054aad24c09c64865800
J severity Important
J status Open
J title strtotime()\serror\sexception\sduring\sinstall
J type Code_Defect
K cdf773248f83d04dad3175a5ced9e40c170497a1
U anonymous
Z 9cecbcde0efd8e95ec5379691ae43488