Error fatal de PHP: "No se puede analizar ..File .. A medida que el archivo no es legible"

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

  •  21-12-2019
  •  | 
  •  

Pregunta

Estoy tratando de ejecutar esta aplicación: http://gaspaio.github.com/gearmanui

Estoy en DIGITALOCEAN con Apache, Repo clonado, compositor instalado y reiniciado Apache.

Así que estoy recibiendo la pantalla en blanco y este error en los registros de 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

¿Estoy haciendo algo mal?

¿Fue útil?

Solución

Debe asegurarse de que su archivo sea legible por el servidor, intente solucionarlo a 700 o menos.Si no está seguro de cómo, generalmente puede hacerlo a través de su cliente FTP haciendo clic derecho en el archivo y la elección de "Permisos de archivos"

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top