WP Hive » Installation and Configuration

dp.php errors?

(8 posts)
  • Started 3 years ago by paul.portelli
  • Latest reply from ikailo
  • 1 Members Subscribed To Topic

  1. paul.portelli
    Member

    Hi all. I've been trying to install wp-hive for the past couple hours but had no luck :(

    I setup the subdomain redirections fine so that example dom1.domain.com and dom2.domain.com redirect to domain.com (where the main blog is located). However, when I try to go to dom1.domain.com from the brower obviously I get redirected to domain.com but don't see the 5 minute install - I just see the front page of domain.com.

    I tried to load directly wp-content/dp.php directly from the browser and I got a require error as this file was not finding the required domains. I changed the deafult values and hard coded the require paths.

    I tried again to directly load db.php and now i'm getting this error:

    -------------------------------------
    Warning: mkdir() [function.mkdir]: No such file or directory in /home/sexrevo/public_html/wp-content/plugins/wp-hive/do-prefix.php on line 35
    Host not found.
    -------------------------------------

    I'm a bit lost at this point. Anyone can help please?

    Posted 3 years ago #
  2. ikailo
    Developer

    Paul, it is possible that the problem is that the subdomains are set up to "redirect" to domain.com. That would mean that when a request comes in for the subdomain, the server tells the requester to go to domain.com instead, and WP Hive never sees the request for the subdomain.

    In actuality, you want the subdomains to "alias" or be "pointed to" the physical directory. You would need to check with your web host to determine how to make that change.

    Loading db.php directly shouldn't work - it is a backend file only one part of a larger process.

    Posted 3 years ago #
  3. paul.portelli
    Member

    Thanks for your reply ikailo. Yes it actually is a redirect. Do you know by any chance how to set up these aliases on cpanel? If it makes any difference, I am on hostgator.

    Posted 3 years ago #
  4. ikailo
    Developer

    Thanks to JC, who posted this comment on the old site for this project:

    ========

    Sucess! I found out how to handle it. Karuna (and any other GatorHost clients), this is what I did:

    Be sure to remove the Addon Domain and re-create it again.
    - Go to Cpanel / Addon Domains.
    - Remove the domain you intend to add to the Hive, if it already exists.
    - Create again the domain, be sure to NOT use default folder proposed by Cpanel. Instead, be sure to indicate the folder you used to install WP.
    - This will create an error: Error from domain wrapper: Domain already exists, it was not added.: firstsubdomainused.originaldomain.tld. Just ignore it.
    - Use the recently created Addon domain in a browser.
    - A WP installation appears. Setup the blog name, write down the password, etc. Click next, and the new blog is created.
    - Login as administrator and activate the Hive plug in for the blog.

    That’s it.

    Karuna, the trick it to delete the Addon domains or subdomains, and re-create them targeting to the WP folder. (Of course, this after installing the Hive plug-in in your main WP, and moving the db.php to the /wp-content/ folder. Good luck!

    ========

    Posted 3 years ago #
  5. paul.portelli
    Member

    Thanks for getting back. I had already saw that post and tried following these suggestions but I still getting a cpanel error and still having the same problems. Will retry again and get back with the results.

    Posted 3 years ago #
  6. paul.portelli
    Member

    Hi. I had time to play a bit with the configuration and after some time I found the correct way to have this set up on my server!

    What I did was set up a subdomain from cpanel and instead of the deafult document root set by cpanel, for each blog I wanted I set the document root to '/public_html'. I then tried to access the subdomain and immediately got the 5 min install. Works great now!

    Thanks for your help!

    Posted 3 years ago #
  7. montalut
    Member

    Hi, I also host with hostgator, having problems with the final steps. Hope you can help.

    I pored over the different posts in the forum and tried Paul's suggestion to set the document root of my new subdomain to "/public_html". But accessing the subdomain on a browser page shows an error page: "Unknown Host"

    I installed my first blog on my main domain using Fantastico. Could this be the reason why it's not working?

    Would be really glad for any help :) Thanks.

    Posted 2 years ago #
  8. ikailo
    Developer

    If you're getting an 'Unknown Host' error, then that means that WP Hive is working, but the sites is probably not set up correctly.

    Ensure the domain / path / prefix are correct, and that you can access them by clicking "install site" or "view site" in the WP Hive admin page.

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.