commit e51ff83e084b1855837b65dff877c37346a021d6 parent 477644246b31566bbc9e5f438bd9d82a9066b8a1 Author: felicitus <felicitus@felicitus.org> Date: Fri, 30 Dec 2011 12:14:16 +0100 Advice to reinstall DoctrineSymfonyYaml in case it is installed, but misses a specific file Diffstat:
M | src/setup/tests/check-doctrine.php | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/setup/tests/check-doctrine.php b/src/setup/tests/check-doctrine.php @@ -63,7 +63,11 @@ if (!$doctrineClassLoader->canLoadClass("Doctrine\\Symfony\\Component\\Yaml\\Yam $yamlErrorMessage = "The YAML component of symfony is not installed. This component is required; please install "; $yamlErrorMessage .= "it using:<br/><br/>"; - $yamlErrorMessage .= "<code>pear install pear.doctrine-project.org/DoctrineSymfonyYaml</code>"; + $yamlErrorMessage .= "<code>pear install pear.doctrine-project.org/DoctrineSymfonyYaml</code><br/><br/>"; + $yamlErrorMessage .= "If you are getting the error <code>doctrine/DoctrineSymfonyYaml is already installed and is "; + $yamlErrorMessage .= "the same as the released version</code"; + $yamlErrorMessage .= "please REINSTALL the package using <code>pear uninstall doctrine/DoctrineSymfonyYaml<br/>"; + $yamlErrorMessage .= "pear install doctrine/DoctrineSymfonyYaml</code>"; echo json_encode(array("error" => true, "errormessage" => $yamlErrorMessage)); exit;