Fatal error: Allowed memory ...

15 years 10 months ago #65936 by THE_AI
Fatal error: Allowed memory ... was created by THE_AI
Hi there!
When I try to log in to my joomla installation with cb 1.2 RC I get the following fatal error.

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 122880 bytes) in /home/www/web89/web/development/components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php on line 3001


At line 3001 we have the following code:
[code:1] if ( is_array( $my_groups ) && ( count( $my_groups ) > 0 ) ) {
$ex_groups = $_CB_framework->acl->get_group_children( $my_groups[0], 'ARO', 'RECURSE' );
if ( $ex_groups === null ) {
$ex_groups = array(); // mambo fix
}
} [/code:1]

I have 32MB on the server, should that be enough for CB to work, or I should allocate more?

Please Log in to join the conversation.

15 years 10 months ago #66032 by THE_AI
Replied by THE_AI on topic Re:Fatal error: Allowed memory ...
Anyone?

Please Log in to join the conversation.

15 years 10 months ago #66050 by nant
Replied by nant on topic Re:Fatal error: Allowed memory ...
Don't really know what else you have installed - not much detail in your post.

Yes, I would allocate more or find out what is using up all this memory.

Please Log in to join the conversation.

15 years 10 months ago #66054 by THE_AI
Replied by THE_AI on topic Re:Fatal error: Allowed memory ...
I only have fireboard forum and uddeim installed.
there is only one user in the database, no content, nothing.

On my localhost however, the site works perfect. So I know it is a server problem, but I can not find what for one.

Please Log in to join the conversation.

15 years 10 months ago #66093 by Rapunzl
Replied by Rapunzl on topic Re:Fatal error: Allowed memory ...
Change memory_limit in php.ini to a higher number until you get enough. I set mine to 240M like we had to do prior to the comprofiler install optimization. It solved the same error I had when enabling the Captcha plugin integration option in CB Login module. Apparently all this effort from the developers to increase our options and parameter configuration has made our system brains overload. :)

I just wish I could simply change a number to increase MY memory! :silly:

Jamie (Rapunzl)
Community Builder Team Member

Before posting on forums: Read all CB Articles | Specially the FAQ | Help us help you
CB links: Subscribe to CB documentation | [url=http://www.joomlapolis.com/content/view/7363/37/
]Our templates[/url] | [url=http://www.joomlapolis.com/content/blogcategory/61/74/
]Paid Subscriptions[/url] | Get Hosting | Our Forge
Visit my CB Profile

My personal site Rapunzl's Reality always under reconstruction

Please Log in to join the conversation.

15 years 10 months ago #66107 by THE_AI
Replied by THE_AI on topic Re:Fatal error: Allowed memory ...
That was a strange problem on my server.
Normally we can all set the php memory value from the .htaccess file and that is working, but is causing this error messages.

We edited the global php.ini file on the server and set the memory to 32MB and now everything works as expected.

Thank you all!

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.457 seconds

Facebook Twitter LinkedIn