• Resolved petebusi

    (@petebusi)


    Hello Everyone! I urgently need your help, due to some time related release which brings me up to desperation…

    I have a freshly installed WP version 3.3.2 on my site http://zukunftderkommunikation.com (maindomain.com) and configured it for Multi Domain Mapping and selected subdomains for my work.
    Now i have following failure msd on my subdomain http://blog.zukunftderkommunikation.com (subdomain.maindomain.com):

    Warning: require(/home/renepf/public_html/wp-includes/load.php) [function.require]: failed to open stream: No such file or directory in /home/renepf/public_html/wp-settings.php on line 21

    Fatal error: require() [function.require]: Failed opening required ‘/home/renepf/public_html/wp-includes/load.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/renepf/public_html/wp-settings.php on line 21

    Heres a short illustration of my steps i went through so far:

    1. Installed WP at the mentioned domain
    2. I imported my old blog content into the site.
    therefore i installed the Plugin wp-importer
    3. Backup from my work – deactivating all plugins
    4. Setting up Multi Domains following the instructions from http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/
    5. Installed the plugin new-blog-defaults into /wp-content/mu-plugins
    6. Installed domain-mapping.php /wp-content/mu-plugins into and sunrise.php into /wp-content
    7. put into config.php define( 'SUNRISE', 'on' );
    8. .htcaccess update

    here is where it gets tricky:

    i acticvated subdomain.maindomain.com before inside my cpanel.
    Than i installed a fresh version of WP on that subdomaim and tried to connect it to my domain mapping list.

    9. adding the subdomain.maindomain.com to my domain mapping list
    10. adding the subdomain.maindomain.com to my “all sites” list
    11. didn’t work out…

    12. i deletet all files incl. the subdomain.maindomain.com from the public_html folder and deleted all sites in the domain mapping section inside wp
    13. Now only the maindomain.com was left.

    13. I choose to park the subdomain.maindomain.com
    14. after confirmation i repeated the process and added a new site at domain mapping and than added a new site under “sites” directory inside the wp backend of my mainblog.

    i have now a subfolder inside my wordpress installation at the main directory. The installation seemt to be successful but i’m only having the error msg now. Is there any possibility to fix this issue without the neew of a complete deinstallation and repeating the whole wp configuration and installation process? Thanks in advance for your answers and comments!!

    Kind regards!

Viewing 15 replies - 1 through 15 (of 25 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    You’re not supposed to map subdomains like that.

    1) Remove the domain mapping plugin.
    2) Remove the parking for the subdomain.
    3) In cpanel, point your subdomain to /home/renepf/public_html/ (by default it will want to go to /home/renepf/public_html/subdomain, but we don’t want that)

    Now check.

    Thread Starter petebusi

    (@petebusi)

    Hi Ipstenu! Thanks for your quick response!

    How do i do 3) exactly, Is `this ment to create a new subdomain in my cpanel again?
    And when in have several domains in the public_html i guess it should be directing to my wished maindomain like /home/renepf/public_html/maindomain.com?

    thanks again!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Don’t mess around with your other domains. Leave them alone.

    We are only going to address your subdomains at this moment in time. Once we are done, and you can access them, then we will come back around. Be patient, young Jedi. You have to do things in order or they will break.

    To do #3, go into Cpanel.

    Click on Subdomains.

    See the list? Now, edit the subdomain you want to use on Multisite.

    Thread Starter petebusi

    (@petebusi)

    lol, like your presence 😀
    ok, i’m not very new to wp so i know it a bit better. But back to the subdomain.

    #1 done
    #2 done
    #3 let me repeat: I create a new subdomain and set the document root to public_html or public_html/maindomain.com?

    which list you mean? the list inside my cpanel!
    Please master Yoda, i can’t receive all of your thoughts, as i’m just learning telepathy. So please speak it out to me, to fully understand what you mean! :o)

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    You said this:

    i acticvated subdomain.maindomain.com before inside my cpanel.

    I presume you remember where and how you did that?

    Did you delete this cpanel subdomain? If so, you need to recreate it.

    Thread Starter petebusi

    (@petebusi)

    ok, i just tried to recreate it now it shows following error msg:

    There was a problem creating the sub-domain. Show Details
    blog.zukunftderkommunikation.com domainadmin-domainexistsglobal

    it’s still existing inside my blog insde my network shaul i delete it from there too?

    Thread Starter petebusi

    (@petebusi)

    and when i now try to access the networkadmin it shows follwing error msg:

    Fatal error: Call to undefined function wp_get_current_user() in /home/renepf/public_html/zukunftderkommunikation.com/wp-includes/capabilities.php on line 1187

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    There was a problem creating the sub-domain. Show Details
    blog.zukunftderkommunikation.com domainadmin-domainexistsglobal

    Where did that error come from? Cpanel or WP?

    Thread Starter petebusi

    (@petebusi)

    cpanel

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Then the issue is your server. Either you aren’t allowed to make any more subdomains, or there’s a problem.

    Check with your host.

    Thread Starter petebusi

    (@petebusi)

    ok, this is resolved. following error appeared to be the problem.

    Here’s the resolution from the host Customer Support:

    (2:38:02pm)CS:It seems this error is being caused because there is an entry in the DNS zone for blog.zukunftderkommunikation.com as a txt record and since that already exists it will not allow the creation of this. I can try to remove this txt record to see if this corrects the issue and I can attempt to add this subdomain for you.

    (2:43:16pm)CS.:Alright. What I have done was I removed the txt record going to “v=spf1 +a +mx +ip4:184.173.215.147 ?all” from the DNS zone for zukunftderkommunikation.com

    And you will now be able to create this subdomain.
    I test this and remove the one I created as a test so you can set this up the way you want it to be set up.

    let’s get back to #3 and some open questions:

    3) In cpanel, point your subdomain to /home/renepf/public_html/ (by default it will want to go to /home/renepf/public_html/subdomain, but we don’t want that)

    there is some other named domain registered. As well i have a wordpress installation there directly installed, which is related to this different named domain.

    The directory of the domain i am currently working on is “/public_html/zukunftderkommunikation.com” there is the WP MU blog installed.

    and when i now try to access the networkadmin it shows follwing error msg:

    Fatal error: Call to undefined function wp_get_current_user() in /home/renepf/public_html/zukunftderkommunikation.com/wp-includes/capabilities.php on line 1187

    is this because the MU domain Mapping was deleted?

    thanks for your help until here Mika! I really appreciate it!!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    The directory of the domain i am currently working on is “/public_html/zukunftderkommunikation.com” there is the WP MU blog installed.

    Then you want your subdomain to point there 🙂 /home/renepf/public_html/zukunftderkommunikation.com

    Thread Starter petebusi

    (@petebusi)

    ok, i crreated the subdomain now and pointed it to the specified folder.

    Now i have a copy of the mainpage on that site and the network admin disapeared inside the WordPress backend.

    Thread Starter petebusi

    (@petebusi)

    edit: i want to run a blog on that sub domain.
    And domain mapping was recommended to use such as mentioned here:
    http://wordpress.org/support/topic/multiple-domain-with-multisite?replies=2

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Now i have a copy of the mainpage on that site and the network admin disapeared inside the WordPress backend.

    A … copy?

    You aren’t actually using the name ‘blog’ for your site, are you? That’s a restricted name, and it shouldn’t be letting you use it at all…

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘Sub- domain Mapping/ Failed to open stream on line 21’ is closed to new replies.