php upgrade to 5.3 sites show this err

Discussion in 'General' started by bhanuprasad1981, Jan 2, 2012.

  1. bhanuprasad1981

    bhanuprasad1981 New Member

    phpBB Debug] PHP Notice: in file /viewtopic.php on line 1105: date()
    > [function.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 'America/New_York' for 'EST/-5.0/no DST'
    > instead
    > [phpBB Debug] PHP Notice: in file /viewtopic.php on line 1105: getdate()
    > [function.getdate]: 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 'America/New_York' for 'EST/-5.0/no DST'
    > instead
    > [phpBB Debug] PHP Notice: in file /viewtopic.php on line 1229: date()
    > [function.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 'America/New_York' for 'EST/-5.0/no DST'
    > instead
    > [phpBB Debug] PHP Notice: in file /viewtopic.php on line 1229: date()
    > [function.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 'America/New_York' for 'EST/-5.0/no DST'
    > instead
    > [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4605:
    > Cannot modify header information - headers already sent by (output started
    > at /includes/functions.php:3755)
    > [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4607:
    > Cannot modify header information - headers already sent by (output started
    > at /includes/functions.php:3755)
    > [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4608:
    > Cannot modify header information - headers already sent by (output started
    > at /includes/functions.php:3755)
    > [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4609:
    > Cannot modify header information - headers already sent by (output started
    > at /includes/functions.php:3755)
  2. bhanuprasad1981

    bhanuprasad1981 New Member

    my time zone is "posixrules"
  3. NiteWave

    NiteWave Administrator

    in php.ini, add
    date.timezone="posixrules"

    then restart lsws

Share This Page