Skip to content

Instantly share code, notes, and snippets.

@skinofstars
Created August 14, 2012 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skinofstars/3350336 to your computer and use it in GitHub Desktop.
Save skinofstars/3350336 to your computer and use it in GitHub Desktop.
Orchestra Timezone Error
PHP Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): 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' in /tmp/sf2standard/cache/classes.php:9010#012Stack trace:#012#0 /tmp/sf2standard/cache/classes.php(9010): DateTime->__construct()#012#1 /tmp/sf2standard/cache/classes.php(9110): Monolog\Logger->addRecord(500, 'Exception: Date...', Array)#012#2 /var/www/e079e8ba3a84ff32f9515c7d222542ba7afe74e2/app-server/vendor/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php(53): Monolog\Logger->crit('Exception: Date...')#012#3 [internal function]: Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException(Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent))#012#4 /tmp/sf2standar in /tmp/sf2standard/cache/classes.php on line 9010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment