Recent content by Simplilearn

  1. S

    XF 2.2 xf_permission_cache_content table is consuming 86 GB. Suggestions to optimise the table growth

    Hi Team, We had a requirement in which the users have to be provided with Post access to certain forums and partial view access to a few forums based on certain logic. To address this we had initially created user-level access in which an email will get post access to forums. But since we were...
  2. S

    XF 2 Require xenforo consultant help/advice

    Hi All, Currently, we are facing a lot of challenges with our site on Xenforo. we created our own add-on to provide user-based permission for the forums created via API (giving permission as well as creating forums via API). A discussion is happening here. While the generous folks in the...
  3. S

    XF 2.2 Getting errors similar to "ErrorException:Fatal Error:Allowed memory size of 1073741824 bytes exhausted(tried to allocate 2621440 bytes)" every moment

    If we have a user group per private forum it will be more user groups right. Is there any other way? 1. What will happen if we stop refreshing cache from API? 2. If we are not refreshed the cache when it will refresh automatically? 3. Can we use an external cache like Redis? 4. What is the...
  4. S

    XF 2.2 Getting errors similar to "ErrorException:Fatal Error:Allowed memory size of 1073741824 bytes exhausted(tried to allocate 2621440 bytes)" every moment

    We need give forum permission only for the course they purchased. And many forums we marked as a private forum. So if we go with permission group we can't create permission group for each forum right
  5. S

    XF 2.2 Getting errors similar to "ErrorException:Fatal Error:Allowed memory size of 1073741824 bytes exhausted(tried to allocate 2621440 bytes)" every moment

    we are having a forum for each course when a user purchased the course then we need to give access to that forum tagged to the course. so we created this custom API to call on every course assignment. can we do without cache rebuild
  6. S

    XF 2.2 Getting errors similar to "ErrorException:Fatal Error:Allowed memory size of 1073741824 bytes exhausted(tried to allocate 2621440 bytes)" every moment

    this is our custom code public function actionPostForumPermission(ParameterBag $params) { $user = $this->finder('XF:User')->where('email', $this->filter('user_email', 'str'))->fetchOne(); if(empty($user)) { return $this->apiSuccess(["status"=>false,"message"=> 'not valid user'])...
  7. S

    XF 2.2 Getting errors similar to "ErrorException:Fatal Error:Allowed memory size of 1073741824 bytes exhausted(tried to allocate 2621440 bytes)" every moment

    Hi, How much physical RAM do you have? 16GB How many PHP processes are running? 26 Max Requests: 20 Process Idle Timeout: 10 Max Children: 5 Please let me know if you require more details
  8. S

    XF 2.2 Getting errors similar to "ErrorException:Fatal Error:Allowed memory size of 1073741824 bytes exhausted(tried to allocate 2621440 bytes)" every moment

    Hi All, we have written custom code to provide forum access to the emails VIA API. We are using the existing code of Xenforo. PHP: $permissionUpdater = $this->service('XF:UpdatePermissions'); $permissionUpdater->setContent('node', $forumId)->setUser($user)...
  9. S

    XF 2.2 Deadlock on permission API

    BUMP. Any thoughts on this issue? We are blocked for a long time now as we are unable to solve this issue and every moment we are experiencing " src/XF/Repository/PermissionEntry.php:125 Generated by: Unknown account Apr 22, 2022 at 6:57 AM Stack trace #0 [internal function]...
  10. S

    Upgrading MySQL version to MySQL 8

    Hi All, Currently, we are using XF 2.2 with MySQL 5.5.61. We were planning to upgrade to MySQL 8, could you please guide us on what kind of impact to expect when we do the upgrade. Any insights will be helpful. Thank you
  11. S

    XF 2.2 Deadlock on permission API

    Hi All, Can we please get some insights on this?
Top Bottom