Posted 15 марта, 20231 yr comment_190970 https://invisioncommunity.com/files/file/9160-tournaments/ Any of you guys have this plugin ? Link to comment https://ipbmafia.ru/topic/25358-tournaments-112/ Share on other sites Больше вариантов
15 марта, 20231 yr comment_190971 23 минуты назад, shadowbringer сказал: Any of you guys have this plugin ? only: Tournaments 1.1.1 Tournaments 1.1.1.tar Link to comment https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=190971 Share on other sites Больше вариантов
15 марта, 20231 yr Author comment_190972 shadowbringer it crashes my website (i am using 4.7.7) Link to comment https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=190972 Share on other sites Больше вариантов
15 марта, 20231 yr Author comment_190974 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 Link to comment https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=190974 Share on other sites Больше вариантов
15 марта, 20231 yr comment_190975 After $showMovedLinks=FALSE add: , $location=NULL Link to comment https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=190975 Share on other sites Больше вариантов
15 марта, 20231 yr Author comment_190976 worked thank you very much Link to comment https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=190976 Share on other sites Больше вариантов
10 мая, 20231 yr comment_193221 How i can make it work on ips 4.7.9 ? is not compatible. Link to comment https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=193221 Share on other sites Больше вариантов
10 мая, 20231 yr comment_193224 37 минут назад, hardkboy сказал: How i can make it work on ips 4.7.9 ? is not compatible. Have you already tried to install this app on version 4.7.9 or are you just asking? Link to comment https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=193224 Share on other sites Больше вариантов
14 мая, 20231 yr comment_193330 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. Link to comment https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=193330 Share on other sites Больше вариантов
14 мая, 20231 yr comment_193332 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} Link to comment https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=193332 Share on other sites Больше вариантов
14 мая, 20231 yr comment_193339 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 в конце ожидается скобка ), , а не переменная. Link to comment https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=193339 Share on other sites Больше вариантов
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.