Hallo,
ich habe folgenden Fehlercode auf meiner Homepage:
Die Index sieht folgendermaßen aus:
Die Settings so:
Und da ich überhaupt keine Ahnung von PHP habe, weiß ich nicht wo das Problem liegt..hoffe ihr könnt mir helfen?!
ich habe folgenden Fehlercode auf meiner Homepage:
PHP-Code:
Warning: index::require_once(1) [index.require-once]: failed to open stream: No such file or directory in /var/kunden/webs/ho290510001/clubmusic/test/index.php on line 7
Fatal error: index::require_once() [function.require]: Failed opening required '1' (include_path='.:/usr/share/php:/usr/share/pear') in /var/kunden/webs/ho290510001/clubmusic/test/index.php on line 7
PHP-Code:
<?php
/* This files are scripted by Silas Winter of the year 2010 */
/* http://ownzig.at/ */
class index {
private $files = array("html/web_site.php");
public function __construct($web0) {
require_once $web0 OR die(error_reporting());
return $this->web($this->files[0]);
}
public function web($web1) {
require_once $web1 OR die(error_reporting());
return $this->files();
}
}
$start = new index("settings.php");
?>
PHP-Code:
<?php
class settings {
public function __construct() {
/* Webseite */
@set_time_limit("30") OR die("");
define("NAME", "Clubmusic");
define("DOMAIN", "li");
/* Administration */
$admin = array("fan34", "GriiLex");
}
}
$settings = new settings();
?>
Kommentar