PHP 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

 

Este error se nos producia en un Joomla al trasladarlo de Housting compartido a uno dedicado, nuestra solucion facil y sencilla ha sido añadir justo encima de class JConfig { dentro del configuration.php la linea siguiente.

 

date_default_timezone_set(‘Europe/Madrid’);

 

Quedaría de la siguiente forma

 

 

<?php
date_default_timezone_set(‘Europe/Madrid’);
class JConfig {

<?phpdate_default_timezone_set(‘Europe/Madrid’);class JConfig {

 

Por admin

Deja una respuesta

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
Best Wordpress Adblock Detecting Plugin | CHP Adblock