Php Nuke

Mám problém s PHP nuke, vše jsem nainstaloval podle navodu, ale kdyz napíšu do browseru index.php, tak se objeví toto:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /3w/webzdarma.cz/n/neco/php/html/includes/sql_layer.php on line 301

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /3w/webzdarma.cz/n/neco/php/html/includes/sql_layer.php on line 301

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /3w/webzdarma.cz/n/neco/php/html/includes/sql_layer.php on line 301

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /3w/webzdarma.cz/n/neco/php/html/includes/sql_layer.php on line 357

Warning: head(themes//theme.php): failed to open stream: No such file or directory in /3w/webzdarma.cz/n/neco/php/html/header.php on line 36

Warning: head(): Failed opening 'themes//theme.php' for inclusion (include_path='.:/usr/local/lib/php') in /3w/webzdarma.cz/n/neco/php/html/header.php on line 36

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /3w/webzdarma.cz/n/neco/php/html/includes/sql_layer.php on line 301

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /3w/webzdarma.cz/n/neco/php/html/includes/sql_layer.php on line 357

Fatal error: Call to undefined function: themeheader() in /3w/webzdarma.cz/n/neco/php/html/header.php on line 68
Podobnej problem mamm taky =)
Tem chybam sice rozumim, ale bez blizsiho infa nevim, hadal bych to na spatne nastavenou DB, nebo neni vytvorena, popr. je to mozna spatne zkopirovano
Ukaž zdroják
chces zdrojak indexu nebo sql_layer?
index
tady to je:




<?php

//
/* PHP-NUKE: Advanced Content Management System */
/* ============================================ */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
//

require_once("mainfile.php");

$PHP_SELF = "modules.php";
$result = sql_query("select main_module from ".$prefix."_main", $dbi);
list($name) = sql_fetch_row($result, $dbi);
$home = 1;

if ($httpref==1) {
$referer = getenv("HTTP_REFERER");
if ($referer=="" OR eregi("^unknown", $referer) OR substr("$referer",0,strlen($nukeurl))==$nukeurl OR eregi("^bookmark",$referer)) {
} else {
sql_query("insert into ".$prefix."_referer values (NULL, '$referer')", $dbi);
}
$result = sql_query("select * from ".$prefix."_referer", $dbi);
$numrows = sql_num_rows($result, $dbi);
if($numrows>=$httprefmax) {
sql_query("delete from ".$prefix."_referer", $dbi);
}
}
if (!isset($mop)) { $mop="modload"; }
if (!isset($mod_file)) { $mod_file="index"; }
if (ereg("\.\.",$name) || ereg("\.\.",$file) || ereg("\.\.", $mod_file) || ereg("\.\.", $mop)) {
echo "You are so cool...";
} else {
$ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/module.php")) {
include("themes/$ThemeSel/module.php");
if (is_active("$default_module") AND file_exists("modules/$default_module/$mod_file.php")) {
$name = $default_module;
}
}
if (file_exists("themes/$ThemeSel/modules/$name/$mod_file.php")) {
$modpath = "themes/$ThemeSel/";
}
$modpath .= "modules/$name/$mod_file.php";
if (file_exists($modpath)) {
include($modpath);
} else {
$index = 1;
include("header.php");
OpenTable();
if (is_admin($admin)) {
echo "<center><font class=\"\"><b>"._HOMEPROBLEM."</b></font><br><br>[ <a href=\"admin.php?op=modules\">"._ADDAHOME."</a> ]</center>";
} else {
echo "<center>"._HOMEPROBLEMUSER."</center>";
}
CloseTable();
include("footer.php");
}
}

?>
Tak tady ti moc nepomuzem..
ja v pohode rozjel http://united-nuke.openland.cz

Podrobny navod v instalacnim souboru (INSTALL_CZECH). Spusteni otazka 10 minut. Pouzijte posledni verzi 4.
ja v pohode rozjel http://united-nuke.openland.cz

Podrobny navod v instalacnim souboru (INSTALL_CZECH). Spusteni otazka 10 minut. Pouzijte posledni verzi 4.
Ja mam takovou zkusenost,ze pokud mate umisteny stranky na free serveru.tak to prave pada,protoze to nezvlada tolik dotazu na databazi najednou. maji to u kont zdarma omezene...
Falco: 6 000 queries per hour ze by nestacilo? To bych se divil :)
je to phpnuke, tam se clovek nedivi nicemu.
jo, uplne stejny problem. Podpurne tabulky v databazi jsem vytvoril bez problemu, ale pise to ty same chyby (viz koleje.unas.cz), ackoliv na mem vlastnim webserveru a mysql databazi to celkem bezi bez problemu.