ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Can't get the 3rd site to show up

December 11, 2009 10:24pm

Subscribe [5]
  • #1 / Dec 11, 2009 10:24pm

    Pistols&Whiskey

    23 posts

    I have 4 domains pointing to the same ip. 1st and second domain go to to their proper site through MSM. Today I tried to set up a 3rd site but no matter what I do it still goes to site number one.
    Is this a server issue or an EE issue? I am sure(almost) when we set up the first two domains they were pointed to the same ip and EE served up the right site accordingly. Please help.

  • #2 / Dec 12, 2009 2:25pm

    Greg Salt

    3988 posts

    Hi monkeymedia,

    Did you closely follow the documentation for creating a new domain?

    Please post the contents path.php for your 1st site and also the path.php file for your 3rd site.

    Cheers

    Greg

  • #3 / Dec 12, 2009 6:05pm

    Pistols&Whiskey

    23 posts

    I have the 3rd site set up exactly like the second with the path to the system “../system/ within a the root folder. I simply copied site two folder and pated then went in and changed the site name within path.php. This should work as site two.

  • #4 / Dec 12, 2009 6:10pm

    Pistols&Whiskey

    23 posts

    If I point my browser to the actual folder within root then all works fine.

  • #5 / Dec 13, 2009 4:33pm

    Greg Salt

    3988 posts

    Hi monkeymedia,

    What are the 3 domains that should be active? Please do post the contents of all three path.php files.

    Cheers

    Greg

  • #6 / Dec 14, 2009 1:43pm

    Pistols&Whiskey

    23 posts

    Here is url 1. This works fine.

    <?php
    
    // ------------------------------------------------------
    // DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO
    
    // ------------------------------------------------------
    // Path to the directory containing your backend files
    
    $system_path = "./system/";
    
    // ------------------------------------------------------
    // MANUALLY CONFIGURABLE VARIABLES
    // See user guide for more information
    // ------------------------------------------------------
    
    $template_group = "";
    $template = "";
    $site_url = "";
    $site_index = "";
    $site_404 = "";
    $global_vars = array(); // This array must be associative
    
    ?>

    Here is url two. This works fine:

    <?php
    
    // ------------------------------------------------------
    // DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO
    
    // ------------------------------------------------------
    // Path to the directory containing your backend files
    
    $system_path = "../system/";
    
    // ------------------------------------------------------
    // MANUALLY CONFIGURABLE VARIABLES
    // See user guide for more information
    // ------------------------------------------------------
    
    $template_group = "";
    $template = "";
    $site_url = "";
    $site_index = "";
    $site_404 = "";
    $site_name = 'mms';
    $global_vars = array(); // This array must be associative
    
    ?>

    I have created a new folder with a path and index file for the third url. This does not work.

    <?php
    
    // ------------------------------------------------------
    // DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO
    
    // ------------------------------------------------------
    // Path to the directory containing your backend files
    
    $system_path = "../system/";
    
    // ------------------------------------------------------
    // MANUALLY CONFIGURABLE VARIABLES
    // See user guide for more information
    // ------------------------------------------------------
    
    $template_group = "";
    $template = "";
    $site_url = "";
    $site_index = "";
    $site_404 = "";
    $site_name = 'catering';
    $global_vars = array(); // This array must be associative
    
    ?>
  • #7 / Dec 14, 2009 4:09pm

    Pistols&Whiskey

    23 posts

    Any thoughts on whats going on here?

  • #8 / Dec 14, 2009 6:18pm

    Pistols&Whiskey

    23 posts

    I am also receiving this error when I try to create a site and duplicate a template group:

    Fatal error: Call to undefined method DB::escape_like_str() in C:\xampp\htdocs\system\cp\cp.sites.php on line 1078

  • #9 / Dec 14, 2009 6:40pm

    Pistols&Whiskey

    23 posts

    I have posted this problem on another thread but it appears that I am not receiving any response. I have multi site manager installed as well as another site license purchased last friday. In total I want to host 4 different sites.

    All URLS point to the same IP address.

    URL 1 works as intended.
    URL 2 works as intented.
    URL 3 (I’m trying to set this up) will not resolve to its own site. I have tried numerous times following the documentation.
    URL 4 Haven’t tried to set up yet as I cannot get URL 3 to work.


    This may be related; When I try to set up a site in the control panel and use the option to duplicate a template group I get the following error:

    Fatal error: Call to undefined method DB::escape_like_str() in C:xampphtdocssystemcpcp.sites.php on line 1078

  • #10 / Dec 14, 2009 6:54pm

    Lisa Wess

    20502 posts

    I merged these for you; it’s only been a few hours and a TSS will be with you shortly.

    In the mean-time, do you have a .htaccess in place You might try without it.  You should also try visiting something like an image in the new directory to make sure that this is not an issue with the setup in general.

  • #11 / Dec 14, 2009 7:21pm

    Pistols&Whiskey

    23 posts

    Thanks Lisa.

    I do not have an .htaccess file.

    I can access the home page directly by putting the directoy at the end of the url and the page shows the template as well as the appropriate weblog entry.

  • #12 / Dec 14, 2009 7:33pm

    Lisa Wess

    20502 posts

    Do you have a URL where we can see the third site, the one that isn’t working?

  • #13 / Dec 14, 2009 7:40pm

    Pistols&Whiskey

    23 posts

    http://www.seriouscatering.com

    It is going to site 1

    It needs to go to http://www.seriouscatering.com/catering

    of cousre without having to put in the directory at the end.

  • #14 / Dec 14, 2009 7:43pm

    Lisa Wess

    20502 posts

    In the directory that holds seriouscatering.com’s path.php, if you out a test.html file with just:

    <h1>hello world, this is serious catering</h1>

    there, then visit seriouscatering.com/test.html - what do you get?

    Can you give that a try for us and let us know when it’s up?

  • #15 / Dec 14, 2009 7:53pm

    Pistols&Whiskey

    23 posts

    Object not found when pointing to

    http://seriouscatering.com/test.html

    displays as intended at:
    http://seriouscatering.com/catering/test.html

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases