userID = WCF::getUser()->userID; $this->posts = WCF::getUser()->posts; $this->points = WCF::getUser()->activityPoints; // Multipages if (isset($_REQUEST['highlight'])) $this->highlight = $_REQUEST['highlight']; // get game id and action if (isset($_REQUEST['menue_id'])) $this->menue_id = intval($_REQUEST['menue_id']); if (isset($_REQUEST['action'])) $this->action = $_REQUEST['action']; // Posts abfragen, Hits zählen und Link aufrufen if ($this->action == "go") { $sql = "SELECT `hit`, `link`, `post`, `permission` FROM wcf".WCF_N."_gamemenue WHERE `menue_id` = $this->menue_id"; $result = WCF::getDB()->sendQuery($sql); $row = WCF::getDB()->fetchArray($result); if ($row['permission'] && $row['post']){ // Abfrage ob genügend Beiträge geschrieben wurden if ($row['permission'] == 1){ if ($this->posts < $row['post']) { require_once(WCF_DIR.'lib/system/exception/NamedUserException.class.php'); throw new NamedUserException(WCF::getLanguage()->get('wbb.gamemenue.errorpost')); } } elseif ($row['permission'] == 2) { if ($this->points < $row['post']) { require_once(WCF_DIR.'lib/system/exception/NamedUserException.class.php'); throw new NamedUserException(WCF::getLanguage()->get('wbb.gamemenue.errorpoints')); } } elseif (defined('GUTHABEN_ENABLE_GLOBAL')) { if ($row['permission'] == 3 && GUTHABEN_ENABLE_GLOBAL) { require_once(WCF_DIR.'lib/data/user/UserGuthaben.class.php'); $um = new UserGuthaben($this->userID); if (!$um->subGuthaben($row['post'],'wbb.gamemenue.kosten')) { require_once(WCF_DIR.'lib/system/exception/NamedUserException.class.php'); throw new NamedUserException(WCF::getLanguage()->get('wbb.gamemenue.errormoney')); } } } } $hits = ($row['hit'] + 1); $sql = "UPDATE wcf".WCF_N."_gamemenue SET `hit` = $hits WHERE `menue_id` = $this->menue_id"; WCF::getDB()->sendQuery($sql); // forward to game page header('Location: '.$row['link'].SID_ARG_2ND_NOT_ENCODED); exit; } } public function readData() { parent::readData(); $this->readGames(); } /** * @see Page::assignVariables(); */ public function assignVariables() { parent::assignVariables(); $this->permission = WCF::getUser()->checkPermission($permission = 'user.board.games.canViewGamemenue'); $this->userID = WCF::getUser()->userID; if (GAMEMENUE_OFFLINE) { $this->templateName = 'GameMenue_offline'; WBBCore::getTPL()->assign('offlinemessage', GAMEMENUE_OFFLINE_MESSAGE); } else { WBBCore::getHeaderMenu()->setActiveMenuItem('wbb.header.menu.gamemenue'); WBBCore::getTPL()->assign('selfLink', 'GameMenue.php?'.SID_ARG_2ND); WBBCore::getTPL()->assign(array( 'games' => $this->games, 'gamescount' => $this->countItems(), 'highlight' => $this->highlight, )); } } public function checkPermission($permission = 'user.board.games.canViewGamemenue') { if (!$this->getPermission($permission)) { require_once(WCF_DIR.'lib/system/exception/PermissionDeniedException.class.php'); throw new PermissionDeniedException(); } } public function countItems() { parent::countItems(); $sql = "SELECT COUNT(position) AS position FROM wcf".WCF_N."_gamemenue WHERE active != 0"; $row = WCF::getDB()->getFirstRow($sql); return $row['position']; } protected function readGames() { $sql = "SELECT * FROM wcf".WCF_N."_gamemenue games WHERE active != 0 ORDER BY games.".$this->sortField." ASC LIMIT ".$this->itemsPerPage." OFFSET ".(($this->pageNo - 1) * $this->itemsPerPage); $result = WCF::getDB()->sendQuery($sql); while ($row = WCF::getDB()->fetchArray($result)) { /* $games =array('text' => $row['text'], 'enableSmilies' => $row['enableSmilies'], 'enableHtml' => $row['enableHtml'], 'enableBBCodes' => $row['enableBBCodes'], ); */ $this->text = $row['text']; $this->enableSmilies = $row['enableSmilies']; $this->enableHtml = $row['enableHtml']; $this->enableBBCodes = $row['enableBBCodes']; $row['text'] = $this->getFormattedMessage(); if (!defined('GUTHABEN_ENABLE_GLOBAL') && ($row['permission'] == 3)) $row['permission'] = 0; $this->games[] = $row; } } /** * @see ViewablePost::getFormattedMessage() */ protected function getFormattedMessage() { // parse message $parser = MessageParser::getInstance(); $parser->setOutputType('text/html'); return $parser->parse($this->text, $this->enableSmilies, $this->enableHtml, $this->enableBBCodes, !$this->messagePreview); } } ?> Fatal error: unable to find class 'GameMenuePage'

Fatal error: unable to find class 'GameMenuePage'

You get more information about the problem in our knowledge base: http://www.woltlab.com/help/?code=11001

Information:

error message: unable to find class 'GameMenuePage'
error code: 11001
file: /var/www/vhosts/haustierforum-online.de/httpdocs/forum/wcf/lib/util/RequestHandler.class.php (62)
php version: 5.2.17
wcf version: 1.1.2 (Tempest)
date: Thu, 26 Apr 2018 20:57:31 +0000
request: /forum/?page=GameMenue&s=3641bcc5e897e98e4be88c06331cac8467c9cffa
referer:

Stacktrace:

#0 /var/www/vhosts/haustierforum-online.de/httpdocs/forum/wcf/lib/util/RequestHandler.class.php(92): RequestHandler->__construct('GameMenue', Array, 'page')
#1 /var/www/vhosts/haustierforum-online.de/httpdocs/forum/index.php(8): RequestHandler::handle(Array)
#2 {main}