{"record":{"id":"4a92c3da2f6c6517","repo":"phacility/phabricator","slug":"config-option-s-is-invalid-the-uri-must-not-ha","errorCode":null,"errorMessage":"Config option '%s' is invalid. The URI must NOT have a path, e.g. '%s' is OK, but '%s' is not. This software must be '. 'installed on an entire domain; it can not be installed on a path.","messagePattern":"Config option '(.+?)' is invalid\\. The URI must NOT have a path, e\\.g\\. '(.+?)' is OK, but '(.+?)' is not\\. This software must be '\\. 'installed on an entire domain; it can not be installed on a path\\.","errorType":"validation","errorClass":"PhabricatorConfigValidationException","httpStatus":null,"severity":"error","filePath":"src/applications/config/option/PhabricatorCoreConfigOptions.php","lineNumber":306,"sourceCode":"            'https://'));\n      }\n\n      $domain = $uri->getDomain();\n      if (strpos($domain, '.') === false) {\n        throw new PhabricatorConfigValidationException(\n          pht(\n            'Config option \"%s\" is invalid. The URI must contain a dot '.\n            '(\"%s\"), like \"%s\", not just a bare name like \"%s\". Some web '.\n            'browsers will not set cookies on domains with no TLD.',\n            $key,\n            '.',\n            'http://example.com/',\n            'http://example/'));\n      }\n\n      $path = $uri->getPath();\n      if ($path !== '' && $path !== '/') {\n        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(","sourceCodeStart":288,"sourceCodeEnd":324,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/config/option/PhabricatorCoreConfigOptions.php#L288-L324","documentation":"Error \"Config option '%s' is invalid. The URI must NOT have a path, e.g. '%s' is OK, but '%s' is not. This software must be '. 'installed on an entire domain; it can not be installed on a path.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/config/option/PhabricatorCoreConfigOptions.php:306 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}