HostGator Web Hosting Help

Broken Plugin or Theme

Problem:

My site has a broken theme or plugin.

Solution:

Broken themes and plugins can cause havoc to any website. Before attempting any change please back up your data and databases.

Click Here for instructions to back up databases with Phpmyadmin.
Click Here for instructions via the Backup icon in cPanel.
To back up your data, just ftp the directory you are making changes in down to your computer.

Most scripts like WordPress, Drupal, Joomla can detect if a theme or plugin is missing. Occasionally a broken theme or plugin will disable the site so badly that it is impossible to login to fix the problem from the dashboard. If this is the problem then there are 2 ways to repair the site.

  • Rename the folder that contains the plugin or theme.
  • Edit the database.
The easiest way is to rename the offending folder.
If it is a problem with a theme, navigate to the correct directory. For WordPress it is /wp-content/themes/ simply rename the problem directory and re test the installation.

If the problem is with a plugin, navigate to the correct directory for the plugin and rename the problem folder. For WordPress it is /wp-content/plugins/

When renaming a directory does not solve the problem open phpMyAdmin and select the correct database, if you're not sure check the config file.
Using WordPress as our example, the file would be named wp-config.php file.
Once phpMyAdmin is open with the correct database find the correct table, in this case it would be wp_options, choose browse, then edit the 'template' and the 'stylesheet' tables, specifically lines 45 and 46. Change the name to "twentyten" which is the default theme and click go. This will allow you to log into the back end and continue building your site.

Note: Make sure after you have fixed the problems you delete un-needed files.

If neither of these solutions fixed the issue then turn your search towards the scripts forums.



Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

Install Themes These steps will help you install and select a WordPress theme for your blog. Inside the WordPress Dashboard, select the Add New Themes link in the Appearance Menu. You can search for
Getting Started Article 810,503 views tags: install link theme themes wordpress

The first step in the process requires a WordPress theme, preferably one that includes a one-click demo import. Any of the HostGator Certified Themes on HostGator should come with this feature.
Knowledgebase Article 85,066 views tags: MOJO Marketplace demo install press setup theme word wordpress

This article explains how to deactivate, change or delete themes and plugins on a WordPress site without the dashboard.
Knowledgebase Article 275,582 views tags: access dashboard deactivate disable plugin plugins theme themes wordpress

Related Help Content

This guide will walk you through getting your WordPress theme set up so that you can quickly get to the fun part - customizing your site!
Knowledgebase Article 82,950 views tags: demo guide setup theme wordpress

Install Plugins These steps will help you install and select a WordPress plugin for your blog. Inside the WordPress Dashboard, select the Add New link from the Plugins menu. You can search for a plug
Getting Started Article 340,626 views tags: blog install link plugin wordpress

When I try to log into my OSCommerce shopping cart using https://secure.HostGator.sg/~username url, my shopping cart isn't the same. It is as though I have 2 carts, one for HTTP (unsecure) an
Knowledgebase Article 189,396 views tags: commerce cookie oscommerce ssl

How do I make a sub directory (or sub folder) act as the public_html for your main domain?
Knowledgebase Article 1,083,883 views tags: Drupal domain htaccess joomla wordpress

When you purchase a theme subscription you get access to Seller Support, the Theme Seller’s support forum. From there you can contact the theme developer for help with general theme-related issues.
Knowledgebase Article 72,520 views tags: author seller support themes wordpress

There are multiple different ways you can install a theme you have purchased for your WordPress site. This article will explain our two recommended methods for installation.
Knowledgebase Article 100,421 views tags: auto automatic certified download install manual premium themes update upload wordpress

On October 24, a Facebook API change will cause unauthenticated Facebook and Instagram links across the web to break. This article explains how to fix broken links and continue to use oEmbed.
Knowledgebase Article 68,112 views tags: api broken embed facebook instagram link oembed url wordpress

A list of locations where you can find support for drupal outside of HostGator
Knowledgebase Article 113,779 views tags: Drupal