doctrine1
doctrine1 copied to clipboard
Do you know why I got this message ?
Hi, Do you know why I got this kind of message ?
Fatal error: require(): Failed opening required 'symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Parser/sfYaml/sfYamlConfigHandler.php' (include_path='.:/usr/share/php') in symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Core.php on line 1118
see original issue https://github.com/qdpm/qdpm/issues/2
It's becouse of autoload.
https://github.com/FriendsOfSymfony1/doctrine1/pull/34
Hello,
@regisnew Yes, because of autoloading logic that try to load class sfYamlConfigHandler that is not part of Yaml component see: https://github.com/FriendsOfSymfony1/doctrine1/blob/v1.3.6/lib/Doctrine/Core.php#L1135
So the PR #34 is not going to fix it, as it just upgrade Yaml code and fix composer autoloading.
@davask Doctrine1 autoloader is registered on this application. The reason is because of autoloader precedence order. Symfony1 autoloader must be register before Doctrine1 to avoid this error.