Joomla PHP 5.3 date.php SOLVED!! |
![]() |
![]() |
![]() |
Desarrollo Web - PHP | |
Escrito por Horacio Contreras | |
Sábado, 29 de Mayo de 2010 19:31 | |
Después de que se actualiza el servidor a PHP 5.3, aquellos que usan Joomla habrán notado que les aparecen algunas warnings bastante molestas como las siguientes:
Warning: strtotime(): 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/Chicago' for 'CDT/-5.0/DST' instead in /portal/libraries/joomla/utilities/date.php on line 56 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 'America/Chicago' for 'CDT/-5.0/DST' instead in /portal/libraries/joomla/utilities/date.php on line 198 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 'America/Chicago' for 'CDT/-5.0/DST' instead in /portal/libraries/joomla/utilities/date.php on line 198 Bueno, después de siete meses de desidia y de que mi hermana se interesara en tener su propio espacio en internet decidí buscar una solución, así que actualicé a la versión mas reciente y el problema persistía... Después de buscar un rato encontré la solución aquí: http://foro.comunidadjoomla.org/viewtopic.php?f=14&t=2165&p=8043#p8043 <?php También se puede arreglar modificando el php.ini, pero no todos los usuarios tienen acceso a dicho archivo. Para esta solución hay que modificar dicho archivo en la sección [Date]: [Date]
Noten que America/Chicago
Debe ser sustituido por la zona horaria que les corresponda.
Espero les sea de utilidad!
|
|
Última actualización el Sábado, 29 de Mayo de 2010 19:56 |
![]() | Hoy | 21 |
![]() | Ayer | 21 |
![]() | Esta semana | 161 |
![]() | Este mes | 760 |
![]() | Total | 132736 |