When I tried to activate the 6.x-1.y-alpha4 release I got a WSOD and found following error in apache's error log:

PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 4983374 bytes) in /var/www/html/rkl/akintra6test/includes/bootstrap.inc on line 687

So I raised PHP memory_limit from 64M to 96M and tried again to activate the module. I got another WSOD and found in error.log:

child pid 31601 exit signal Segmentation fault (11)
[Mon Aug 04 15:58:49 2008] [error] [client 172.21.5.52] PHP Warning:  Got a packet bigger than 'max_allowed_packet' bytes

I configured this mysql parameter from 1M to max_allowed_packet=16M and now I could activate the module successfully and the rules tables rules_rules and rules_sets got created by the install function.

So I thought that the real reason for the problem was the setting of the mysql parameter max_allowed_packet and not PHP's memory_limit.

I deactivated and deinstalled rules module again, changed PHP parameter memory_limit back to 64M and tried to activate rules again. It worked without a problem. Now I know that the mysql parameter max_allowed_packet had been too small in my server environment and caused the problem activating rules module.

Comments

avpaderno’s picture

Status: Active » Fixed

Let us mark it like fixed, in that case.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

mitchell’s picture

Component: Code » Rules Core

Updated component.