Error timezone

Issue #11 closed
Juliet Garcia created an issue

Hola, tengo un problema con Plugin, estoy administrando un Moodle, versión 2.4, y la instalación del plugin se realiza correctamente pero cuando agrego el plugin como bloque en un curso, y le doy al botón "Dedication tool" me muestra este error:

A PHP Error was encountered

Severity: Warning

Message: 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.

Filename: libraries/Log.php

Line Number: 97

Agradecería pronta su respuesta, Saludos

Comments (3)

  1. Aday Talavera

    No es un problema del plugin, tiene que ver con la configuración de PHP. Hay que configurar la zona horaria por defecto para PHP en el fichero php.ini que se establece en el valor date.timezone

  2. Log in to comment