WordPress.org

Ready to get started?Download WordPress

Forums

Screen blank after plugin upload (25 posts)

  1. Einstein3
    Member
    Posted 8 months ago #

    Hi: I purchased 2 plugins from code canyon - one for sidebar stuff and one for social networking. I downloaded the plugins to my computer to scan first; I unzipped them and then uploaded them via FTP. All went well -- or so I thought.

    Tried to login to edit site - blank, white page. Logged into CP at web host and read error report (many lines of this same message):

    home2/everyun6/public_html/wp-admin/error_log:
    [16-Oct-2013 21:46:56 UTC] PHP Warning: include(): Failed opening '/home2/everyun6/public_html/wp-content/plugins/../../../wp-includes/pluggable.php' for inclusion (include_path='.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in /home2/everyun6/public_html/wp-content/plugins/main.php on line 328

    There are more (and multiple of the same) error messages:

    [17-Oct-2013 01:33:56 UTC] PHP Warning: include_once(/home2/everyun6/public_html/wp-content/plugins/home2/everyun6/public_html/wp-content/plugins/services.php): failed to open stream: No such file or directory in /home2/everyun6/public_html/wp-content/plugins/add-to-any.php on line 90

    I have got to get into this site to edit - my future depends on the success of this and other e-commerce sites.

    Obviously, something went awry with the 2 plugins. Wanted to check here first. I deleted history, cache, everything -- even tried to log in from IE (my main is Google Chrome...).

    Any information and/or solutions is much appreciated. I've been moving along OK being new to WP and I'm a bit baffled as to why this happened. I was logged in OK prior to purchasing/scanning/uploading the 2 WP plugins via FTP-Bluehost. I copied the lengthy error reports from my CP in BH.

    Thanks very much! :)

  2. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    Try deleting those plugins from the plugins folder - using FTP or whatever file manager BH uses.

    BTW, your topic line was decapped - all caps is considered yelling and is against the forum guidelines.

  3. Einstein3
    Member
    Posted 8 months ago #

    First, I apologize for the capped letters - didn't realize...

    I have done everything I know how to resolve the white login screen (which in IE shows as an http 500 server error) to no avail. I referred to my support documentation, YouTube videos, etc.

    I first renamed the 2 new plugins and that didn't seem to help, so I totally removed the plugins that I purchased and attempted to install last night because I believe they did not download correctly. Everything is as it originally was in my host server files, in my local files and FTP prior to this incident -- to the best of my knowledge.

    I cleared history, cache, you name it. Tried just manually typing my web name in the Google Chrome browser - everythingequines.com/wp-admin. Tried it with wp-login.php -- still no luck. Just a blank, white screen with no error codes...

    Can anyone suggest some alternate steps to take. I desperately need to get into my WP dashboard.

    As an aside, I created a bookmark for my WP login page which I've not experienced any problems prior to this -- the WP logon/logo always pop up. Here is what comes up today:

    http://www.everythingequines.com/wp-login.php?loggedout=true

    Any thoughts? Thanks so much for your help! I'm learning but have got a wayyyyyyyyyyyyyyys to go... -:)

    [Moderator Note: Please ensure that you are embedding links correctly in your posts.]

  4. Einstein3
    Member
    Posted 8 months ago #

    Geez, I didn't realize my text was going to be linked. That said, click on it and you'll see what is shown....

    http://www.everythingequines.com/wp-login.php?loggedout=true

  5. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    Try renaming your plugins folder to plugins.HOLD and also renaming your active theme's folder -

    themes
        your active theme.HOLD

    If neither of those work, ask your hosting company how to look at the error logs on the server.

  6. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    I only see a white page at that link.

  7. Einstein3
    Member
    Posted 8 months ago #

    Thanks. And you are correct, there's only a white, blank page.

    I will rename plugins and active theme file.

    Should this be a temporary solution or is it OK to leave them renamed as you've indicated.

    Actually, part of what I cut and paste came from BH's server error logs last night (I logged in and read these in my CP error log), and I chatted online with a BH tech today and he could not offer any suggestions other than renaming the 2 plugin files, which I ultimately deleted. The error log is quite lengthy, so I just included a couple of messages as there were many repetitions of the same two I copied/pasted last night.

    Let you know how it goes and thanks so much for your help. :)

  8. Einstein3
    Member
    Posted 8 months ago #

    I renamed my plugin file with no problem.

    I'm using the Avada theme, which contains many files (including the child theme, of course), I don't see anything labeled "theme" or "active theme" in my theme files...

    I'll try with the plugin name change first.

  9. Einstein3
    Member
    Posted 8 months ago #

    I relabeled my Avada theme (main theme; not the child theme) to Avada.HOLD. I'm hoping this is correct. Thanks.

  10. Kibrael
    Member
    Posted 8 months ago #

    Hello Einstein 3.

    First try just renaming the "plugins" folder to "plugins1", this will deactivate all the plugins of the site. If you can access after this is done just activate each plugin 1 by 1 to know which plugin is making the site not to function properly. Rename the folder to "plugins" once you've isolated the faulty plugin.

    If this doesn’t work try renaming the "themes" folder to force wordpress to make run the predetermined theme twenty twelve.
    If this also doesn’t work, look at your “functions.php” file and make sure there aren't any spaces at the beginning or at the end of the file.

    What made it work for me was that due to the recent hacker attacks to wordpress sites the "wp-login.php" file erased all the permissions it had, so through FTP I gave the permissions it needed to run correctly. Here is a link to my solved problem: http://wordpress.org/support/topic/can%E2%80%99t-access-login-page-and-blank-page?replies=3#post-4774212

    Hope you solve your problems soon¡

  11. Einstein3
    Member
    Posted 8 months ago #

    Hi Kibrael. Thanks for your suggestions. I'll try it with just renaming the plugin files first, since I'm 99% sure it was one of the 2 (and now completely deleted) new plugins I purchased and tried to upload last night. Not much earlier before I bought these plugins, the site was working just fine.

    I'll read and bookmark the link as I understand there are any # of things that can go awry with these plugins, etc...

    Thanks again and let's hope renaming the plugin file does the trick! :)

  12. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    @Einstein3 - you need to rename all of your Avada themes so that WP will use a default theme.

  13. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    If the above does not work, try re-uploading all files & folders - except the wp-content folder and the wp-config.php & root .htaccess files - from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

  14. Einstein3
    Member
    Posted 8 months ago #

    Why do I need to have to default to 2012 or 2013? I don't understand. As I proceed further into this, it's getting more confusing.

    So, my main Avada I need to rename and the Avada "child theme"?

  15. Einstein3
    Member
    Posted 8 months ago #

    I have a file in my directory specifically for this WP website (everythingequines.com), and in that folder is the main AVADA theme, the child theme and more. I have renamed the main AVADA and CHILD Themes, as well as renaming the plug-in folder.

    Is my understanding of what you are instructing correct? I'd like to make sure before I upload again.

    If I have to delete and then reinstall WP 3.6.1, am I going to lose all of the work that I have spent hundreds of hours working on over the past weeks?

    The site is backed up via BH and I backed it up to an external drive last week.

    Thanks. I've learned a lot about WP and want to keep using it to build multiple e-commerce sites. As you can imagine, I'm about to pull my hair out.

  16. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    Temporarily switching to a default theme is standard troubleshooting - to rule out theme issues. If your Avada child theme is (was) the active theme, yes, you need to rename it.

    So you should have:

    wp-content
        plugins.HOLD
        themes
           Avada.HOLD
           Avada-child.HOLD
           twenty-something themes
  17. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    If you have a backup from before this happened, you could restore from that. Or manually reinstall WP - by re-uploading all files & folders - except the wp-content folder and the wp-config.php & root .htaccess files - from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    Your content is in the database and the wp-content folder (don't overwrite or delete that one).

  18. Einstein3
    Member
    Posted 8 months ago #

    Thanks - I know you're trying to help me. It's just that things were going so well -- until last night.

    The child theme is not active, so I will not rename it. In looking in FileZilla, I think this is a directory issue for the plugins.

    Here's what it will look like before I re-upload via FTP:

    wp-content
        plugins.HOLD
        themes
           Avada.HOLD
           Avada-child
           twenty-something themes

    Sound OK to you? Thanks. :)

  19. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    Was your site using the Avada child theme when it crashed? If so, you do need to rename that folder.

  20. Einstein3
    Member
    Posted 8 months ago #

    No. I've not used the child theme at all. So, I've just renamed the main Avada theme to Avada.HOLD. Thanks!

  21. Einstein3
    Member
    Posted 8 months ago #

    After hours of additional research, I think part of this was (for a reason I do not know at this point), a directory issue. This said, I've done enough today and will give it a fresh look in the a.m. It is 11:39pm here.

    Question - Just as a sanity check - Should ALL of the plug-ins be installed in the content/plugin folder for WP 3.6.1, OR should they be placed in the parent Avada theme plugin folder? (I would not think so and I don't believe this is what I've done in the past). This said, I want to make absolutely sure.

    If the directories appear to be correct in the a.m., I will give it one more try to upload the revised files (with the plugin file still renamed), then with the parent AVADA them renamed.

    Then, I will try to restore the backup from a couple of days ago.

    If neither of these work, do you think it would then be logical to simply fresh reinstall 3.6.1, following the normal installation instructions (i.e., renaming the config file) -- with the following in mind:

    "Or manually reinstall WP - by re-uploading all files & folders - except the wp-content folder and the wp-config.php & root .htaccess files - from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.
    Your content is in the database and the wp-content folder (don't overwrite or delete that one)."

    Thanks for your constructive input and suggestions.

  22. Einstein3
    Member
    Posted 8 months ago #

    PS - In reading above, if I have to start over and install a fresh version of 3.6.1, if I am understanding WPyogi correctly, I would NOT upload the wp-content, wp-config.php (already renamed from earlier installation), and the root.htaccess files (need to find out where they are.

    Please let me know if I am understanding correctly. Again, thanks so much for all's assistance. Thank G we have a forum to consult as solutions are not so easy or cut-and-dry, as we learn... :)

  23. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    I would NOT upload the wp-content, wp-config.php (already renamed from earlier installation), and the root.htaccess files (need to find out where they are.

    Correct. .wp-config and .htaccess are in the root of your site.

  24. Einstein3
    Member
    Posted 8 months ago #

    Hi WPyogi. Thanks so much for your continued assistance to help me work through this. Just so I do it correctly, BEFORE I upload a "fresh" version of 3.6.1 to my host server via my FileZilla, should I DELETE the three folders from the "new" version of WP (wp-content, wp-config.php and my root.htaccess folder/files) BEFORE I upload the freshened version of WP to my host.

    I understand exactly why I would not upload the content and the config files, and I'll find the htaccess folder/files.

    Just doing a sanity check to make sure. I'm learning so much, and with support as I am receiving here on the forum -- well, it's great and much appreciated. I want to learn as much as possible (and I am even if via "initiation by fire" in some respects) about WP because I know my additional WP sites will be much easier.

    Thanks again! :)

  25. Einstein3
    Member
    Posted 8 months ago #

    I found a "root" file in the fresh version of 3.6.1. It's a php file and contains the following. Can you tell me if this is the correct root file to delete. I did a search for root.htaccess, but only came up with this root file. I've deleted the other folders out of the new version and will substitute my existing content and config folder/files. Just not sure about this root access folder/file. Thanks.

    <?php
    
    class W3_Root {
        /**
         * Enabled Plugins that has been run
         * @var W3_Plugin[]
         */
        private $_loaded_plugins = array();
        /**
         * Enabled extensions that has been run
         * @var W3_Plugin[]
         */
        private $_loaded_extensions = array();
    
        /**
         * List of plugins and criterias to be met for them to run
         * @var array
         */
        private $_plugins = array();
    
        /**
         * @var null|W3_Config
         */
        private $_config = null;
    
        function __construct() {
            $this->_plugins = array(
                array('class_name' => 'W3_Plugin_TotalCache', 'enable_options' => null),
                array('class_name' => 'W3_Plugin_DbCache', 'enable_options' => 'dbcache.enabled'),
                array('class_name' => 'W3_Plugin_ObjectCache', 'enable_options' => 'objectcache.enabled'),
                array('class_name' => 'W3_Pro_Plugin_FragmentCache', 'enable_options' => 'fragmentcache.enabled'),
                array('class_name' => 'W3_Plugin_PgCache', 'enable_options' => 'pgcache.enabled'),
                array('class_name' => 'W3_Plugin_Cdn', 'enable_options' => 'cdn.enabled'),
                array('class_name' => 'W3_Plugin_CdnCache', 'enable_options' => array('cdn.enabled', 'cdncache.enabled')),
                array('class_name' => 'W3_Plugin_CloudFlare', 'enable_options' => 'cloudflare.enabled'),
                array('class_name' => 'W3_Plugin_BrowserCache', 'enable_options' => 'browsercache.enabled'),
                array('class_name' => 'W3_Plugin_Minify', 'enable_options' => 'minify.enabled'),
                array('class_name' => 'W3_Plugin_Varnish', 'enable_options' => 'varnish.enabled'),
                array('class_name' => 'W3_Plugin_NewRelic', 'enable_options' => 'newrelic.enabled')
            );
            if (is_admin()) {
                $this->_plugins[] = array('class_name' => 'W3_Plugin_CloudFlareAdmin', 'enable_options' => 'cloudflare.enabled');
                $this->_plugins[] = array('class_name' => 'W3_Plugin_TotalCacheAdmin', 'enable_options' => null);
                $this->_plugins[] = array('class_name' => 'W3_Plugin_PgCacheAdmin', 'enable_options' => 'pgcache.enabled');
                $this->_plugins[] = array('class_name' => 'W3_Plugin_MinifyAdmin', 'enable_options' => array('minify.enabled', 'minify.auto'));
                $this->_plugins[] = array('class_name' => 'W3_Plugin_NewRelicAdmin', 'enable_options' => null);
                $this->_plugins[] = array('class_name' => 'W3_Widget_Services', 'enable_options' => null);
                $this->_plugins[] = array('class_name' => 'W3_Widget_SpreadTheWord', 'enable_options' => null);
                $this->_plugins[] = array('class_name' => 'W3_Widget_News', 'enable_options' => null);
                $this->_plugins[] = array('class_name' => 'W3_Widget_Forum', 'enable_options' => null);
                $this->_plugins[] = array('class_name' => 'W3_Widget_MaxCDN', 'enable_options' => array(array('cdn.engine', '==', 'maxcdn'),'||', array('cdn.engine', '!=', 'netdna')));
                $this->_plugins[] = array('class_name' => 'W3_Widget_NetDNA', 'enable_options' => array(array('cdn.engine', '==', 'netdna')));
                $this->_plugins[] = array('class_name' => 'W3_Widget_NewRelic', 'enable_options' => null);
                $this->_plugins[] = array('class_name' => 'W3_Widget_PageSpeed', 'enable_options' => 'widget.pagespeed.enabled');
                $this->_plugins[] = array('class_name' => 'W3_AdminCompatibility', 'enable_options' => null);
                $this->_plugins[] = array('class_name' => 'W3_Licensing', 'enable_options' => null);
                $this->_plugins[] = array('class_name' => 'W3_GeneralActions', 'enable_options' => array('pgcache.enabled','||', 'varnish.enabled','||', array('cdn.enabled', 'cdncache.enabled')));
                $this->_plugins[] = array('class_name' => 'W3_Plugin_ExtensionsAdmin', 'enable_options' => null);
            }
    
            $this->_config = w3_instance('W3_Config');
            $this->_load_plugins();
    
            register_activation_hook(W3TC_FILE, array(
                &$this,
                'activate'
            ));
    
            register_deactivation_hook(W3TC_FILE, array(
                &$this,
                'deactivate'
            ));
        }
    
        /**
         * Run plugins
         */
        function run() {
            foreach ($this->_loaded_plugins as $plugin) {
                $plugin->run();
            }
            add_action('init', array($this, 'load_extensions'));
        }
    
        /**
         * Activation action hook
         */
        public function activate($network_wide) {
            $activation = w3_instance('W3_RootAdminActivation');
            $activation->activate($network_wide);
        }
    
        /**
         * Deactivation action hook
         */
        public function deactivate() {
            $activation = w3_instance('W3_RootAdminActivation');
            $activation->deactivate();
        }
    
        /**
         * Instantiate all plugins
         */
        private function _load_plugins() {
            foreach ($this->_plugins as $plugin) {
                $this->_load_plugin($plugin);
            }
        }
    
        /**
         * Instantiate plugin
         * @param $plugin_descriptor array('class_name' => '', 'enable_options' => '')
         */
        private function _load_plugin($plugin_descriptor) {
            $criteria = $plugin_descriptor['enable_options'];
    
            if ($this->_criteria_matched($criteria)) {
                $plugin = w3_instance($plugin_descriptor['class_name']);
                $this->_loaded_plugins[] = $plugin;
            }
        }
    
        private function _criteria_matched($criteria) {
            if (is_array($criteria)){
                $enabled = true;
                $compare = '&&';
                foreach ($criteria as $val) {
                    if (is_array($val)){
                        if ($val[1] == '!=') {
                            $enabled = $this->_compare_criteria_values($enabled, $this->_config->get_string($val[0]) != $val[2], $compare);
                        } elseif ($val[1] == '==') {
                            $enabled = $this->_compare_criteria_values($enabled, $this->_config->get_string($val[0]) == $val[2], $compare);
                        } else {
                            $enabled = $enabled || $this->_criteria_matched($val);
                        }
                    } elseif ($val != '||' && $val != '&&'  ) {
                        $enabled = $this->_compare_criteria_values($enabled, $this->_config->get_boolean($val), $compare);
                    } else
                        $compare = $val;
                }
            } else {
                $enabled = is_null($criteria) || $this->_config->get_boolean($criteria);
            }
            return $enabled;
        }
    
        private function _compare_criteria_values($val1, $val2, $compare) {
            if ($compare == '||') {
                return $val1 || $val2;
            }
            return $val1 && $val2;
        }
    
        /**
         * Loads extensions stored in config
         */
        function load_extensions() {
            $extensions = $this->_config->get_array('extensions.active');
            foreach($extensions as $extension => $path) {
                include W3TC_EXTENSION_DIR . '/' . trim($path, '/');
            }
        }
    }

    [Moderator Note: Please post code or markup between backticks or use the code button. Or better still - use a pastebin. Your posted code may now have been permanently damaged by the forum's parser.]

Reply

You must log in to post.

About this Topic