• Resolved ai6pg

    (@ai6pg)


    Hi I’m trying to run two blogs on one server with one mysql database.
    I’m using Apache2 and using vhosting
    Blog one works it’s at https://holmesvionline.com
    with document root at /var/www/html
    Blog 2 is having problems –
    Document root is at /var/www/html2/petergraceonline$
    I’m just getting a blank screen for now.
    Any suggestions on resources for debugging.
    petergraceonline.com

    using unique db prefixes for each.

    Any suggestions?
    Thank you,
    Adam Selene

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi Adam, This same thing happened to me. I went back and deleted the wordpress I just set up and then added a “subdomain” to my server. And then added wordpress back to the subdomain and now it works. Maybe that will help you.

    Sheila

    Thread Starter ai6pg

    (@ai6pg)

    Thanks. But I don’t want a subdomain. These are two separate blogs.
    BlogX e.g. https://holmesivonline.com – documented what the 2A protects.
    BlogY e.g https://petergraceonline.com

    Any pointers or clarifications would help?

    Thanks,
    Adamm

    Thread Starter ai6pg

    (@ai6pg)

    Thanks. I’m still having a problem.
    It talks about a core wordpress install.
    I have two wordpress installs.
    One in /var/www/html
    one in /var/www/html2/petergraceonline

    I’ve tried updating the index.php file as suggested in
    /var/www/html2/petergraceonline
    but so far no love.
    require( dirname( __FILE__ ) . ‘/html2/petergraceonline/wp-blog-header.php’ );
    and other iterations don’t seem to work.

    Thank you for all help.

    In the site that’s not working, edit your wp-config.php file and set this:

    define('WP_DEBUG', true);

    That will display the errors that the site is having and you’ll be able to see what is actually going wrong. On top of that you should probably look at the error logs in the server, and that will also give you more information on the actual problem.

    Thread Starter ai6pg

    (@ai6pg)

    What log would I see the errors from WP_DEBUG?
    I’ve already looked at the Apache and System logs and don’t see any errors. One site runs well.

    Adam

    When you change that in your config file you’ll see the errors displayed on your website. they should also go into the Apache error logs, but that can depend on your servers configuration.

    And yes, one site does run well, but we aren’t concerned with that one, just the one that’s not working now.. ??

    Thread Starter ai6pg

    (@ai6pg)

    Thanks Looked in apache2 error log.
    Found it and fixed.

    Thanks.
    Was missing these files:
    var/www/html2/petergraceonline/wp-content/plugins/ready-backup-pro-one-site-licence/gdrive/gapicl/cache$ ls /var/www/html/wp-content/plugins/ready-backup-pro-one-site-licence/gdrive/gapicl/cache/
    Google_ApcCache.php Google_FileCache.php
    Google_Cache.php Google_MemcacheCache.php

    Thread Starter ai6pg

    (@ai6pg)

    Just had the server lockup. It’s a t2.micro VPS at Amazon.
    I may need to up the server instance type.

    Adam

    Thread Starter ai6pg

    (@ai6pg)

    Well I got the server back up by stop then start.
    However, I lost all the changes I made.
    It’s back before I fixed it.
    Sigh.

    Adam

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘One server, two sites, two blogs’ is closed to new replies.