I just uploaded 2.08 to my server, and upon navigation to my index.php file, I am prompted with:
Parse error: syntax error, unexpected T_STRING in /nfs/c07/h01/mnt/---blahblahblahblah---/html/modx/index.php on line 69
Here’s the code starting at 67:
if (empty($options) || !is_array($options)) $options = array();
$modx= new modX('', $options);
if (!is_object($modx) || !($modx instanceof modX)) {
@ob_end_flush();
$errorMessage = '<a href="setup/">MODx not installed. Install now?</a>';
@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();
}
Environment information:
MODx 2.08
Traditional
MySQL SmartPool v.2
Mediatemple GS
Google Chrome 9.05
Anyone have any help to offer?