PHP 5.1.2 : Unkown error type mktime()

Help
maotouying
2007-07-22
2013-04-17
  • maotouying

    maotouying - 2007-07-22

    Hi friends,
    I know I am a pain ... I have upgraded to PHP 5.1.2 (LINUX) and now got stuck with this error message :
    """
    Unkown error type mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'CEST/2.0/DST' instead line: 175 file : calendar.class - PHP 5.1.2(Linux)
    """
    Cheers, uhu

     
    • maotouying

      maotouying - 2007-07-22

      sorry ... here is a followup :
      """
      22 July 2007 � 06:22 52
      Unkown error type mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'CEST/2.0/DST' instead line: 175 file : calendar.class - PHP 5.1.2(Linux)

      22 July 2007 � 06:22 52
      Unkown error type date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'CEST/2.0/DST' instead line: 175 file : calendar.class - PHP 5.1.2(Linux)
      """
      uhu

       
    • hpfn

      hpfn - 2007-07-23

      Already answer:
      http://sourceforge.net/tracker/index.php?func=detail&aid=1758477&group_id=46190&atid=445350

      > Hi,
      >
      > On php.ini file:
      >"Please use the date.timezone setting,"
      >
      > Based on this warning:
      > date.timezone = "Europe/Berlin"
      >
      >
      > Regards
      > hpfn

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks