WordPress.org

Ready to get started?Download WordPress

Forums

SendPress Newsletters
[Plugin: SendPress] 500 Internal Server Error (58 posts)

  1. bamajr
    Member
    Posted 1 year ago #

    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/

  2. bamajr
    Member
    Posted 1 year ago #

    This error started yesterday, late afternoon/evening, and it occurred every time I tried to log in or access any part of the WordPress Administration Area.

    You'll notice the error I posted, in this message, shows today's date. My research continued today, as I tried to figure out which plugin was causing the issue. However, with the exception of today's date/time and the number following php5.fcgi(#####), the errors are identical, for each log in attempt and for each attempt to access a WordPress Admin Page directly.

    The weird thing is, I didn't make any changes to the WordPress installation yesterday. I did not add, remove or modify any plugins, themes, widgets, pages or posts. I simply logged in to review page-view stats, moderate a single comment (identified as spam), and to delete a user, who signed up from a known spamming IP address.

    Then, when I tried to log in again, yesterday, late afternoon/evening, I started getting this issue.

    When the issue first started, I had the following plugins installed, including SendPress:

    500-Internal-Server-Error-WordPress-Installed-Plugins-01.jpeg

    All the listed plugins were activated except the three QR Code Plugins. They were installed, but not active.

    Knowing this type of issue is most likely from a Plugin or Theme, I manually removed all plugins, via FTP. I first copied each plugin over to a directory on my computer. Then I deleted the plugins from the ~/public_html/wp-content/plugins directory, on the server.

    Then I started re-adding each plugin (via FTP), by copying them back to the server, from my computer. I added one plugin at a time (in alphabetical order), logged into the WordPress admin area, activated the plugin, logged out, browsed a couple pages on the website, logged in again and logged out again. I followed this process, until I came to the SendPress Plugin - and the issue started again, immediately upon activating the SendPress Plugin.

    This time, when the issue started, I only had the following plugins installed, plus SendPress:

    500-Internal-Server-Error-WordPress-Installed-Plugins-02.jpeg

    All the listed plugins were activated except the single QR Code Plugin. It was installed, but not active.

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

  3. bamajr
    Member
    Posted 1 year ago #

    Sorry my description, of the problem, is so long. I'm just trying to be thorough, so the issue can be resolved.

    I hope I've provided enough details, to resolve this problem. Obviously, I can't/wont use this plugin, until the issue has been identified and fixed.

  4. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    Hi bamajr,

    Could you tell me what version of PHP you are running. Looking at what you have for an error I have no idea what would cause it but I will try and replicate it on our test server.

    Josh

  5. bamajr
    Member
    Posted 1 year ago #

    Hello Josh...

    Just a few moments ago, I installed the WordPress phpinfo() plugin, found at:

    http://wordpress.org/extend/plugins/wordpress-php-info/

    I had a script running by itself, but I wanted something which was immediately available within the WordPress Administration Area.

    PHP Version: 5.3.3-7+squeeze13

    I will be happy to provide you with any additional info you need, to help resolve the problem.

  6. bamajr
    Member
    Posted 1 year ago #

    Josh, I'm pretty sure I identified all the information in my posts above, but I also outlined the problem on my blog, at: http://bamajr.com/2012/08/11/500-internal-server-error/

    I have a lot more general information in the blog post, but I don't believe I posted anything there, I didn't post, for you, above...

    ...but it doesn't hurt to skim the article to see.

  7. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Bamajr,

    I have not been able to recreate your problem yet on our test servers but will keep looking into the issue. We just released a new version with a lot of bug fixes and updates. Would you mind giving SendPress another go? if you would prefer not to try it again on your site i can totally understand that. Thanks again for all the info you provided.

    Best,
    Josh

  8. bamajr
    Member
    Posted 1 year ago #

    I'd be happy to try it again. That's one of the things I do a lot of... trying Plugins and Plugin combinations. I'll document the process for you, too, including a snap-shot of my installed/activated plugins.

  9. bamajr
    Member
    Posted 1 year ago #

    Ok... I'm starting with the following plugins, installed/activated (some are installed but not activated):

    500-Internal-Server-Error-WordPress-Installed-Plugins-03.jpeg

    This isn't much different than the information I've already outlined for you, above.

  10. bamajr
    Member
    Posted 1 year ago #

    After taking the screenshot (above), I went to:

    Plugins > Add New

    In the "Search" area, I typed in "SendPress" and clicked the "Search Plugins" button.

    I clicked the "Install Now" link and confirmed the installation, but did not activate it, after the installation.

    The screenshot below, is of the plugins, installed/activated, after SendPress was installed.

    500-Internal-Server-Error-WordPress-Installed-Plugins-04.jpeg

    No issues to this point! ;-)

  11. bamajr
    Member
    Posted 1 year ago #

    Upon clicking the "Activate" link, in the Plugins Area, I'm immediately presented with the following screen:

    500-Internal-Server-Error-WordPress-Installed-Plugins-05.jpeg

    When I view the source of this page, there is nothing there.

    When I navigate to http://bamajr/wp-admin/ there is nothing there either, as is depicted in the following screen:

    500-Internal-Server-Error-WordPress-Installed-Plugins-06.jpeg

    The images are showing use of Firefox, but I also tested in Google Chrome, with the same results.

    One other point of interest (maybe) is that after the SendPress plugin is installed, the front end of my website continues to work, but the "Admin Bar" has some weird display issues. Those "Admin Bar" issues go away as soon as SendPress is removed, as well.

  12. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Bamajr,

    Thanks for testing everything again. Looks like something is still not totally right. I will keep digging around in the plugin and see if i can figure out what is now causing the white screen of death for your wp-admin area.

    We should have another release soon. Would you be able to test a prerelease version after I make some more updates to the plugin?

    Thanks,
    Josh

  13. bamajr
    Member
    Posted 1 year ago #

    I'm willing to help, in just about any way I can.

    I'm curious about why this happened all of a sudden, as the SendPress plugin wasn't causing this problem, until the last two updates.

    I know it was working, because I filed the following support issue, upon testing the plugin, initially:

    http://wordpress.org/support/topic/plugin-sendpress-email-previewsendtracking-issue

    What changed between now and then?

    Does SendPress put information in the WordPress Database? Is it possible this "DATA" needs to be removed, before trying this latest SendPress release? Where is the SendPress Data stored?

  14. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Bamajr,

    SendPress should update the data as it needs but it is possible we missed something. The data is stored in the following tables:

    {table_prefix}sendpress_list_subscribers
    {table_prefix}sendpress_lists
    {table_prefix}sendpress_queue
    {table_prefix}sendpress_report_url
    {table_prefix}sendpress_subscribers
    {table_prefix}sendpress_subscribers_click
    {table_prefix}sendpress_subscribers_open
    {table_prefix}sendpress_subscribers_status

    It also uses 3 custom post types:

    sptemplates
    sp_newsletters
    sp_reports

    If it is a data issue then it is most likely something to do with the custom tables.

    Also in response to your other issue. The reports currently only show non-unique opens so we count every action taken. We are working on the ability to view the details and update the reports overview to show unique and non-unique opens/clicks.

    Josh

  15. bamajr
    Member
    Posted 1 year ago #

    @Josh Lyford

    Okay, I may be getting somewhere on this. When the issue first occurred, it was immediately after SendPress was updated (not this last time, but the time before). I had to manually remove the plugin, to restore functionality to my website's admin area.

    Even though, I re-installed and re-activated the plugin, in an effort to test the next two updates, I was never able to delete the plugin, from the plugins area. So, obviously, the tables were never removed.

    I found:

    {table_prefix}_sendpress_lists
    {table_prefix}_sendpress_list_subscribers
    {table_prefix}_sendpress_queue
    {table_prefix}_sendpress_report_url
    {table_prefix}_sendpress_subscribers
    {table_prefix}_sendpress_subscribers_click
    {table_prefix}_sendpress_subscribers_open
    {table_prefix}_sendpress_subscribers_status

    ...which had not be deleted, when the plugin was removed.

    Can these tables simply be dropped from the database?

    I haven't located the custom post types, in the database yet.

  16. itdoug
    Member
    Plugin Author

    Posted 1 year ago #

    Sendpress will add the tables back if removed but if you have any data you should back it up before deleting it. But if it never worked, it's safe to drop the tables.

  17. bamajr
    Member
    Posted 1 year ago #

    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.

  18. itdoug
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  19. bamajr
    Member
    Posted 1 year ago #

    @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.

  20. bamajr
    Member
    Posted 1 year ago #

    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.

  21. bamajr
    Member
    Posted 1 year ago #

    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!

  22. bamajr
    Member
    Posted 1 year ago #

    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.

  23. bamajr
    Member
    Posted 1 year ago #

    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.

  24. bamajr
    Member
    Posted 1 year ago #

    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.

  25. bamajr
    Member
    Posted 1 year ago #

    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?

  26. itdoug
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  27. bamajr
    Member
    Posted 1 year ago #

    @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.

  28. itdoug
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  29. bamajr
    Member
    Posted 1 year ago #

    Yes... I'm pretty sure this is the route I'm going to go!

  30. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.