Jump to content

Featured Replies

  • Author
	public static function getItemsWithPermission( $where=array(), $order=NULL, $limit=10, $permissionKey='read', $includeHiddenItems=\IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags=0, \IPS\Member $member=NULL, $joinContainer=FALSE, $joinComments=FALSE, $joinReviews=FALSE, $countOnly=FALSE, $joins=NULL, $skipPermission=FALSE, $joinTags=TRUE, $joinAuthor=TRUE, $joinLastCommenter=TRUE, $showMovedLinks=FALSE )
	{
		$member = $member ?: \IPS\Member::loggedIn();
		if ( !$member->isAdmin() )
		{
			$joinContainer = TRUE;
		}
		
		return parent::getItemsWithPermission( $where, $order, $limit, $permissionKey, $includeHiddenItems, $queryFlags, $member, $joinContainer, $joinComments, $joinReviews, $countOnly, $joins, $skipPermission, $joinTags, $joinAuthor, $joinLastCommenter, $showMovedLinks );
	}

this function is the problem i think it should be converted to php 8.0+

this function is present in 2 files sources\Tournaments\Tournaments.php and sources\Teams\Teams.php

  • 1 месяц спустя...
At 10.05.2023 at 10:26, ryancoolround said:

Have you already tried to install this app on version 4.7.9 or are you just asking?

I try to install it but i get this error.

1C133/K The application you uploaded cannot be installed because it is not a valid application, the archive is corrupt or the file and directory permissions in /applications do not allow it.

Ok i manage to install it bow if i click on tournaments in front i get 

 

ParseError: syntax error, unexpected variable "$location", expecting ")" (0)
#0 [internal function]: IPS\IPS::autoloader()
#1 /home/gameport.ro/public_html/system/Dispatcher/Front.php(254): is_subclass_of()
#2 /home/gameport.ro/public_html/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Front->init()
#3 /home/gameport.ro/public_html/index.php(13): IPS\_Dispatcher::i()
#4 {main}

3 часа назад, hardkboy сказал:

Ok i manage to install it bow if i click on tournaments in front i get 

 

ParseError: syntax error, unexpected variable "$location", expecting ")" (0)
#0 [internal function]: IPS\IPS::autoloader()
#1 /home/gameport.ro/public_html/system/Dispatcher/Front.php(254): is_subclass_of()
#2 /home/gameport.ro/public_html/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Front->init()
#3 /home/gameport.ro/public_html/index.php(13): IPS\_Dispatcher::i()
#4 {main}

В части кода, где находится $location в конце ожидается скобка ), , а не переменная.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.