Warning about timezone settings when starting KPSA OAM.

Warning about timezone settings when starting KPSA OAM.

book

Article ID: KB0091066

calendar_today

Updated On:

Products Versions
TIBCO KPSA - Mobile -
Not Applicable -

Description

Resolution:
Description:
============
After executing the command : "provadmin start oam pdo=&ltvalue> dbhost=&ltvalue> dbport=&ltvalue>  dbname=&ltvalue> symfonypath=&ltvalue>"
A warning message like the following is displayed:

*********************
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 'Europe/Berlin' for 'CET/1.0/no DST' instead in /exec/products/kpsa37/kpsa/3.7/kis/3rdparty/generic/symfony/1.4.10/lib/config/sfRootConfigHandler.class.php on line 91
*********************


Environment:
===========
P.KPSAOAM-1.1.0-GA-LINUXx86_64
P.KPSAOAM-1.1.0-GA-SOL64

Cause:
=====
TZ Linux/UNIX environement variable is not set.

Resolution:
==========
Set the TZ variable (ex: export TZ="Europe/Paris").

References:
==========
For valid timezone values, click on the link: http://php.net/manual/en/timezones.php

Issue/Introduction

Warning about timezone settings when starting KPSA OAM.