WP Hive » Troubleshooting and How-To

Accidentally disabled wp-hive

(5 posts)
  • Started 2 years ago by pavy
  • Latest reply from bryon
  • 1 Members Subscribed To Topic

  1. pavy
    Member

    Hi,

    I accidentally disabled the wp-hive plugin on one of my hive sites. The main site, example.com, asks me to install Wordpress. My hive site, anything.example.com, also asks me to install Wordpress. I'm hoping there is a way to fix this. I've tried deleting out the db.php out of the wp-hive plugin folder, but I still cannot access anything.

    Any thoughts or suggestions are greatly appreciated.

    Posted 2 years ago #
  2. ikailo
    Developer

    Probably you do not have a site installed with the "wp_" prefix, or the default prefix has changed in wp-config.php.

    This should do the trick:

    1. Select the domain name and prefix for one domain or subdomain site in the hive. Look in wphive_hosts table in the database.
    2. Change the prefix in wp-config.php to the prefix of the selected site.
    3. Load the selected site in your browser, then log into the WP Admin.
    4. Activate WP Hive through the plugins console.

    Posted 2 years ago #
  3. pavy
    Member

    Thanks for the fast response. This actually occurred to me just a little bit ago. What you said worked, and things are back up.

    Thank you!

    Posted 2 years ago #
  4. bryon
    Member

    I think I may have a similar problem but I accidentally removed the main entry (not the install 'site.com:80/') site.com and as soon as I did that my site returns "Unknown Host" for every page. Deleting db.php restores my main page, but when I try to re-activeate wp-hive the same happens.

    I think the above instructions might help, but I am not savvy enough to know how to do them all.

    What I was trying to do was...

    My subdirectory install was not working (site.com/posts/) and I had to keep deleteing the db.php to get access then re-activating wp-hive to make the links to the subdomain entries work (sub1.site.com). I had both site.com/ and site.com:80/ install in the table so I thought that removing the first would fix it (duh its wp_ for a reason, bad idea).

    I think I need to add the wp_ value back to the table. But not sure how to do that correctly.

    Thanks for any help.

    - Bryon

    Posted 2 years ago #
  5. bryon
    Member

    Sorry, I figured it out.
    For anyone else who decides to do this very dumb thing here's how I fixed it.

    Log into phpMyAdmin
    Drill down in your appropriate database into wphive_hosts
    Click on the insert tab
    Fill in the appropriate fields, in my case
    id = 1, host = site.com, prefix = wp_, path = /

    I am glad that is all I had to do.

    Posted 2 years ago #
  6. bryon
    Member

    Sorry, I figured it out.
    For anyone else who decides to do this very dumb thing here's how I fixed it.

    Log into phpMyAdmin
    Drill down in your appropriate database into wphive_hosts
    Click on the insert tab
    Fill in the appropriate fields, in my case
    id = 1, host = site.com, prefix = wp_, path = /

    I am glad that is all I had to do.

    Posted 2 years ago #
  7. bryon
    Member

    Sorry, I figured it out.
    For anyone else who decides to do this very dumb thing here's how I fixed it.

    Log into phpMyAdmin
    Drill down in your appropriate database into wphive_hosts
    Click on the insert tab
    Fill in the appropriate fields, in my case
    id = 1, host = site.com, prefix = wp_, path = /

    I am glad that is all I had to do.

    Posted 2 years ago #
  8. bryon
    Member

    Sorry, I figured it out.
    For anyone else who decides to do this very dumb thing here's how I fixed it.

    Log into phpMyAdmin
    Drill down in your appropriate database into wphive_hosts
    Click on the insert tab
    Fill in the appropriate fields, in my case
    id = 1, host = site.com, prefix = wp_, path = /

    I am glad that is all I had to do.

    Posted 2 years ago #
  9. bryon
    Member

    I resolved it by getting into myPhpAdmin. Thanks for the post though it helped.

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.