2012-07-26 2 views
0

Symfony 2.0.9를 사용하여 PropelBundle 버전에 문제가 있습니다. https://github.com/propelorm/PropelBundle/wikiSymfony 2.0.9 및 wrong PropelBundle 버전

[PropelBundle] git=git://github.com/propelorm/PropelBundle.git target=/bundles/Propel/PropelBundle version=origin/1.0

[phing] git=git://github.com/Xosofox/phing.git target=/phing

[propel] git=git://github.com/propelorm/Propel.git target=/propel version=origin/1.0

[doctrine-fixtures] git=http://github.com/doctrine/data-fixtures.git

[DoctrineFixturesBundle] git=http://github.com/doctrine/DoctrineFixturesBundle.git target=/bundles/Symfony/Bundle/DoctrineFixturesBundle version=origin/2.0

내가 공급 업체를 다시 설치했지만, 아무것도 변경되지 :

ErrorException: User Deprecated: The PropelBundle uses a new branching model, you should switch to the 1.0 branch (1.0.x versions). For more information, please read: https://github.com/propelorm/PropelBundle/wiki in /home/project_path/vendor/bundles/Propel/PropelBundle/PropelBundle.php line 28

은 그러나, deps 파일 PropelBundle 버전이 여기 reccomended처럼 1.0로 설정되어 있습니다.

편집 :

./composer.phar update nothing Initializing PEAR repository http://pear.phing.info Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1 - The requested PHP extension ext-mongo * is missing from your system. Problem 2 - doctrine/mongodb dev-master requires ext-mongo * -> no matching package found. - doctrine/mongodb-odm-bundle dev-master requires doctrine/mongodb-odm dev-master -> satisfiable by doctrine/mongodb-odm dev-master. - doctrine/mongodb-odm dev-master requires doctrine/mongodb dev-master -> satisfiable by doctrine/mongodb dev-master. - Installation request for doctrine/mongodb-odm-bundle dev-master -> satisfiable by doctrine/mongodb-odm-bundle dev-master.

Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.

이 패키지는 제가 설치하려고 해요 AdminGenerator, 필요 :이 문제를 해결 윌리엄스 덕분에, 그러나 지금은이 오류가 있습니다.

+0

PropelBundle에서 커밋 해시를 확인할 수 있습니까? 'a712d9e4aa'가되어야합니다 –

답변

3

이전 버전의 공급 업체를 사용하는 것으로 보입니다.

먼저 Phing 구성을 제거하고, 공식 저장소 사용, 그리고 https://github.com/phingofficial/phing

당신의 PropelBundle 공급 업체를 제거 (RF RM은 공급 업체 /.../ PropelBundle)하고 다시 설치하십시오. 이 메시지는 master 브랜치를 추적하는 경우에만 나타납니다.

+0

이 문제가 해결되었지만 이제는 "요청한 PHP 확장 ext-mongo *가 시스템에서 누락되었습니다"및 "doctrine/mongodb-odm-bundle dev-master가 doctrine/mongodb-odm dev -master -> satisfable by doctrine/mongodb-odm dev-master "를 실행 한 후 composer.phar install을 실행하십시오. –

+0

다음은 다른 문제입니다. :) – j0k