Message: syntax error, unexpected '.', expecting '{'
File: /includes/classes/cache/builder/BannedBuildCache.class.php
Line: 18
URL: owarz-game.de/install/index.php?mode=install&step=8
PHP-Version: 7.1.17
PHP-API: cgi-fcgi
2Moons Version: 2.0.0 (FILE)
Debug Backtrace:
#0 /includes/common.php(103): require()
#1 /install/index.php(45): require('FILEPATH ...')
#2 {main}
kann mir vieleicht einer helfen komme hier nicht weiter
Display Spoiler
<?php
/**
* 2Moons
* by Jan-Otto Kröpke 2009-2016
*
* For the full copyright and license information, please view the LICENSE
*
* @package 2Moons
* @author Jan-Otto Kröpke <slaver7@gmail.com>
* @copyright 2009 Lucky
* @copyright 2016 Jan-Otto Kröpke <slaver7@gmail.com>
* @licence MIT
* @version 1.8.0
* @link github.com/jkroepke/2Moons
*/
class BannedBuildCache implements BuildCache.interface
{
function buildCache()
{
$Data = Core::getDB()->query("SELECT userID, MAX(banTime) FROM ".BANNED." WHERE banTime > ".TIMESTAMP." GROUP BY userID;");
$Bans = array();
while($Row = $Data->fetchObject())
{
$Bans[$Row->userID] = $Row;
}
return $Bans;
}
}
File: /includes/classes/cache/builder/BannedBuildCache.class.php
Line: 18
URL: owarz-game.de/install/index.php?mode=install&step=8
PHP-Version: 7.1.17
PHP-API: cgi-fcgi
2Moons Version: 2.0.0 (FILE)
Debug Backtrace:
#0 /includes/common.php(103): require()
#1 /install/index.php(45): require('FILEPATH ...')
#2 {main}
kann mir vieleicht einer helfen komme hier nicht weiter
<?php
/**
* 2Moons
* by Jan-Otto Kröpke 2009-2016
*
* For the full copyright and license information, please view the LICENSE
*
* @package 2Moons
* @author Jan-Otto Kröpke <slaver7@gmail.com>
* @copyright 2009 Lucky
* @copyright 2016 Jan-Otto Kröpke <slaver7@gmail.com>
* @licence MIT
* @version 1.8.0
* @link github.com/jkroepke/2Moons
*/
class BannedBuildCache implements BuildCache.interface
{
function buildCache()
{
$Data = Core::getDB()->query("SELECT userID, MAX(banTime) FROM ".BANNED." WHERE banTime > ".TIMESTAMP." GROUP BY userID;");
$Bans = array();
while($Row = $Data->fetchObject())
{
$Bans[$Row->userID] = $Row;
}
return $Bans;
}
}