My web root is set to public_html.When I submitted a support ticket to justhost.com I got this response.
For your site to be displaying on-line please make sure that all your files are uploaded directly to ’public_html’, without any sub-folders.
If there are still any issues please let me know and I’ll assist you further.
So I moved all the files out of the modx directory to public_html directory and got this response.
503 Error
Site temporarily unavailable.
Would this part of index.php cause this?
}
/* 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();