내 로컬 컴퓨터에서는 작동하지만 내 서버에서는 작동하지 않는 웹 응용 프로그램이 있습니다. 서버에서이 오류가 발생합니다. 오류에 대해 언급 한 코드를 검사 한 결과 아무 문제가 없습니다.Laravel/Illuminate 치명적인 오류
어떤 원인인지 알아 보시겠습니까?
대단히 감사합니다.
가 여기 내 오류 메시지입니다 :
Fatal error: Interface 'Illuminate\Exception\ExceptionDisplayerInterface' not found in /var/www/test-app.domain.com/public_html/vendor/laravel/framework/src/Illuminate/Exception/SymfonyDisplayer.php on line 6
가 여기 SymphonyDisplayer.php의 라인 6 :
class SymfonyDisplayer implements ExceptionDisplayerInterface {
그것은 더 ExceptionDisplayerInterface
이 없다는 것을 말한다. 그러나이 파일 바로 다음에 같은 디렉토리에 있습니다. ExceptionDisplayerInterface.php
여기 SymphonyDisplayer.php
와 Exception
폴더에 내 composer install
출력입니다 :
Fatal error: Interface 'Whoops\Handler\HandlerInterface' not found in /var/www/test-app.domain.com/public_html/vendor/filp/whoops/src/Whoops/Handler/Handler.php on line 17
가 여기에 문제를 파악하는 동안 좀 더 출력입니다 : 여기
>>composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- jeremeamia/SuperClosure 1.0.1 requires nikic/php-parser ~0.9 -> no matching package found.
- jeremeamia/SuperClosure 1.0.1 requires nikic/php-parser ~0.9 -> no matching package found.
- Installation request for jeremeamia/superclosure 1.0.1 -> satisfiable by jeremeamia/SuperClosure[1.0.1].
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.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
는 composer update
을 실행 한 후 새로운 오류입니다 :
>>composer diagnose
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity: OK
Checking composer.json: OK
Checking disk free space: OK
Checking composer version: OK
>>composer self-update
You are already using composer version 0d4c2bb7d7a864a9b3e876908e743310cdeaa5e6.