MailChimp timeout

I just purchased your full installation service and in testing the new setup I am getting the following error when creating a new blog.

Fatal error: Maximum execution time of 60 seconds exceeded in /home/mefeed/public_html/wp-content/mu-plugins/mailchimp.php on line 1725

I get this same error in the admin when clicking the MailChip.

  • Andrew
    • Champion of Loops

    It’s an issue with the particular host.

    @localwebresults: Try adding the following to the very top of your .htaccess file:

    AddHandler application/x-httpd-php5 .php

    Let me know if adding that line results in something else not working.

    Thanks,

    Andrew

  • localwebresults
    • New Recruit

    Thanks Andrew. That seems to have fixed the mail chimp timeout issue. It also fixed an issue with the akismet page loading as well. I am not seeing any other issues as a result of this change.

    You may want to update your base install files with pSek.

  • airfoil
    • Site Builder, Child of Zeus

    I’m having the exact issue described in this post – on a new WP.MU install at Psek. This happens when I attempt to add a user to the system.

    Fatal error: Maximum execution time of 60 seconds exceeded in /home/XXXX/public_html/wp-content/mu-plugins/mailchimp.php on line 1725

    The user account is created, but I get the error and there is no email sent.

    I tried adding the line Andrew specified to the .htaccess file and continued to get the same error and behavior.

    I then removed the MailChimp plugin from the mu-plugins directory – and made some progress. The account was created, the email sent, but the page returned was plain white and text (had no WP UI), with the following message:

    =====================

    Hello bwtest5, your account has been created!

    Username: bwtest5

    Password: xxxxx

    You can now update your details (and set a password) by Logging in to your account or go back to the homepage.

    Warning: Cannot modify header information – headers already sent by (output started at /home/xxxx/public_html/wp-content/mu-plugins/remove-email-verification.php:114) in /home/xxxx/public_html/wp-includes/pluggable.php on line 856

    =====================

    Any ideas on getting this fixed would be appreciated…

  • James Farmer
    • Founder & Chair (honest)

    I *think* that you need to add someting to your htaccess file related to fsockopen – lemme just find it)

    [few minutes later]

    Nope, sorry I think Barry / Andrew might have it though (but they are also on a w/end).

    Basically you need to disable fsockopen I think :slight_smile:

  • Barry
    • DEV MAN’s Mascot

    @airfoil – did you paste to the very top of the .htaccess file?

    Can you do the following:

    Create a new php file in the root of your mu installation (public_html) with the following in it (give it a random name):

    <?php
    phpinfo();
    ?>

    And then let us know the path to your file (URL). Note: if the PHP version at the top of that page doesn’t start with a 5 then the line in your htaccess isn’t working correctly.

  • airfoil
    • Site Builder, Child of Zeus

    @cafespain – I did paste the line to the very top of the .htaccess file.

    However, after reading your post, I’m noticing that no matter how I try, the change is somehow being rewritten when I upload the file to the server. I’ve tried making the change using my editor (DW CS3) as well simply making the change using a text editor and uploading the new file via -FTP-. No matter what, the added line doesn’t seem to "stick" once the new .htaccess file is uploaded.

    The PHP info is coming back as PHP Version 4.4.9, FWIW.

  • airfoil
    • Site Builder, Child of Zeus

    Thanks Andrew – did as you recommended, and was able to make the change to the .htaccess file.I’m now getting the PHP info to read PHP Version 5.2.6, and no timeout with MailChimp enabled.

    However, I’m still getting a plain screen with the new user info after creating an account with the following line at the end:

    Warning: Cannot modify header information – headers already sent by (output started at /home/xxxx/public_html/wp-content/mu-plugins/remove-email-verification.php:114) in /home/xxxx/public_html/wp-includes/pluggable.php on line 856

    The account is created in the system, and an email verification is successfully sent. Just the error in "pluggable.php"

  • webprof
    • Flash Drive

    {I’m a newbie and stepping in unknown territory……..}

    Hello, I"m also having the same problem with the time out error

    Fatal error: Maximum execution time of 60 seconds exceeded in /home/mefeed/public_html/wp-content/mu-plugins/mailchimp.php on line 1725

    I’m trying to make the necessary changes to the .htaccess file as Andrew indicated. I’m using the WS_FTP software to upload/download files. I was able to download the file with no problems but I get a permission error when I attempt to upload the updated file. "553 Can’t open that file: Permission Denied".

    So I attempted to login to the cPanel of our Psek hosting account, but I don’t find the file. What is it that I’m doing wrong or missing?

  • webprof
    • Flash Drive

    Hi Andrew,

    Thank you for replying. I used FileZilla as indicated. When I drag the file to its location, I get a pop window asking me what to do. I select the Action "Overwrite", but I am still getting the same error message. "553 Can’t open that file: Permission Denied" I even created a completely new .htaccess file just in case it had to do something with the original file I downloaded.

    Also, just to be on the safe side which of the two files is the one that I was suppose to edit?

    .htaccess

    htaccess.dist

    Again, thank you for your help!