XenCentral Multisite System 2

XenCentral Multisite System 2 [Paid] 2.1.0 Release Candidate 2

No permission to buy (€69.99)
@xydrine There is no special documentation at this moment. You should refer to FAQ section for the basic instructions https://xenforo.com/community/resources/xencentral-multisite-system-2.6966/field?field=faq

So @XCentral - I really needed / wanted this addon to work, potentially even with a few small hiccups - that would be okay, but I don't think with the way we have our forum configured, with as many addons/etc as we have, that it can work properly...

z3.webp

zzz12.webp

There are just a significant number of errors/addon conflicts (even when having many of them disabled on the root site - which kind of defeats many of the purposes - of being able to use a system like this with different addons on different sites/etc) to be able to run it on our setup.

Unless I'm doing something completely wrong when it comes to setup/configuration...
 
Code:
ErrorException: [E_NOTICE] Undefined index: domain_id src/addons/XenCentral/MultiSite/Service/XF/PushNotification.php:41
Generated by: EmreE Jul 29, 2019 at 5:04 PM
Stack trace
#0 src/addons/XenCentral/MultiSite/Service/XF/PushNotification.php(41): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/var/www/vhosts...', 41, Array)
#1 src/XF/Service/PusherTrait.php(159): XenCentral\MultiSite\Service\XF\PushNotification->sendNotifications()
#2 src/XF/Repository/UserAlert.php(147): XF\Service\Alert\Pusher->push()
#3 src/XF/Repository/UserAlert.php(98): XF\Repository\UserAlert->insertAlert(2, 105, 'EmreE', 'post', 6, 'reaction', Array)
#4 src/XF/Reaction/AbstractHandler.php(181): XF\Repository\UserAlert->alertFromUser(Object(Datio\AllowedEmails\XF\Entity\User), Object(Datio\AllowedEmails\XF\Entity\User), 'post', 6, 'reaction', Array)
#5 src/XF/Repository/Reaction.php(201): XF\Reaction\AbstractHandler->sendReactionAlert(Object(Datio\AllowedEmails\XF\Entity\User), Object(Datio\AllowedEmails\XF\Entity\User), 6, Object(Snog\TV\XF\Entity\Post), 1)
#6 src/XF/Repository/Reaction.php(142): XF\Repository\Reaction->insertReaction(1, 'post', 6, Object(Datio\AllowedEmails\XF\Entity\User), true, false)
#7 src/XF/ControllerPlugin/Reaction.php(65): XF\Repository\Reaction->reactToContent(1, 'post', 6, Object(Datio\AllowedEmails\XF\Entity\User), true)
#8 src/XF/ControllerPlugin/Reaction.php(19): XF\ControllerPlugin\Reaction->actionToggleReaction(Object(Snog\TV\XF\Entity\Post), 'posts/reactions', 'posts')
#9 src/XF/ControllerPlugin/Reaction.php(12): XF\ControllerPlugin\Reaction->actionReact(Object(Snog\TV\XF\Entity\Post), 'posts', 'posts/react', 'posts/reactions')
#10 src/XF/Pub/Controller/Post.php(368): XF\ControllerPlugin\Reaction->actionReactSimple(Object(Snog\TV\XF\Entity\Post), 'posts')
#11 src/addons/KL/EditorManager/XF/Pub/Controller/Post.php(23): XF\Pub\Controller\Post->actionReact(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(321): KL\EditorManager\XF\Pub\Controller\Post->actionReact(Object(XF\Mvc\ParameterBag))
#13 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Post', 'React', Object(XF\Mvc\RouteMatch), Object(KL\EditorManager\XF\Pub\Controller\Post), NULL)
#14 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(KL\EditorManager\XF\Pub\Controller\Post), NULL)
#15 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#16 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#17 src/XF.php(390): XF\App->run()
#18 index.php(20): XF::runApp('XF\\Pub\\App')
#19 {main}
Request state
array(4) {
  ["url"] => string(28) "/posts/6/react?reaction_id=1"
  ["referrer"] => string(61) "https://trgamers.com/threads/teamspeak-rozet-badge-kodlari.6/"
  ["_GET"] => array(1) {
    ["reaction_id"] => string(1) "1"
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(41) "/threads/teamspeak-rozet-badge-kodlari.6/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}

Code:
ErrorException: [E_WARNING] implode(): Invalid arguments passed src/addons/XenCentral/MultiSite/Stats/XF/Post.php:56
Generated by: Unknown account Jul 29, 2019 at 3:42 AM
Stack trace
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] imp...', '/var/www/vhosts...', 56, Array)
#1 src/addons/XenCentral/MultiSite/Stats/XF/Post.php(56): implode('', '', NULL)
#2 src/addons/XenCentral/MultiSite/Repository/XF/Stats.php(29): XenCentral\MultiSite\Stats\XF\Post->getData(1564272000, 1564358400)
#3 src/XF/Cron/Counters.php(30): XenCentral\MultiSite\Repository\XF\Stats->build(1564272000, 1564358400)
#4 [internal function]: XF\Cron\Counters::recordDailyStats(Object(XF\Entity\CronEntry))
#5 src/XF/Job/Cron.php(35): call_user_func(Array, Object(XF\Entity\CronEntry))
#6 src/XF/Job/Manager.php(253): XF\Job\Cron->run(G)
#7 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#8 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#9 job.php(42): XF\Job\Manager->runQueue(false, 8)
#10 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(52) "https://trgamers.com/canliyayin/5/syntaco/165312757/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

Code:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'domain_id' in 'field list' src/XF/Db/AbstractStatement.php:217
Generated by: MFA Jul 28, 2019 at 2:33 AM
Stack trace
INSERT  INTO `xf_user_push_subscription` (`endpoint_hash`, `endpoint`, `user_id`, `data`, `last_seen`, `domain_id`) VALUES (?, ?, ?, ?, ?, ?) ON DUPLICATE KEY UPDATE
            user_id = VALUES(user_id),
            data = VALUES(data),
            last_seen = VALUES(last_seen)
        
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1054, '42S22')
#1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1054, '42S22')
#2 src/XF/Db/Mysqli/Statement.php(54): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(221): XF\Db\AbstractAdapter->query('INSERT  INTO `x...', Array)
#5 src/addons/XenCentral/MultiSite/Repository/XF/UserPush.php(37): XF\Db\AbstractAdapter->insert('xf_user_push_su...', Array, false, '
            user_id = V...')
