Hallo,
auf einer Webseite setze ich Flexi Custom Code ein. Sie Module sind jetzt nicht mehr sichtbar,
Seit Donnerstag habe ich Probleme. Wenn ich die maximale Fehleranzeige aktiviere, werden Fehler in der helper-Datei ab Zeile 20 bis 26 angezeigt:
Code
Zeile 19 class modFlexiCustomCode { Zeile 20 public static function parsePHPviaFile($codearea) { Zeile 21 $tmpfname = tempnam(JPATH_SITE."/tmp", "html"); Zeile 22 $handle = fopen($tmpfname, "w"); Zeile 23 fwrite($handle, $codearea, strlen($codearea)); Zeile 24 fclose($handle); Zeile 25 include_once($tmpfname); Zeile 26 unlink($tmpfname); Zeile 27 }
Die Fehlermeldungen:
Code
Warning: tempnam(): open_basedir restriction in effect.
File(/tmp) is not within the allowed path(s):
(/var/www//html/:/var/www//phptmp/:/var/www//files/:/var/www//atd/:/usr/share/php/:/opt/php/)
in /var/www//html/modules/mod_flexi_customcode/helper.php on line 21
Warning: fopen(): Filename cannot be empty in /var/www//html/modules/mod_flexi_customcode/helper.php on line 22
Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www//html/modules/mod_flexi_customcode/helper.php on line 23
Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www//html/modules/mod_flexi_customcode/helper.php on line 24
Warning: include_once(/var/www//html): failed to open stream: Operation not permitted in /var/www//html/modules/mod_flexi_customcode/helper.php on line 25
Warning: include_once(): Failed opening '' for inclusion (include_path='.:/opt/php/5.6.24/share/pear') in /var/www//html/modules/mod_flexi_customcode/helper.php on line 25
Warning: unlink(): open_basedir restriction in effect. File() is
not within the allowed path(s):
(/var/www//html/:/var/www//phptmp/:/var/www//files/:/var/www//atd/:/usr/share/php/:/opt/php/)
in /var/www/web7/html/modules/mod_flexi_customcode/helper.php on line 26
}
Alles anzeigen
Kann mir jemand helfen.
Gruß Dietmar