Support » Plugin: SendPress Newsletters » [Plugin: SendPress] 500 Internal Server Error

  • At sometime yesterday (late afternoon or early evening) I started getting blank screens, when trying to log into my WordPress Website. Upon further investigation, I was getting a 500 Internal Server Error, though not every page was actually displaying the error message.

    I started investigating the issue. Since the text of the 500 Internal Server Error suggested “More information about this error may be available in the server error log” I started with the Apache2 error log.

    On my Debian GNU/Linux Server, this log is found at:

    user@server: /var/log/apache2/error.log

    I use logrotate so each log file is changed every day, if an error is generated. I looked at the log file and found the following error:

    [Fri Aug 10 09:26:54 2012] [error] mod_fcgid: process /home/bamajr.com/fcgi-bin/php5.fcgi(15293) exit(communication error), get unexpected sig$
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    PHP Warning:  Module 'mcrypt' already loaded in Unknown on line 0
    <br />
    <b>Deprecated</b>:  Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
    <br />
    <b>Deprecated</b>:  Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
    <br />
    <b>Deprecated</b>:  Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
    <br />
    <b>Deprecated</b>:  Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />

    http://wordpress.org/extend/plugins/sendpress/

Viewing 15 replies - 16 through 30 (of 57 total)
  • bamajr

    (@bamajr)

    Hmmm…

    I’m at a loss.

    I dropped those tables and tried to re-install SendPress. Same Problem! Back to the blank screen when trying to activate the plugin and making the entire admin area blank/inaccessible.

    Plugin Author itdoug

    (@itdoug)

    This is very strange indeed. It makes me think there is just something up with your server setup or your hosting environment. Do you host with Comcast or is it something you set up yourself? Based on your who is for your IP address it looks like Comcast business, which doesn’t necessarily mean hosting provider.

    Just wondering how you would feel about copying your database and files to a different server (ours) to see if it works with your data, but installed somewhere else. You’ve spent so much time trying to get this to work and I’d like to help you with a resolution. If we can’t re-create it, then we know it is something specific to your environment. And if we can re-create the issue, then we should be able to find out what the problem is.

    If you want to give that a shot, let me know and I will provide you with some contact information outside the forum.

    bamajr

    (@bamajr)

    @itdoug

    Lets put that option on the back burner for a bit… I’m not saying I’m completely apposed to it, but I think there are a few other things to try first.

    In the back of my mind, I can’t help but think about the fact that it did work, prior to the last two updates and didn’t stop working until I applied the update. That makes me think it has something to do with the last two updates. Of course, that could still be an issue with my server config, but specifically between my server config and something that happened in the last two updates.

    I’m going to try something I haven’t tried yet. I’m going to try a clean installation environment.

    bamajr

    (@bamajr)

    Here’s what I’ve done…

    I have a fresh install of WordPress on the same server as the http://bamajr.com/ website.

    I set all the general (standard) settings the same as the http://bamajr.com/ website, only this time, I started by deleting Akismet and Hello Dolly, to start with zero plugins.

    Then I installed the SendPress Plugin and guess what? It works! So, the server config is fine.

    Now, I’ll start adding plugins. I’ll first try adding one plugin at a time, and then removing it. Then I’ll add one plugin at a time without deleting the previous plugins.

    I’ll update this thread, as I go.

    bamajr

    (@bamajr)

    So far, I’ve tested the SendPress plugin, in the fresh install of WordPress. It is working great and I’ve set up the “Information” tab and I’m using the “Your Website” sending account.

    The test emails work just fine.

    Now, to add more plugins!

    bamajr

    (@bamajr)

    1. Admin Commenters Comments Count – Check
    2. Akismet – Check
    3. Better Plugin Compatibility Control – Check
    4. Chatroll Live Chat – Check
    5. Clicky – Check
    6. Esponce QR Code Generator – Check
    7. Exclude Pages from Navigation – Check
    8. Jetpack – Check
    9. Page Links To – Check
    10. PC Robots.txt – Check
    11. Polldaddy – Check
    12. Register IP Multisite – Check

    Now, because I documented it, in my second post (up top) I know, the SendPress Plugin was crashing my website, with only the installed plugins, I’ve just listed.

    So…

    SendPress, has passed this step

    Now, I’ll duplicate this same series of tests with the Responsive Theme, by ThemeID.

    bamajr

    (@bamajr)

    So, now I’ve installed the Responsive Theme and get these results:

    1. Admin Commenters Comments Count – Check
    2. Akismet – Check
    3. Better Plugin Compatibility Control – Check
    4. Chatroll Live Chat – Check
    5. Clicky – Check
    6. Esponce QR Code Generator – Check
    7. Exclude Pages from Navigation – Check
    8. Jetpack – Check
    9. Page Links To – Check
    10. PC Robots.txt – Check
    11. Polldaddy – Check
    12. Register IP Multisite – Check

    So…

    SendPress, has passed this step

    Next, I’ll duplicate this one more time, with the exact child theme, in use at http://bamajr.com/ which will be copied over via FTP.

    bamajr

    (@bamajr)

    With the child them installed on top of the Responsive Theme, I created an accurate configuration of menus and widgets, as used on http://bamajr.com

    I get these results:

    1. Admin Commenters Comments Count – Check
    2. Akismet – Check
    3. Better Plugin Compatibility Control – Check
    4. Chatroll Live Chat – Check
    5. Clicky – Check
    6. Esponce QR Code Generator – Check
    7. Exclude Pages from Navigation – Check
    8. Jetpack – Check
    9. Page Links To – Check
    10. PC Robots.txt – Check
    11. Polldaddy – Check
    12. Register IP Multisite – Check

    Again…

    SendPress, has passed this process.

    The last thing I can do, to try and duplicate the issue, from a clean environment is to install the plugins, in sequence, without uninstalling the previous plugin.

    I’ll do this with the exact child theme, in use at http://bamajr.com/ which is already copied over.

    bamajr

    (@bamajr)

    I’ve done all that I have mentioned above, and still cannot duplicate the issue. The problem now is, my test installation is running on the same server and with the same server config as http://bamajr.com/ and it is working fine.

    However, these tests have lead me to a couple more questions.

    Could this issue be due to htaccess file modifications?

    Could this issue be permissions related?

    Plugin Author itdoug

    (@itdoug)

    My guess is that if it works on a clean install on the same server that it must be a data issue. Could be something in your database got messed up or never got removed or isn’t being added properly.

    I doubt it has anything to do with .htaccess unless you have something really custom or strange in that file. If you have the basic WordPress .htaccess file I can’t imagine why there would be an issue. Permissions are also rarely an issue unless you are trying to delete files through WordPress. But usually even files that are owned by root will load just fine as long as it is just reading the files.

    Have you considered possibly exporting your site as XML and importing it into your clean install? That should just get your post and page data but not necessarily any other type of data that might be contained in a plug-in such as SendPress or another one.

    bamajr

    (@bamajr)

    @itdoug

    I’ve been considering several options to try and get my data into a new, clean install. However, something keeps nagging me…

    I test all plugins in a test environment, before I add them to my live website. I look for things like validation, page load errors, performance problems, php errors, Apache errors and MySQL errors. I may not go as far as some, to make sure a plugin is error free, before installing it to my live website, but I do have a process and it has been working for years.

    So, whether my process is working, or whether anyone believes I go through these processes for each plugin, doesn’t really matter to me.

    What does matter, is:

    • I wasn’t having issues with any other plugin when this issue started and I’m still not having issues with any other plugin.
    • I wasn’t having any issues with the front-end or admin area, of my website, until the last two SendPress updates and if SendPress is removed, my website’s functionality returns to normal.
    • In fact, I was using SendPress, until applying the last two updates. I wasn’t using it a lot, but it was working fine.

    So, I find myself, limiting the potential issues to:

    • Some sort of data corruption, which happened during the upgrade of the SendPress plugin.
    • Some sort of permissions issue.
    • Some sort of problem with the .htaccess file

    I’ve compared the permissions to a standard WordPress installation and can’t find any discrepancies there.

    I’ve compared the basic .htaccess file, from my new, clean WordPress install to the .htaccess file on http://bamajr.com/ and I can’t find any discrepancies there either.

    So, I find myself agreeing with you on there being a data issue. It’s just odd that it isn’t blatantly obvious what the issue is.

    I have one specific plugin, I’ve put a lot of work into, and I don’t particularly want to do all that work over. If there was a way to backup just the data, from that one plugin and then export only the relevant post, page, category, tag and user data from the WordPress install, itself, then I’d be ready to go. However, I haven’t found an easy solution, for that.

    The plugin I’m concerned with is WordPress SEO by Yoast. I have done a lot with this plugin and don’t want to loose it. I could care less about the rest of the plugins.

    Plugin Author itdoug

    (@itdoug)

    I totally understand not wanting to lose the SEO data. And I also really appreciate all the troubleshooting you have done so far. I would love to be able to point to something specifically that caused the problem. Josh may have some other ideas of how to narrow it down on your existing installation.

    However, regarding the SEO data, Yoast provides import/export options. You can move all your settings over to a new site. I can tell you from personal experience that it works just fine as long as you don’t have multisite. There is a known bug regarding the import/export on a multisite install. I ran into that 6 months or so ago. Not sure if it has been fixed.

    You can find the export settings by adding this to the end of your URL: /wp-admin/admin.php?page=wpseo_import

    If you are up for it give it a try. If that works you may be in good shape on the fresh install without losing your hard work.

    bamajr

    (@bamajr)

    Yes… I’m pretty sure this is the route I’m going to go!

    Plugin Author Josh Lyford

    (@joshl)

    HI Bamajr,

    After rereading all of this and some time away for vacation i think i may have an idea what is causing your problem.

    In an upgrade from 0.8.3 we modified the {table_prefix}sendpress_lists table to add a public flag. If you remove the sendpress_options key from the wp_options table this should stop the 500 error.

    I think it is when SendPress tries to alter the table that you are hitting this problem. If you remove the option and drop the tables SendPress will do a full new install and skip all the upgrade steps.

    Do you mind giving that a try?

    Thanks,
    Josh

    bamajr

    (@bamajr)

    @josh Lyford

    I’ll give it a look-see. I’ll see if I can locate and remove the sendpress_options key from the wp_options table. However, I’ve already dropped the SendPress tables.

Viewing 15 replies - 16 through 30 (of 57 total)
  • The topic ‘[Plugin: SendPress] 500 Internal Server Error’ is closed to new replies.