#6 src/XF/Pub/Controller/Misc.php(431): XenCentral\MultiSite\Repository\XF\UserPush->insertUserPushSubscription(Object(Datio\AllowedEmails\XF\Entity\User), Array)
#7 src/XF/Mvc/Dispatcher.php(321): XF\Pub\Controller\Misc->actionUpdatePushSubscription(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Misc', 'UpdatePushSubsc...', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Misc), NULL)
#9 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Misc), NULL)
#10 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#12 src/XF.php(390): XF\App->run()
#13 index.php(20): XF::runApp('XF\\Pub\\App')
#14 {main}
Request state
array(4) {
  ["url"] => string(40) "/index.php?misc/update-push-subscription"
  ["referrer"] => string(21) "https://trgamers.com/"
  ["_GET"] => array(1) {
    ["misc/update-push-subscription"] => string(0) ""
  }
  ["_POST"] => array(7) {
    ["endpoint"] => string(188) "https://fcm.googleapis.com/fcm/send/cBMYDSasIDE:APA91bGFDJKdzQFtjn0SyC7RM9vgXQR7E3RU5Zy_eBwlFqqeQJPd02Ri56g8D061GOa2EVvwGG5wfWau5iFbA-cf3iuo40fRQ8j1H5SPpYg7sAncbG6vgNYSQRoyw3oCP9jgj4orq3_k"
    ["key"] => string(88) "BHjxX9kRvFpSa0395f3YnfjfPcavJpb3d9NUtcAK7E8wliZxUB/d86L9bl3PH2kUfLk3D95N6xeReh7Ucx9y3Fk="
    ["token"] => string(24) "gTjsBzsGnxNM+vN6TTQ9Ag=="
    ["encoding"] => string(9) "aes128gcm"
    ["unsubscribed"] => string(1) "0"
    ["_xfResponseType"] => string(4) "json"
    ["_xfToken"] => string(8) "********"
  }
}
 
hello, if i remove an admin or user from one site does this remove them from all sites as its just one DB
 
XCentral updated XenCentral Multisite System 2 with a new update entry:

XenCentral Multisite System 2.1.0 Beta 13 Released

Hello everyone!

This is the next beta release of Multisite System.

The release mostly includes fixes for reported errors and issues. Also, some database queries refactoring is done. All customers running Beta 12 and earlier releases are recommended to upgrade to this release. If you find any issues, please submit them to Bug Reports forum or via ticketing system at https://shop.xencentral.com/clientarea.php

The update is available in Customer's Portal...

Read the rest of this update entry...
 
@AGPR Please, do not forget that this is still a beta version, so a test upgrade prior to any live/production upgrade is still recommended.
 
@XCentral After upgrading is this normal?:
ErrorException: Renamed table xf_xc_mss_domain_user to xf_xc_mss_domain_user__conflict to avoid schema conflict src/XF/Error.php:75

also "What's new" returns posts from all sites, is that normal?
 
Last edited:
Ok thanks.

Yes that option is enabled.

site-search.webp

It shows posts from all sites but all links are prefixed with the domain of the site you are currently in. When you click on a link it redirects you to the the correct domain but it appends /forum/ twice. This issue is also present in the previous beta. Any ideas?
 
@AGPR Sub-directory structure is not supported in Multisite System. It generally works. but may have some misbehaviors, like the one you mentioned. The supported locations are sub-domains/domains. Thank you!
 
Top Bottom