I am trying to install MODx 1.0.2 on a Windows PC with XAMPP, PHP 5, mySQL 5, Firefox on Vista 32, and can get nowhere. I get this when I go to /install/index.php
".$_lang["session_problem"]."
".$_lang["session_problem_try_again"]."
"; exit; } $moduleName = "MODx"; $moduleVersion = $modx_branch.’ ’.$modx_version; $moduleRelease = $modx_release_date; $moduleSQLBaseFile = "setup.sql"; $moduleSQLDataFile = "setup.data.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’, ’connection’, ’options’, ’license’, ’mode’, ’summary’))) { # if (!isset ($_POST[’chkagree’])) $action= ’license’; #} ob_start(); include (’header.php’); if (!@include (’action.’ . $action . ’.php’)) { die (’Invalid install action attempted. [action=’ . $action . ’]’); } include (’footer.php’); ob_end_flush(); ?>
which tells me that i have no db connection. That I know, but I can find no documentation explaining how to set up a db connection. Can someone point me to this please?