plarruda 0 Denunciar post Postado Junho 10, 2015 Subi o site em um servidor no exterior e ocorreu esse erro: 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. O erro esta apontando para essa linha do código abaixo: $sid->addNode( 'start', date( 'd/m/Y - h:i' ) ); Compartilhar este post Link para o post Compartilhar em outros sites
Luis Paullo 47 Denunciar post Postado Junho 10, 2015 date_default_timezone_set() date_default_timezone_set('America/Los_Angeles'); $sid->addNode( 'start', date( 'd/m/Y - h:i' ) ); Compartilhar este post Link para o post Compartilhar em outros sites
plarruda 0 Denunciar post Postado Junho 10, 2015 Obrigado resolveu o problema. Compartilhar este post Link para o post Compartilhar em outros sites