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 #

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

  2. bamajr
    Member
    Posted 1 year ago #

    @Josh Lyford

    What about sendpress_db_version, also in the wp_options table?

  3. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    Wouldn't hurt to remove that as well.

  4. bamajr
    Member
    Posted 1 year ago #

    @Josh Lyford

    Have removed:

    • sendpress_options
    • sendpress_db_version

    from wp_options table.

    Now, I'll re-install the plugin!

  5. bamajr
    Member
    Posted 1 year ago #

    @Josh Lyford

    Removing sendpress_options and sendpress_db_version, from the wp_options table, does not fix the problem! Same issue occurs.

  6. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for trying it out. Now I'm really not sure what is causing the issue.

    Did the reinstall remake all the tables? or did it fail before that finished? If all the tables are back as they should be. Then it may be a code error just not sure where.

    Best,
    Josh

  7. bamajr
    Member
    Posted 1 year ago #

    @Josh Lyford

    Yes, all the SendPress tables were re-created.

    sendpress_options and sendpress_db_version were also added back to the wp_options table.

    Just to review...

    The plugin installs fine. The issue comes as soon as a person tries to re-activate the plugin. Incidentally, "reactivating plugin" was when this issue started, from the SendPress upgrade, I applied, two upgrades back.

  8. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    I am going to look at what is going on in our activation code. I'll send along an update as soon as I have one.

    Thanks,
    Josh

  9. bamajr
    Member
    Posted 1 year ago #

    @Josh Lyford,

    Thanks!

  10. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    Hi bamajr,

    The activation code has been updated with 0.8.6. Do you mind giving our plugin another go when you have some time?

    Thanks,
    Josh

  11. bamajr
    Member
    Posted 1 year ago #

    @Josh Lyford,

    I finally got around to trying the new version out and it didn't work.

    I've manually cleared out all the SendPress entries in the database and still can't put my finger on what is going on.

    Today, after trying this out, for you, I got sick of not knowing where the issue lies), so I set up a new WordPress installation and did the export/import, of both WordPress and WordPress SEO.

    Then I installed all the same plugins, ending with SendPress. SendPress installs and activates without a problem.

    I don't know what to say, as to where to look, but I was sick of wasting time on it, instead of using it. I wouldn't necessarily say the issue was resolved, but it really doesn't matter anymore... at least not at this time.

  12. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Bamajr,

    Thanks for all your help on testing and dealing with this issue.

    Josh

  13. bamajr
    Member
    Posted 1 year ago #

    @Josh Lyford,

    Bad news man...

    So After going through all of the above, it seems SendPress is causing similar/same issues again.

    I'm going to back up a little and try to explain the circumstances, because now I'm getting the same/similar problem, on two production websites and one test website. Still, I cannot find the issue, even going back through this thread, from the beginning.

    Let me catch you up...

    In my last post (above) I said "I manually cleared out all the SendPress entries in the database." I also said "I set up a new WordPress installation and did the export/import, of both WordPress and WordPress SEO." I told you that when I installed all the same plugins, SendPress installs and activates without a problem.

    Ok...

    At the point when I said I set up a new WordPress installation, I switched from a small hosting company, to GoDaddy's Linux Hosting. So, my new WordPress installation is running on GoDaddy's system, now. Shortly after all this happened, I moved a client's website over to the same Linux Hosting system, from GoDaddy.

    Both websites are using the Genesis Framework now, when they weren't before, but both websites are running the same plugin set which I was using, all through the history of this issue.

    When I upgraded both of these websites to WordPress 3.5 both websites (and a test/non-production website), immediately started having major performance issues and I started getting a familiar "500 Internal Server Error" (See: http://wordpress.org/support/topic/slow-website-after-wp-35-upgrade for my initial post about WordPress 3.5). This time, though the errors were occurring in the WordPress Admin and not the public facing pages.

    Remembering this error, from this thread, I deactivated SendPress on all three websites, and immediately the "500 Internal Server Error" went away. Then, when I uninstalled JetPack, the performance of all three websites was back to normal.

    I know it is really hard to sandbox a plugin, when there are so many other combinations of plugins, people can be using. However, somewhere, within the SendPress code, there has to be something which isn't working quite right.

    I might suggest starting with http://sucuri.net and obtaining the "Sucuri Safe Plugin" certification. My guess is that they will find a few minor things, similar to what happened to the WordPress SEO plugin. However, they could also find issues where SendPress code could be interfering with or interfered by other plugins.

    Plain and simple... I'd love to use your plugin and if you read my rating, you know I'm an advocate of what you are trying to accomplish with SendPress. I just don't understand why an uncomplicated installation, with a basic plugin set, is causing such problems.

    P.S. Sorry this follow-up post is so long.

  14. carlytx
    Member
    Posted 1 year ago #

    I don't know if this is related but about 2 weeks ago we had problems with our site where some pages(not posts) were lost. We manually recreated those pages and the site worked but had the 500 errors appear periodically after this issue.

    When we checked the db using phpmyadmin we found that several tables indicated sizable overhead.

    We ran the repair option on these tables and have not seen the error since that time.

  15. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    HI bamajr,

    Thanks for the great review. Sorry to here this has start to happen again. I will contact sucuri to see what it takes to get our plugin scanned.

    I would like to get this solved and figure out what is causing the conflict. Would it be possible for you to set me up on your server with a site for testing? With the setup that causes the problem. You can email me here josh at sendpress.com and maybe we can work something out.

    If a test account wont work then if you can get me the details on your hosting plan and server setup i will get an account with godaddy and build a duplicate to what you have so i can get to the bottom of this issue.

    This is something that should not happen and i dont like our plugin causing so much trouble. Thanks for your help with this.

    Best,
    Josh

  16. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    Hi carlytx,

    Do you know if it was the sendpress tables that had the problem?

    Thanks,
    Josh

  17. carlytx
    Member
    Posted 1 year ago #

    sorry I don't know. I don't recall all the tables that had overhead but wp-options was one of them. We didn't suspect that it was sendpress but reading this thread I thought there may have been some issue that messed up the tables.

  18. bamajr
    Member
    Posted 1 year ago #

    @Josh Lyford,

    I'm a little hesitant to open my website up for you to test in, but I know that is probably the best way for you to see what is going on. Let me think about that a little.

    In the mean time, here is the error screen I get when I try to uninstall SendPress. Let me restate this for clarity. SendPress deactivates correctly and the problem goes away, but when I try to uninstall SendPress, I get the following error(s): https://bamajr.com/wp-content/uploads/2012/12/sendpress-uninstall-php.png

  19. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    Hi bamajr,

    No worries on the access i will just get an account at godaddy and setup a test site. Are you using a VPS plan or just a regular hosting plan?

    I know what the uninstall error is and will add that fix to an update i am releasing later today.

    Thanks,
    Josh

  20. bamajr
    Member
    Posted 1 year ago #

    @Josh Lyford,

    If you want the exact hosting environment I'm using, you can click this link -> here, and choose the "ULTIMATE" option. That is the exact service I signed up for and the service my client (the other production website having these issues) signed up for.

  21. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    Bamajr,

    Thanks for the info I will get this setup today so I can start testing our plugin. I'll keep you posted on how it goes.

    Josh

  22. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Bamajr,

    Just to confirm you were using 0.8.8 correct? I have Genesis Framework so i am adding that and jetpack.

    Thanks,
    Josh

  23. bamajr
    Member
    Posted 1 year ago #

    @Josh Lyford,

    Yes, all three websites were running SendPress 0.8.8 (latest). This time, the issue started after an upgrade from WordPress 3.4.2 to 3.5 (latest). Last time, I think this all started when upgraded SendPress from one version to the next.

    The Plugin list is a little longer than before, but mostly due to the add-ons to Genesis and Gravity Forms. To be clear, I test all plugins, in a test environment, set up as a duplicate version of http://bamajr.com before I install them on the production version, of the Bamajr.com website. When looking for compatibility issues, sometimes it is hard to know what to look for. Again, though, I never noticed any issues, prior to updated to WordPress 3.5, this time or prior to updated SendPress, the previous incident.

    https://bamajr.com/wp-content/uploads/2012/12/sendpress-installed-plugins.png

    This link shows all plugins, I'm using, except JetPack. I was able to successfully uninstall it, completely.

  24. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    @bamajr

    Thanks for the updated list. I have a 3.5 up and running on godaddy with all the same plugins and so far no errors. I am going to install 3.4.2 next and try the upgrade to see if i can cause the problem to show up.

    Did you happen to get anything in the error logs? or did the site just die without logging anything.

    Thanks again for all you help. I contacted sucuri and i am waiting to here back from them.

    Josh

  25. bamajr
    Member
    Posted 1 year ago #

    @Josh Lyford,

    I did not check the error logs this time around. I'm not exactly sure how to do that yet, on this new GoDaddy Service. The service I was using, the first time all this happened, was a dedicated, private server. I set it up how I wanted it to work. The biggest bonus on all that was I knew where everything was. When I switched to GoDaddy, the price went down, but I haven't quite figured out the ins and outs of their service yet.

    Also, I wasn't holding my breath that the error would just show up, especially with a new install. Though, with a little time and some use, it just may.

    If you get to a point where you've exhausted all the ideas you can come up with, to replicate the issue, let me know.

    As for Sucuri...

    If you can get them to certify your plugin, I believe you'll have a major player in the WordPress Plugin Community. Some people take the fact that all the "FREE" plugins are already secure, in their own right, but they'd be wrong!

  26. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    @bamajr

    I found an issue with one of our sql queries that would cause a mysql error. This would cause a 500 error on my test site. I am not sure if this is your problem but i fixed it in 0.8.8.1.

    If you get a chance to test it with your test site to see if you get the error again i would appreciate it.

    Thanks again for your help and support,
    Josh

  27. bamajr
    Member
    Posted 1 year ago #

    @Josh Lyford,

    Okay... I'm not sure of the exact sql query, but things seem to be working as expected now. Below, I noted what I did, on which website.

    1. http://bamajr.com
      I never uninstalled the plugin, for this website. As mentioned earlier in this thread, I was presented with an error page, every time I tried to uninstall SendPress. On this website, I had left SendPress installed, but deactivated. I ran the update to 0.8.8.1 and reactivated the plugin. When I tested for the issues described above, I am happy to report, the 500 Internal Server Error was no longer occurring.

      I also went through the process of deactivating the SendPress and trying to uninstall it again. This time, the uninstall went through without a hitch. I re-installed SendPress and, again, and activated it, at the end of the installation process. I tested for the issues, reported above. Everything seems to be running perfectly.

    2. http://alabamacoolingandheating.com
      I had uninstalled SendPress from this website. The uninstall, for some reason, didn't present me with the same error, on this website as it did for http://bamajr.com

      I re-installed SendPress 0.8.8.1 from the WordPress.org repository and activated it, at the end of the installation process. Again, I tested for the issues, reported above and everything seems to be working correctly now.

    Conclusion: what ever SQL Query you found, must have been causing these issues, as I could easily duplicate the described problems, prior to the update to v. 0.8.8.1

    CUDOS to you and/or your development team! ;-)

    On a side note...

    Were you ever able to locate or identify the "sizable overhead" issue in the SendPress Tables, as described, above, by @carlytx ?

    P.S. Josh, look for an email from me today... You'll recognize the "Bamajr" in my email address ;-)

  28. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    @bamajr

    Glad to here everything is working as it should. I got your email but haven't had time to get back to you. Should be able to soon.

    As for sizable overhead i havent yet seen anything but i am keeping an eye on our test installs.

    Best,
    Josh

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.