2014-03-31 3 views
0

로컬 컴퓨터에서 잘 실행되는 Laravel 4.1 앱이 있습니다. OpenShift 서버에 앱을 배포 한 후 모든 URL에 대해 다음 오류가 발생합니다.Openshift의 Laravel : 클래스 'Swift_DependencyContainer'을 찾을 수 없음

Fatal error: Class 'Swift_DependencyContainer' not found in /var/lib/openshift/5232f4c55973ca6ee600020/app-root/runtime/repo/vendor/swiftmailer/swiftmailer/lib/dependency_maps/cache_deps.php on line 3 

Call Stack: 
    0.0001  709376 1. {main}() /var/lib/openshift/5232f4c55973ca6ee600020/app-root/runtime/repo/public/index.php:0 
    0.0002  710136 2. require('/var/lib/openshift/5232f4c55973ca6ee600020/app-root/runtime/repo/bootstrap/autoload.php') /var/lib/openshift/5232f4c55973ca6ee600020/app-root/runtime/repo/public/index.php:22 
    0.0009  710624 3. require('/var/lib/openshift/5232f4c55973ca6ee600020/app-root/runtime/repo/vendor/autoload.php') /var/lib/openshift/5232f4c55973ca6ee600020/app-root/runtime/repo/bootstrap/autoload.php:17 
    0.0011  713176 4. ComposerAutoloaderInit9a77102d4bf1b1e0412dc2447ab38eab::getLoader() /var/lib/openshift/5232f4c55973ca6ee600020/app-root/runtime/repo/vendor/autoload.php:7 
    0.0028  830728 5. composerRequire9a77102d4bf1b1e0412dc2447ab38eab() /var/lib/openshift/5232f4c55973ca6ee600020/app-root/runtime/repo/vendor/composer/autoload_real.php:52 
    0.0028  831344 6. require('/var/lib/openshift/5232f4c55973ca6ee600020/app-root/runtime/repo/vendor/swiftmailer/swiftmailer/lib/swift_init.php') /var/lib/openshift/5232f4c55973ca6ee600020/app-root/runtime/repo/vendor/composer/autoload_real.php:61 
    0.0029  832008 7. require('/var/lib/openshift/5232f4c55973ca6ee600020/app-root/runtime/repo/vendor/swiftmailer/swiftmailer/lib/dependency_maps/cache_deps.php') /var/lib/openshift/5232f4c55973ca6ee600020/app-root/runtime/repo/vendor/swiftmailer/swiftmailer/lib/swift_init.php:22 

그러나 내 앱에는 이메일 기능이 사용되지 않습니다. Google에서 검색하면 관련 결과가 하나만 표시됩니다 (https://github.com/loic-sharma/Messages/issues/29). 그러나 Laravel 3에만 해당되며 솔루션이 포함되어 있지 않습니다. 따라서 위의 오류를 일으키는 원인이 무엇인지 생각해보십시오.

답변

관련 문제