I’ve done a number of modx external server installs. now I’m trying to set up my own local dev environment, via MAMP pro on the mac. however on opening the install page all I’m getting is..
"; exit; } $moduleName = "MODx"; $moduleVersion = "0.9.6.1"; $moduleSQLBaseFile = "setup.sql"; $moduleSQLDataFile = "setup.data.sql"; $moduleSQLUpdateFile = "setup.updates.sql"; $moduleChunks = array (); // chunks - array : name, description, type - 0:file or 1:content, file or content $moduleTemplates = array (); // templates - array : name, description, type - 0:file or 1:content, file or content $moduleSnippets = array (); // snippets - array : name, description, type - 0:file or 1:content, file or content,properties $modulePlugins = array (); // plugins - array : name, description, type - 0:file or 1:content, file or content,properties, events,guid $moduleModules = array (); // modules - array : name, description, type - 0:file or 1:content, file or content,properties, guid $moduleTemplates = array (); // templates - array : name, description, type - 0:file or 1:content, file or content,properties $moduleTVs = array (); // template variables - array : name, description, type - 0:file or 1:content, file or content,properties $errors= 0; // get post back status $isPostBack = (count($_POST)); $action= isset ($_GET[’action’]) ? trim(strip_tags($_GET[’action’])) : ’language’; // make sure they agree to the license if (!in_array($action, array (’language’, ’welcome’, ’license’))) { if (!isset ($_POST[’chkagree’])) $action= ’license’; } include (’header.php’); if (!@include (’action.’ . $action . ’.php’)) { die (’Invalid install action attempted. [action=’ . $action . ’]’); } include (’footer.php’); ?>
I’ve set up a dbase via mphpadmin, but i don’t get a chance to connect with it.
i’m reasonably savvy with xhtml and css but not php.
any ideas anyone?
TIM