I’ve been working in MODx 1.02 manager backend this afternoon, all of a sudden it said it couldn’t find index.php when I tried creating a new resource. I tried to go out and back in, but now I browse to http://site/manager, the browser says the file type isn’t recognised and a popup appears asking to open index.php!
Also if I browse to the page I made at
http://site/index.html, I get a whole load of error code: I checked that the permissions for config.inc.php were 644)
MODx is not currently installed or the configuration file cannot be found.
Do you want to install now?
"; exit; } } // start session startCMSSession(); // initiate a new document parser include_once(MODX_MANAGER_PATH.'/includes/document.parser.class.inc.php'); $modx = new DocumentParser; $etomite = &$modx; // for backward compatibility // set some parser options $modx->minParserPasses = 1; // min number of parser recursive loops or passes $modx->maxParserPasses = 10; // max number of parser recursive loops or passes $modx->dumpSQL = false; $modx->dumpSnippets = false; // feed the parser the execution start time $modx->tstart = $tstart; // Debugging mode: $modx->stopOnNotice = false; // Don't show PHP errors to the public if(!isset($_SESSION['mgrValidated']) || !$_SESSION['mgrValidated']) { @ini_set("display_errors","0"); } // execute the parser if index.php was not included if (!MODX_API_MODE) { $modx->executeParser(); } ?>
Any ideas please? The site appears to have been completelt corrupted!