PHP 치명적인 오류 : "파일을 구문 분석 할 수 없습니다 .. 파일이 읽을 수 없으므로"

StackOverflow https://stackoverflow.com//questions/25044546

  •  21-12-2019
  •  | 
  •  

문제

이 앱을 실행하려고합니다 : http://gaspaio.github.com/gearmanui

아파치, 복제 된 repo, 설치 작곡가 및 재시작 된 아파치가있는 디지털에 있습니다.

그래서 Apache 로그에 빈 화면 과이 오류가 발생합니다.

[Wed Jul 30 14:39:56.444638 2014] [:error] [pid 8731] [client 123.123.123.123:57826] PHP Fatal 
error:  Uncaught exception 'Symfony\\Component\\Yaml\\Exception\\ParseException' with message 'Unable 
to parse "/var/www/html/src/GearmanUI/../../app/config/gearmanui.yml" as the file is not readable.' in
/var/www/html/vendor/symfony/yaml/Symfony/Component/Yaml/Yaml.php:98\nStack trace:\n#0 /var/www/html/
src/GearmanUI/ConfigurationProvider.php(30): Symfony\\Component\\Yaml\\Yaml::parse('/var/www/html
/s...')\n#1 /var/www/html/vendor/silex/silex/src/Silex/Application.php(160): 
GearmanUI\\ConfigurationProvider->register(Object(GearmanUI\\GearmanUIApplication))\n#2 /var/www
/html/src/GearmanUI/GearmanUIApplication.php(41): Silex\\Application->register(Object(GearmanUI
\\ConfigurationProvider))\n#3 /var/www/html/web/index.php(5): 
GearmanUI\\GearmanUIApplication->__construct()\n#4 {main}\n  thrown in /var/www/html/vendor/symfony
/yaml/Symfony/Component/Yaml/Yaml.php on line 98
.

뭔가 잘못하고 있습니까?

도움이 되었습니까?

해결책

서버가 파일을 읽을 수 있는지 확인해야하며 700 정도 chmoding을 시도해보십시오.방법을 확실하지 않은 경우 파일을 마우스 오른쪽 버튼으로 클릭하고 "파일 사용 권한"

을 선택하여 FTP 클라이언트를 통해 해결할 수 있습니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top