Dieses Projekt wird in seiner aktuellen Form die Tore bald schließen.
Hier mehr erfahren: Unsere Zukunft innerhalb des WoltLab-Ökosystems
Hier mehr erfahren: Unsere Zukunft innerhalb des WoltLab-Ökosystems
-
-
What exactly do you mean by saying "it does not work"? What exactly happens if you enter these lines?
-
[Blockierte Grafik: https://kittblog.com/board/index.php?page=Attachment&attachmentID=3620&h=9bc2c57da42ec740a9ec5d6bf2c7a76c750d0707]
Code
Alles anzeigenFatal error: PHP notice in file /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/upload/wcf/templates/compiled/109_3_1_boardRecentActivityBox.php (49): Undefined index: enableRating Information: error message: PHP notice in file /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/upload/wcf/templates/compiled/109_3_1_boardRecentActivityBox.php (49): Undefined index: enableRating error code: 0 file: /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/upload/wcf/lib/system/WCF.class.php (281) php version: 5.3.27 wcf version: 1.1.9 (Tempest) date: Tue, 05 Nov 2013 19:33:20 +0000 request: /index.php?page=Index referer: http://www.il-forum-degli-psicoterapeuti.it/acp/index.php?form=TemplateEdit Stacktrace: #0 /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/upload/wcf/templates/compiled/109_3_1_boardRecentActivityBox.php(49): WCF::handleError(8, 'Undefined index...', '/web/htdocs/www...', 49, Array) #1 /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/upload/wcf/lib/system/template/Template.class.php(267): include('/web/htdocs/www...') #2 /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/upload/wcf/lib/system/template/Template.class.php(397): Template->display('boardRecentActi...', false) #3 /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/lib/data/page/recentActivityBox/BoardRecentActivityBox.class.php(180): Template->fetch('boardRecentActi...') #4 /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/upload/wcf/templates/compiled/109_3_1_recentActivityBox.php(33): BoardRecentActivityBox->getContent() #5 /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/upload/wcf/lib/system/template/Template.class.php(267): include('/web/htdocs/www...') #6 /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/upload/wcf/lib/system/template/Template.class.php(397): Template->display('recentActivityB...', false) #7 /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/lib/system/event/listener/RecentActivityBoxListener.class.php(57): Template->fetch('recentActivityB...') #8 /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/upload/wcf/lib/system/event/EventHandler.class.php(207): RecentActivityBoxListener->execute(Object(IndexPage), 'IndexPage', 'assignVariables') #9 /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/upload/wcf/lib/page/AbstractPage.class.php(73): EventHandler::fireAction(Object(IndexPage), 'assignVariables') #10 /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/lib/page/IndexPage.class.php(26): AbstractPage->assignVariables() #11 /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/upload/wcf/lib/page/AbstractPage.class.php(93): IndexPage->assignVariables() #12 /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/upload/wcf/lib/page/AbstractPage.class.php(46): AbstractPage->show() #13 /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/upload/wcf/lib/util/RequestHandler.class.php(64): AbstractPage->__construct() #14 /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/upload/wcf/lib/util/RequestHandler.class.php(92): RequestHandler->__construct('Index', Array, 'page') #15 /web/htdocs/www.il-forum-degli-psicoterapeuti.it/home/index.php(8): RequestHandler::handle(Array) #16 {main}
It's the errore code.
-
It seems that these informations are not available without writing a plugin, which loads them out of the database.
-
Simply removing the if-statement should solve the error message.
-
Thanks! I fix it!