No i wszystko byloby cacy gdyby nie blÄ…d.
Fatal error: Uncaught exception Exception with message Query error: No database selected (SELECT id, checksum FROM tl_search WHERE url='home.html' LIMIT 0,1) thrown in /home/rc5/domains/scorpimen.eu/public_html/not4u/system/libraries/Database.php on line 502
#0 /home/rc5/domains/scorpimen.eu/public_html/not4u/system/libraries/Search.php(87): Database_Statement->execute('home.html')
#1 /home/rc5/domains/scorpimen.eu/public_html/not4u/system/modules/frontend/FrontendTemplate.php(173): Search->indexPage(Array)
#2 /home/rc5/domains/scorpimen.eu/public_html/not4u/system/modules/frontend/PageRegular.php(109): FrontendTemplate->output()
#3 /home/rc5/domains/scorpimen.eu/public_html/not4u/index.php(180): PageRegular->generate(Object(DB_Mysql_Result))
#4 /home/rc5/domains/scorpimen.eu/public_html/not4u/index.php(216): Index->run()
#5 {main}
Co ciekawe bład sie pojawia tylko jak
nie jestem zalogowany jako admin. Jak siÄ™ zaloguje to znika.
Nie mam ustawione elementu chronionego na nic.
Za bład jest odpowiedzialny wpis {{file::forum_news.php}}
Jak to wywale z kodu to nawet bez zalogowania widac all ok.
Załanczany plik istnieje generuje poprawne dane.
http://not4u.scorpim.../forum_news.phpzawartośc pliku:
<?php
require("/home/rc5/domains/scorpimen.eu/public_html/not4u/forum/SSI.php");
$dane = ssi_recentPosts(8, null, 'array');
foreach($dane as $dupa)
{
echo $dupa['link'].' - ';
echo $dupa['time'];
echo $dupa['name'];
echo '</br>';
}
?>

jakieÅ› podpowiedzi ?