{"record":{"id":"1607eaf63cd68616","repo":"phacility/phabricator","slug":"config-option-s-is-invalid-the-timezone-identi","errorCode":null,"errorMessage":"Config option \"%s\" is invalid. The timezone identifier must be a valid timezone identifier recognized by PHP, like \"%s\".","messagePattern":"Config option \"(.+?)\" is invalid\\. The timezone identifier must be a valid timezone identifier recognized by PHP, like \"(.+?)\"\\.","errorType":"validation","errorClass":"PhabricatorConfigValidationException","httpStatus":null,"severity":"error","filePath":"src/applications/config/option/PhabricatorCoreConfigOptions.php","lineNumber":324,"sourceCode":"        throw new PhabricatorConfigValidationException(\n          pht(\n            \"Config option '%s' is invalid. The URI must NOT have a path, \".\n            \"e.g. '%s' is OK, but '%s' is not. This software must be '.\n            'installed on an entire domain; it can not be installed on a path.\",\n            $key,\n            'http://devtools.example.com/',\n            'http://example.com/devtools/'));\n      }\n    }\n\n\n    if ($key === 'phabricator.timezone') {\n      $old = date_default_timezone_get();\n      $ok = @date_default_timezone_set($value);\n      @date_default_timezone_set($old);\n\n      if (!$ok) {\n        throw new PhabricatorConfigValidationException(\n          pht(\n            'Config option \"%s\" is invalid. The timezone identifier must '.\n            'be a valid timezone identifier recognized by PHP, like \"%s\".',\n            $key,\n            'America/Los_Angeles'));\n      }\n    }\n  }\n\n\n}\n","sourceCodeStart":306,"sourceCodeEnd":336,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/config/option/PhabricatorCoreConfigOptions.php#L306-L336","documentation":"Post-validation guard for phabricator.timezone: date_default_timezone_set() rejected the configured value, so it is not a timezone identifier PHP recognizes (e.g. misspelled city or a tz database name like UTC-5 instead of a real identifier).","triggerScenarios":"Thrown at src/applications/config/option/PhabricatorCoreConfigOptions.php:324 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a valid PHP timezone identifier such as America/New_York, Europe/Berlin, or UTC","Check the identifier against PHP's list of supported timezones"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","contentChangedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}