Announcement

Collapse
No announcement yet.

[SOLVED] Date() error when generating source for grids

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED] Date() error when generating source for grids

    When generating souce for any grid, I get this error:

    2 = 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 'UTC' for 'UTC/0.0/no DST' instead
    /var/www/html/scriptcase/devel/generator/nm_gp_ler_campos.php 613
    2 = 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 'UTC' for 'UTC/0.0/no DST' instead
    /var/www/html/scriptcase/devel/generator/nm_gp_atualiza_horadata.php 7
    2 = 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 'UTC' for 'UTC/0.0/no DST' instead
    /var/www/html/scriptcase/devel/generator/nm_gp_atualiza_horadata.php 8
    2 = 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 'UTC' for 'UTC/0.0/no DST' instead
    /var/www/html/scriptcase/devel/generator/nm_gp_gera_ini.php 1005

    Weird thing is, I don't use any dates on those grids....

    I have scriptcase 6.00.0033 running on CentOS 6 with Apache and MySql.

    Any idea why this could be happening?

    Thanks in advance for your help.

    Cheers, Ariel.

  • #2
    Solved....opened the .htaccess file, added this line to the file, saved, and now Scriptcase generates source OK.

    php_value date.timezone "America/Sao_Paulo"

    Comment

    Working...
    X