cau, takze mam tu problemek s presmerovanim pokazde mi to rekne ze soubor nenalezen ale ten tam je index.php mam v nem vsechny patricnosti jako reklamu atd. ale nexapu proc vzdy dostanu 404 a kdyz tam dam treba jen index.php s phpinfo() tak to funguje ale ten "muj" mi vyhodi 404 pritom se neodkazuje na zadny neexistujicí soubor (kontroloval jsem velikost pismenek) a ani nepouziva presmerovani na 404. Nevite kde je zapeklita chyba ?
index.php :
<?PHP
require_once('engine/_core/CEngine.php');
$_ENG->SetLanguage();
#$_GET['cat'] = "download";
if ($_ENG->GetCategory() == "")
{
$_ENG->ChangeLocation(_DIR_URL_,"index.php","news","",_ADR_SESSION_OFF_);
exit();
}
$_ENG->InsertPageHeader("Smallfish","main.css");
require(_DIR_SEC_."/navigation/bar_top.dat");
switch ($_ENG->GetCategory())
{
default:
case "news":
require(_DIR_SEC_."/news/main.dat");
break;
case "members":
require(_DIR_SEC_."/members/main.dat");
break;
case "download":
require(_DIR_SEC_."/downloads/main.dat");
break;
case "links":
break;
case "forum":
break;
case "wars":
break;
}
require(_DIR_SEC_."/navigation/nav_menu.dat");
require(_DIR_SEC_."/navigation/nav_war.dat");
require(_DIR_SEC_."/navigation/nav_adv.dat");
require(_DIR_SEC_."/navigation/bar_bot.dat");
?>
<TABLE align="center">
<IFRAME SRC="sections/reklamawz.html" TITLE="The Famous Recipe" width="680" height="100" scrolling="No" frameborder="0" align="middle">
</IFRAME>
</TABLE>
----
na localhostu to funguje bez problemu.
a adresa
www.smallfish-test.wz.cz
index.php :
<?PHP
require_once('engine/_core/CEngine.php');
$_ENG->SetLanguage();
#$_GET['cat'] = "download";
if ($_ENG->GetCategory() == "")
{
$_ENG->ChangeLocation(_DIR_URL_,"index.php","news","",_ADR_SESSION_OFF_);
exit();
}
$_ENG->InsertPageHeader("Smallfish","main.css");
require(_DIR_SEC_."/navigation/bar_top.dat");
switch ($_ENG->GetCategory())
{
default:
case "news":
require(_DIR_SEC_."/news/main.dat");
break;
case "members":
require(_DIR_SEC_."/members/main.dat");
break;
case "download":
require(_DIR_SEC_."/downloads/main.dat");
break;
case "links":
break;
case "forum":
break;
case "wars":
break;
}
require(_DIR_SEC_."/navigation/nav_menu.dat");
require(_DIR_SEC_."/navigation/nav_war.dat");
require(_DIR_SEC_."/navigation/nav_adv.dat");
require(_DIR_SEC_."/navigation/bar_bot.dat");
?>
<TABLE align="center">
<IFRAME SRC="sections/reklamawz.html" TITLE="The Famous Recipe" width="680" height="100" scrolling="No" frameborder="0" align="middle">
</IFRAME>
</TABLE>
----
na localhostu to funguje bez problemu.
a adresa
www.smallfish-test.wz.cz