We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28000 ☆ A M B ☆
    • 397 Posts
    Hi everyone,

    I created a new context for a subdomain as described in the manual : http://rtfm.modx.com/display/revolution20/Creating+a+Subdomain+from+a+Folder+using+Virtual+Hosts
    I created the entries in the context settings as shown and also then created them for the web context so that I can cross-link. Everytime however I call up the subdomain, I get the error from the index.php, lines 56 to 63
    /* include the modX class */
    if (!@include_once (MODX_CORE_PATH . "model/modx/modx.class.php")) {
    $errorMessage = ’Site temporarily unavailable’;
    @include(MODX_CORE_PATH . ’error/unavailable.include.php’);
    header(’HTTP/1.1 503 Service Unavailable’);
    echo "<html><title>Error 503: Site temporarily unavailable</title><body><h1>Error 503</h1><p>{$errorMessage}</p></body></html>";
    exit();
    }
    in the config.core.php I pasted the path from the config.core.php file in the main website directory httpdocs. The subdomain directory is within the httpdocs directory (one level).

    I am not sure what to debug from here. Any ideas?

    Thanks!
      Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.