[#6689] Setting admin permissions on CBSubs just 'spins'

6 years 9 months ago #295276 by krileon

I just checked and we have Maximum Input Variables set to 1000 (not sure if that is the setting that this relates to).

That would be the culprit. Increase it to 3000 and your issue should likely go away. I'm surprised you're not seeing this elsewhere. You surely should've been hitting input limits with Joomla global configuration due to the number of permissions combined with large number of usergroups.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

6 years 9 months ago #295277 by cpaschen
That's the odd thing ... no other permissions area is having any issues, not even core CB permissions, just CB Subs.

Please Log in to join the conversation.

6 years 9 months ago #295278 by krileon
Believe I know why. CBSubs has 15 permissions. Joomla global configuration only has 11. That's 1 input per permission per usergroup. I'm not sure anything else has as many permissions as CBSubs. Example as follows of what's happening.

20 Usergroups
CBSubs: 300 inputs
Joomla: 220 inputs

It just continues to grow the more usergroups you have. The only solution really is to just increase your input limit. Pretty sure the new recommended default these days is 3000 anyway and it's unlikely any of our plugins would hit that limit.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

6 years 9 months ago #295279 by cpaschen
3000 did it. Nothing else had to change and it is working on the live site now without a problem (other than the spinning wheel issue).

The thing that we needed to change on the server was:
max_input_vars = 3000

CB and CB Subs is an example of the frustration of a good thing.

With all these great options and features comes lots of potential for things getting either messed up or just confusing. Fortunately, with your great help AND with a great hosting company (CloudAccess) we finally have this working.

Thanks for your patience with this process.

BTW ... you might want to put a 'recommended configuration' for CBSubs to increase that max_input_vars (if people have a lot of user groups) - just to prevent this in the future.

Thanks again!

Please Log in to join the conversation.

6 years 9 months ago #295304 by krileon

With all these great options and features comes lots of potential for things getting either messed up or just confusing.

Yeah, just an unfortunate side effect to having flexibility. We have to cover as many usecases as we can, which means tons of parameters. We're reviewing potential solutions for CB 3.0 to make the process easier (possibly backend modes like Basic and Advanced to limit what is shown). We've at least reduced this a little bit by adapting the rule that design parameters (basically templates) should not exist and should in fact just be a part of the templates.

BTW ... you might want to put a 'recommended configuration' for CBSubs to increase that max_input_vars (if people have a lot of user groups) - just to prevent this in the future.

Normal circumstances would never hit this issue. You'd need something like 95 usergroups to hit that limit, which is an extremely large number of usergroups for an install. I really don't recommend more than 30 as ACL is used everywhere throughout Joomla and the more you have the more of a performance hit you take on every single page. Typically repurposing the defaults +5 or so more usergroups should cover more usecases.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.229 seconds

Facebook Twitter LinkedIn