Ankündigung

Einklappen
Keine Ankündigung bisher.

PHP Error

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    PHP Error

    Hallo,

    ich habe seit heute folgende Fehler, hat jemand eine Idee?

    Warning: parse_ini_file(/var/www/html/config.ini): failed to open stream: Permission denied in /var/www/html/lib/config.php on line 55

    Warning: array_replace(): Argument #2 is not an array in /var/www/html/lib/config.php on line 49

    Warning: parse_ini_file(/var/www/html/config.ini): failed to open stream: Permission denied in /var/www/html/lib/config.php on line 55

    Warning: array_replace(): Argument #2 is not an array in /var/www/html/lib/config.php on line 49

    Warning: array_replace(): Argument #1 is not an array in /var/www/html/lib/config.php on line 92

    Warning: array_replace(): Argument #1 is not an array in /var/www/html/lib/config.php on line 93

    Warning: Invalid argument supplied for foreach() in /var/www/html/lib/includes.php on line 52

    Warning: Use of undefined constant config_timezone - assumed 'config_timezone' (this will throw an Error in a future version of PHP) in /var/www/html/lib/includes.php on line 77

    Warning: Use of undefined constant config_pages - assumed 'config_pages' (this will throw an Error in a future version of PHP) in /var/www/html/index.php on line 24

    Warning: Use of undefined constant config_index - assumed 'config_index' (this will throw an Error in a future version of PHP) in /var/www/html/index.php on line 28

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/lib/config.php:55) in /var/www/html/index.php on line 31

    Warning: Use of undefined constant config_cachefolder - assumed 'config_cachefolder' (this will throw an Error in a future version of PHP) in /var/www/html/index.php on line 33

    Warning: Use of undefined constant config_cache - assumed 'config_cache' (this will throw an Error in a future version of PHP) in /var/www/html/index.php on line 33

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/lib/config.php:55) in /var/www/html/index.php on line 164
    smartVISU 12:50, 22.12, v2.9 -------------------------------------------------------------------------------- Error loading Page 'config_index' ! Check config.php -> 'config_pages' for correct Pages/Project configuration or try the index page!

    #2
    Sieht so aus, als könnte zumindest die config.php (und evtl. auch noch weitere Dateien) aufgrund fehlender Berechtigungen nicht gelesen werden:
    Code:
    Permission denied in [B]/var/www/html/lib/config.php[/B]

    Mal Benutzer und Gruppe prüfen und ggf. Rechte entsprechend setzen, siehe z.B. in der shNG Komplettanleitung. Ggf. sollte es auch ein chmod -r 755 tun ...
    /tom

    Kommentar


      #3
      Prüfe unter welchem Benutzer php bei dir läuft. Anschließend gebe diesen als Owner der /var/www/html/config.ini an.

      chmod 755 auf alle Dateien ist meistens keine gute Idee.
      Grüße
      Marcel

      Kommentar

      Lädt...
      X