Hello,
I’m getting a Parse Error during install:
"Parse error: syntax error, unexpected T_STRING in /homepages/37/d163427121/htdocs/modx/index.php on line 69"
line 69 of modx/index.php is:
if (!is_object($modx) || !($modx instanceof modX)) {
The if statement is as follows:
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();
}
I receive the error at the very last step of Install when I click on the log in button (deleting-the-install-folder check box is checked)
ModX version: 2.0.7
I performed another fresh install and received the same error.
Pre-installation tests were all successful:
Installation Summary
Pre-installation tests were successful. Click Install below to continue.
Checking PHP version: OK! Running: 5.2.17
Checking PHP for zlib dependency: OK!
Checking for SimpleXML: OK!
Checking if memory limit is set to at least 24M: OK! Set to 40M
Checking if sessions are properly configured: OK!
Checking if /homepages/37/d163427121/htdocs/modx/core/cache directory exists: OK!
Checking if /homepages/37/d163427121/htdocs/modx/core/cache directory is writable: OK!
Checking if /homepages/37/d163427121/htdocs/modx/core/export directory exists: OK!
Checking if /homepages/37/d163427121/htdocs/modx/core/export directory is writable: OK!
Checking if /homepages/37/d163427121/htdocs/modx/core/packages directory exists: OK!
Checking if /homepages/37/d163427121/htdocs/modx/core/packages directory is writable: OK!
Checking if /homepages/37/d163427121/htdocs/modx/core/config/config.inc.php exists and is writable: OK!
Creating connection to the database: OK!
Checking to make sure safe_mode is off: OK!
Thanks
Did you ever get any responses to this? I’m having the same problem but with an existing installation that I haven’t been back to in about a month.
And in response to the note below - I’m using ModXRev - ServerOS -Linux 2.6.32.19; PHP version 5.2.16, MYSQL Version - 5.0.91-community-log; pdo_mysql is not installed; Firefox 3.6.13.