Skip to Content Skip to Menu

[SOLVED] Fatal error: Allowed memory size ... in cb.acl.php

  • Wai Wai
  • Wai Wai
  • OFFLINE
  • Posts: 24
  • Thanks: 2
  • Karma: 1
10 years 9 months ago - 10 years 9 months ago #239292 by Wai Wai
When I logged in as Super Administrator, I got the following error.
Code:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 523800 bytes) in /data/html/administrator/components/com_comprofiler/library/cb/cb.acl.php on line 498

I check the line number: 498 inside get_group_parent_ids().
It called the function itself recursively until memory limit 128MB is exceeded.
Code:
function get_group_parent_ids( $gid = null ) { .... $paths[$gid] = array_merge( $paths[$gid], [b]$this->get_group_parent_ids( 6 )[/b]); .... }
Attachments:
Last edit: 10 years 9 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • rlicopoli
  • rlicopoli
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
10 years 9 months ago #239312 by rlicopoli
how many groups do you have? I had this same problem when i created over 1,400 groups in groupjive, each representing a city. There is a loop error in the GroupJive where it loads all groups for each city, causing the server to max out on allowable memory. I addressed this in the past with Kyle and he suggested increasing server memory however the hosting company won't increase it. This is definitely a bug.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #239313 by krileon
There's a known, and fixed in CB 2.0, infinite loop bug if you moved the Manager usergroup under Registered. Do not move, delete, etc.. the default usergroups. Ensure Manager has a parent of Public only. Same for Super Users.


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 or Create an account to join the conversation.

  • Wai Wai
  • Wai Wai
  • OFFLINE
  • Posts: 24
  • Thanks: 2
  • Karma: 1
10 years 9 months ago #239361 by Wai Wai
Yes, Manager usergroup is under Registered group. Probably I moved it by mistake.
I moved out of Registered group.
It works now. Thank.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum