Ich habe gestern versucht per TL die Dashboard Online-Box im Header zu bekommen.
Template header und Event contents
und mit dem Inhalt der dashboardBoxOnlineList gefüllt.
Im Forum also auf der BoardList hat es geklappt aber auf allen anderen Seite bekam ich einen Fatal Error!
Message: PHP notice in file /wcf/templates/compiled/10_chat_1_boxRoomList.php (19): Undefined index: rooms
File: /wcf/lib/system/WCF.class.php (303)
PHP version: 5.5.10-nmm1
WCF version: 2.0.7 pl 1 (Maelstrom)
Request URI: /index.php/MembersList/
Referrer: /index.php/BoardList/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 Safari/537.36
Information: ""
Stacktrace:
#0 /wcf/templates/compiled/10_chat_1_boxRoomList.php(19): wcf\system\WCF::handleError(8, 'Undefined index...', '/www/htdocs/w01...', 19, Array)
#1 /wcf/lib/system/template/TemplateEngine.class.php(324): include('/www/htdocs/w01...')
#2 /wcf/lib/system/template/TemplateEngine.class.php(683): wcf\system\template\TemplateEngine->display('boxRoomList', 'chat', false)
#3 /wcf/templates/compiled/10_wcf_1_dashboardCustomBox-125.php(13): wcf\system\template\TemplateEngine->includeTemplate('boxRoomList', 'chat', Array, 0)
#4 /wcf/lib/system/template/TemplateEngine.class.php(324): include('/www/htdocs/w01...')
#5 /wcf/lib/system/template/TemplateEngine.class.php(544): wcf\system\template\TemplateEngine->display('dashboardCustom...', 'wcf', false)
#6 /wcf/lib/data/dashboard/custom/DashboardCustomBox.class.php(54): wcf\system\template\TemplateEngine->fetch('dashboardCustom...')
#7 /wcf/lib/system/dashboard/box/CustomSidebarBox.class.php(27): wcf\data\dashboard\custom\DashboardCustomBox->getContent()
#8 /wcf/lib/system/dashboard/box/AbstractContentDashboardBox.class.php(52): wcf\system\dashboard\box\CustomSidebarBox->render()
#9 /wcf/lib/system/dashboard/DashboardHandler.class.php(77): wcf\system\dashboard\box\AbstractContentDashboardBox->getTemplate()
#10 /wcf/lib/page/MembersListPage.class.php(145): wcf\system\dashboard\DashboardHandler->loadBoxes('com.woltlab.wcf...', Object(wcf\page\MembersListPage))
#11 /wcf/lib/page/AbstractPage.class.php(182): wcf\page\MembersListPage->assignVariables()
#12 /wcf/lib/page/AbstractPage.class.php(86): wcf\page\AbstractPage->show()
#13 /wcf/lib/system/request/Request.class.php(58): wcf\page\AbstractPage->__run()
#14 /wcf/lib/system/request/RequestHandler.class.php(108): wcf\system\request\Request->execute()
#15 /index.php(10): wcf\system\request\RequestHandler->handle('wbb')
#16 {main}
Habe ich irgendwo ein Denkfehler oder ist es nicht möglich die Dashboardbox in den Header zu bekommen?