Results 1 to 4 of 4

Thread: Configuration variable date.timezone is not set

  1. #1
    step1968 is offline Member
    Join Date
    Jun 2005
    Posts
    12

    Default Configuration variable date.timezone is not set

    hello
    after upgrading to CE 6.3.1 i find 1000 of entries in the sugarcrm log:

    01/31/12 22:05:00 [5028][-none-][FATAL] Configuration variable date.timezone is not set, guessed timezone Europe/Paris. Please set date.timezone="Europe/Paris" in php.ini!


    however a phpinfo on that server is showing:

    date

    date/time support enabled

    "Olson" Timezone Database Version 2010.9

    Timezone Database internal
    Default timezone Europe/Paris


    Directive Local Value Master Value

    date.default_latitude 31.7667 31.7667
    date.default_longitude 35.2333 35.2333
    date.sunrise_zenith 90.583333 90.583333
    date.sunset_zenith 90.583333 90.583333
    date.timezone Europe/Paris Europe/Paris



    so why is sugar thinking that the date.timezone is not set?

    thanks in advance

    stephan

    Immobilienakquise: Wie Immbilienmakler neue Aufträge bekommen

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Configuration variable date.timezone is not set

    Did you configure the cron for your SugarCRM instance?
    Usually web access and cron load different php.ini. Make sure that and fix the cli based php.ini

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    step1968 is offline Member
    Join Date
    Jun 2005
    Posts
    12

    Default Re: Configuration variable date.timezone is not set

    hello,

    thanks very much. that was exactly the issue.

    the windows sheduler used a direct php.exe call.

    D:\php5.3.3\php.exe -f cron.php

    However the webpage used the php fastcgi via IIS.

    So different php.ini files were used.

    best wishes from germany

    stephan

    Immobilienakquise: Wie Immbilienmakler neue Aufträge bekommen

  4. #4
    PFoley is offline Sugar Community Member
    Join Date
    Mar 2011
    Posts
    11

    Default Re: Configuration variable date.timezone is not set

    This also helped me, many thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Envío de correos y date.timezone en php.ini
    By leonelb in forum Español
    Replies: 2
    Last Post: 2011-11-24, 01:02 PM
  2. Replies: 2
    Last Post: 2010-02-08, 10:38 PM
  3. Replies: 0
    Last Post: 2010-02-02, 08:36 PM
  4. Timezone configuration required on every log in...
    By jasv in forum Developer Help
    Replies: 3
    Last Post: 2009-04-24, 03:30 PM
  5. Email Variable for Current Today's Date
    By atheimer98 in forum Developer Help
    Replies: 2
    Last Post: 2006-07-26, 02:18 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •