Errore irreversibile PHP: "Impossibile analizzare ..File .. Come il file non è leggibile"

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

  •  21-12-2019
  •  | 
  •  

Domanda

Sto cercando di eseguire questa app: http://gaaspaio.github.com/gearmanui

Sono su Digitalocean con Apache, repo clonato, compositore installato e riavviato Apache.

Quindi sto ottenendo lo schermo vuoto e questo errore sui registri 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
.

Sto facendo qualcosa di sbagliato?

È stato utile?

Soluzione

Dovresti assicurarsi che il tuo file sia leggibile dal server, prova ChModing da 700 o giù di lì.Se non sei sicuro di come, di solito puoi farlo tramite il tuo client FTP facendo clic con il pulsante destro del mouse sul file e scegliendo "Autorizzazioni file"

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top