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.

Blank site MSM 2.0

April 01, 2011 2:05pm

Subscribe [2]
  • #1 / Apr 01, 2011 2:05pm

    Hi all,

    I have recently upgraded from EE 1.6 to EE 2.0. I deleted an old domain that had EE 1.6 and MSM on and installed a fresh copy of EE 2.0 and MSM on a new domain and added some new sites. I created a new site and copied the index.php from my new install into my new domain and added my old path file and changed the path to point to my new domain but all I get is a blank page??

    I am with Mediatemple and I know it’s a pain to get it to work but I managed to get it all working with version 1.6 but now with the same settings as before I just get a blank page and I am out of ideas?

    I added this (http://ellislab.com/expressionengine/user-guide/cp/sites/domainsetup.html#9323) to my index.php on localhost and it works fine I can see the second site no problems:

    $assign_to_config[‘site_name’] = ‘site name’;
    $assign_to_config[‘cp_url’] = ‘http://site_name.com/’;
    $assign_to_config[‘site_url’] = ‘http://site_name.com/’;

    From the debug:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in xxxxxx/core/EE_Config.php on line 40

    For security reasons “xxxxxx” is the path to the MSM install.


    Since I am seeing a blank page I take it the index and path files work as I don’t get a path error? I also ensured that the template group for my second site is the index and the red * is showing.

    My versions:
    EE 2.1.3
    MSM 2.0


    Any ideas? I am flat out of ideas and options…

    Appreciate any help 😊

    Best regards,
    Tony

  • #2 / Apr 02, 2011 11:17am

    Bump, anyone please??? I can’t setup any sites…

  • #3 / Apr 02, 2011 2:58pm

    Greg Salt

    3988 posts

    Hi Tony,

    Did you copy that code directly out of the user guide comment? In the first instance please make sure that the single quotes in your code are not ‘curly ones’. In your editor rewrite those lines making sure that the single quotes look straight afterwards. If that doesn’t work please post the whole of that file here.

    Cheers

    Greg

  • #4 / Apr 03, 2011 9:24am

    Hi Greg,

    Fixed the problem. The live domain that I wanted to use MSM on was using PHP4 and not PHP5!
    Sorry for being silly and thanks for the quick reply.

    Epic Facepalm!

    Best regards,
    Tony

  • #5 / Apr 03, 2011 3:29pm

    Greg Salt

    3988 posts

    Hi Tony,

    Okay. No problem at all. Glad that you got this sorted out.

    Cheers

    Greg

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

ExpressionEngine News!

#eecms, #events, #releases