[function.include]: failed to open stream: Permission denied in /var/www/confixx/ html/events.inc.php on line 2
Auf einem vServer tauchte nach einem Confixx Update folgende Fehlermeldung auf:
Warning: include(/var/www/confixx/events.inc.php) [function.include]: failed to open stream: Permission denied in /var/www/confixx/html/events.inc.php on line 2 Warning: include() [function.include]: Failed opening '/var/www/confixx/events.inc.php' for inclusion (include_path='.:/var/www/confixx/html/include:/var/www/confixx/html:/var/www/confixx/html/PEAR') in /var/www/confixx/html/events.inc.php on line 2
Ursache:
Die Rechte der Confixx events.inc.php Datei sind falsch:
ls -la /var/www/confixx/events.inc.php
-r--r----- 1 confixx confixx 802 Dec 28 01:42 /var/www/confixx/events.inc.php
Lösung:
/var/www/confixx/events.inc.php muss von allen lesbar sein:
chmod 444 /var/www/confixx/events.inc.php