Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter toophat

    (@toophat)

    I really need some help with this issue.

    I am using the latest version of groups plugin. 1.10.3

    I have narrowed down to Groups plugin which is causing “premature termination of script” issue.

    Has it been tested with php 5.6?

    Looking forward to earliest reply.

    Thanks.

    Thread Starter toophat

    (@toophat)

    I was also wondering if we need groups plugin when we are using WooCommerce Groups plugin?

    Thanks,
    -Toophat.

    Thread Starter toophat

    (@toophat)

    Details from error log :
    Premature end of script headers: plugins.php, referer: http://new.larryjordan.com/wp-admin/plugins.php?plugin_status=all&paged=1&s

    when I attempt to activate Groups with all other plugins de-activated.

    Woo commerce Groups plugin starts. but not groups plugin.

    Thanks.

    Plugin Author Kento

    (@proaktion)

    Hi,

    What you see is not specific to Groups but rather an issue with your server or setup. Maybe you need to increase your PHP memory or script execution time limits, I’d recommend you search Google for “Premature end of script headers” and check your setup.

    Cheers

    Thread Starter toophat

    (@toophat)

    Hi Kento, Thanks for your reply.

    I found the reason why Groups Plugin is not activating.
    – It is due to number of id’s it looks up via lib/auto/class-groups-registered.php
    In our case we have 3615 id’s , batching at 100 it gets to about 1400 id’s then the apache server creates a premature termination errno 11.

    stock setup on our server at DH dedicated php 5.6, WP 4.5.3, Groups plugin 1.10.3:
    It times out about 120 sec which happens to be I/O timeout on fcg i.
    PHP setting is really high for process run time , memory usage etc.

    Since our membership is growing, there is no way to manage this via time out parameters in fcgi or php.

    Is there a faster way to check users and group id. Since I am just de-activating and re-activating the Groups plugin.

    Please advise.

    Thanks.

    Thread Starter toophat

    (@toophat)

    Another issue related to this in our server which has 3600+ users and 7 types of groups.

    Add new post can time out and present Error 500.

    Apparently there is groups hook into core code post-new.php to allow option to assign group read access to the new post.

    I have increased FcgidIOTimeout from 120 to 240 seconds. Now the Add new post form opens.

    Just wanted to give you heads up on this.

    By the way FcgidIOTimeout of 240 is still not enough to allow activation of Groups plugin with 3600+ users. It gets to 2800 users by then Apache times out hence never gets a chance to finish activating the plugin.

    I was wondering what the side effects are if we do not perform class-groups-registered.php’s setup function on activation?

    Looking forward to your reply.

    Regards.

    Thread Starter toophat

    (@toophat)

    Just wanted to update on this issue.

    After checking for performance issues on our server. We discovered that db performance was the culprit. After we worked out the performance issue with the db, Groups Activation worked without changes to FcgiIOTimeout.

    Cheers.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Groups plugin unable to activate’ is closed to new replies.