PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Site's entire backend disappears when I activate the plugin...

  1. So I uploaded the plugin to the server then went to the plugins section of the wordpress backend and it shows the plugin as inactive. I click activate and then it refreshes the page to a blank page. When I try to go to my sites backend at all (wp-admin) I get the same blank page.
    I can fix this by deleting the plugin manually through ftp and then the wp-admin loads fine (and says the gravity forms plugin was automatically deactivated since it no longer exists).
    I basically cannot use the plugin at all.

    I installed it on another wordpress blog just fine, it's just TheUnlockr.com that it wont install on. I'm assuming that means it isn't actually the plugins fault but figured you guys might be able to help me figure out how to solve it.

    Posted 14 years ago on Friday July 30, 2010 | Permalink
  2. What you will need to do is upload the plugin, deactivate ALL your other plugins and then activate only Gravity Forms and see what happens.

    If it activates fine, then activate each of your other plugins one by one.

    It could be a conflict caused by another plugin or sometimes WordPress just doesn't like the order in which plugins are activated and it may just work by activating Gravity Forms first and then your other plugins.

    Posted 14 years ago on Friday July 30, 2010 | Permalink
  3. Thanks Carl, but the issue with that is that I use all the plugins I have and deactivating them would mess up the site. Then what happens if after deactivating them when I reactivate them they all cause the issue now (I tried to install a different plugin and it messed up the backend as well so I know it's not gravity actually causing the issue). Then I wouldn't be able to activate any of them... we have a lot of readers on the site and wouldn't want to mess it up and risk losing them, ya know?

    Is there any way to check the error in a log and then use that to determine what to fix through myPHP, FTP, etc so I can maybe fix this issue without having to effect the actual site in the meantime.

    Any help would be greatly appreciated. I've Googled the crap out of this issue and can't find a solution anywhere...

    Posted 14 years ago on Friday July 30, 2010 | Permalink
  4. The only way to determine which plugin is causing the issue is to deactivate them all. It literally takes a couple minutes to do. Deactivate all plugins, activate just Gravity Forms and then activate each plugin one by one.

    Like I said, sometimes it ends up there isn't a plugin causing a problem and WordPress just didn't like the order in which the plugins were activated. It can be quirky like that.

    If the issue is another plugin causing some sort of conflict, you would have to deactivate it anyway. Only way to do plugin conflict resolution is to deactivate them and activate them one by one.

    Posted 14 years ago on Friday July 30, 2010 | Permalink
  5. Ok, I'm trying it now. Will report back shortly. Thanks!

    Posted 14 years ago on Friday July 30, 2010 | Permalink
  6. I understand that this is maybe the BEST way to find a plugin conflict, but it's not the only way, or the easiest way, or even practical for a live site.

    With access to Apache or PHP error logs, you can determine what error is being thrown and then figure out whose fault it is (i.e. which plugin.) I cringe whenever I hear "deactivate all the plugins and revert to the stock theme." It's not practical for 99% of people out there working with live sites; small sites, or even larger sites, who don't have the benefit of a testing environment. I understand it's probably not the fault of Gravity Forms and that it is beyond the scope of support for your plugin, but it is impractical in a lot of cases to "deactivate all the plugins and activate them one by one" when you're working with a live site.

    So, how about some other suggestions for troubleshooting that don't require completely taking a site offline? Logging the PHP errors, displaying errors to the screen, just google it, the Codex, etc.

    I love Gravity Forms and understand this is the easiest way for you to track down conflicts with other plugins, but it's not practical for many people with live sites.

    Posted 14 years ago on Friday July 30, 2010 | Permalink
  7. @illinoisharley Unfortunately for 99% of our users it's the quickest and easiest way to do it. Most of our users don't know where to start when it comes to looking at error logs, etc.

    Just like it may not seem practical to deactivate plugins (or themes) on a live site it's not practical to expect the majority of our users to be savvy enough to dig much deeper than that.

    Typically it takes 5-10 minutes or so to deactivate plugins and do a complete plugin conflict resolution test where it would take far longer to scour log files, etc. and Unfortunately WordPress doesn't display friendly errors in this situation. It shows the white screen of death.

    Posted 14 years ago on Friday July 30, 2010 | Permalink
  8. Ok, so I didn't deactivate all of them (just the ones that I figured wouldn't make a huge difference to the end users (like fblikebutton plugin, things in the backend that only I see, etc.)
    And after doing that and reactivating them one by one (after activating Gravity Forms) that plugin that gave a blank page was the Google Analytics Dashboard plugin (this just displays my Google Analytics info in the Right Now Section of the backend).
    So I deleted that plugin and everything's working now.

    I guess I got lucky that it is a plugin that I can live without, but I agree with illinoisharley in that there has to be another way to test what the issue is and figure out what the actual conflict is instead of finding what plugins are conflicting and have to choose between which of the two you want to keep, you know?
    I guess this is more of a topic to discuss in a Wordpress forum etc. but if you have any insight on to how to check for the errors etc would be appreciated by a lot of people, I'm sure.

    Posted 14 years ago on Friday July 30, 2010 | Permalink
  9. @TheUnlockr You would have to have access to your hosts error logs and then you would have to look at them and see what errors were fired at the time you activated the plugin and see what caused the error. Then you would have to try and determine why the error occurred.

    Unfortunately WordPress doesn't have good error handling, especially after the fact. There are plugins for debugging but if you can't access the dashboard you can't install the plugin so it doesn't help after the fact.

    The reason why we suggest deactivating/activating plugins is explained above. It's the quickest and easiest way no matter how impractical it may seem with a live site. Rather than spending what could be hours examining log files, searching Google, posting on the WordPress support forums, etc. you can spend 5-10 minutes and pinpoint which plugin causes the issue to occur.

    Depending on how many plugins you have running this issue can also be triggered by a lack of memory. Although usually you get a timeout error when this happens.

    Posted 14 years ago on Friday July 30, 2010 | Permalink
  10. @TheUnlockr - it *is* a topic for another forum, for sure. Unfortunately, it's not even really a topic for the WordPress.org forums. The advice there is frequently to disable all plugins as well. While that normally works to isolate the problem, I still think it's impractical for many sites, and doesn't actually solve the problem with the plugin (it just tells you which plugin is causing a problem.)

    Depending on the level of hosting you have, you may already have access to Apache or PHP error logs. The error code will be 500 and it will be logged somewhere. If you don't have access to those logs, then you need to set up PHP error logging. If you search for "PHP error logging .htaccess" you will find many ways to enable php error logging. Different methods work on different hosting environments.

    Here's one:
    http://perishablepress.com/press/2008/01/14/advanced-php-error-handling-via-htaccess/

    If your host does not allow php ini directives in .htaccess (and adding them will result in a white screen as well!) then you can enable logging of errors on your own by including a logging script. Then check the errors out in your own log. A google search for "custom error logging php" brings this as the first result (and I use something similar to this, so it may work):

    http://www.w3schools.com/php/php_error.asp

    It is certainly more complicated than one plugin's support is responsible for, and possibly beyond the ability of many WordPress users, but I'm with you in that I cannot disable every plugin on my site to isolate a problem. That would probably be the last thing I do. For me, I would rather take more time to isolate the problem by examining the actual error (from the logs) than take the site down to determine the conflict. In your case, you were lucky that it is a plugin you can live without. But if it were not, you'd still need to find the logs and the error that this plugin was causing.

    Posted 14 years ago on Friday July 30, 2010 | Permalink
  11. iconrad
    Member

    We just had the same problem and solved it by adding this to wp-config.php

    define('WP_MEMORY_LIMIT', '64M');

    It was a site with a lot of plugins, deactivated a few but couldn't really go any further because they were required to run the site (not our site). I'd say it had too many plugins that could have been done without if building from scratch, but unfortunately that's how it was when we got it :) Anyway hope that helps anyone, talk about frustrating!

    Posted 14 years ago on Wednesday September 15, 2010 | Permalink
  12. ty111
    Member

    I am having the same problem. After instaling update I was unable to access WP admin dashboard.
    How can I deactivate plugins if I can get to admin?

    Thanks,
    Tracy

    Posted 14 years ago on Saturday November 6, 2010 | Permalink
  13. Tracy,
    Unfortunatelly, I think your only alternative is to delete or rename some plugins via FTP.

    Posted 14 years ago on Monday November 8, 2010 | Permalink
  14. ty111
    Member

    Thanks, Alex. I got my web host to help me out by reading PHP error logs. It was a timeout, so they increased the memory. Everything back to normal.

    Not a plugin problem fortunately :)

    Thanks for your reply.
    Tracy

    Posted 14 years ago on Monday November 8, 2010 | Permalink