Date Function Problem

Ufuk26

Avatar: Ufuk26

2015-02-13 12:58

Warningdate(): 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 nowbut please set date.timezone to select your timezonein C:\xampp\htdocs\q\core\common.php on line 90

Warning
Cannot modify header information headers already sent by (output started at C:\xampp\htdocs\q\core\common.php:90in C:\xampp\htdocs\q\core\common-admin.php on line 151



How can i fix ?

» Quick.Cms v5.x

openzibi

Avatar: openzibi

2015-02-13 13:11

http://opensolution.org/forum/?iTopic=11458

general.php
In second line after <?php
add your timezone

<?php
date_default_timezone_set
'Europe/Warsaw' );

StudioStrona.pl

Ufuk26

Avatar: Ufuk26

2015-02-13 13:27

thnx, define form admin panel, may be next version ;)

<?php
date_default_timezone_set
($lang['timezone']);



pl.php en.php etc..

$lang['timezone'] = "Europe/Warsaw";



my codes is true ?

Back to top
about us | contact