I think there is a major issue with the config.php that comes with the 1.5 distribution, or some issue with the Step4 PHP script.
With NO config.php in place, Step 4 creates one for you and places it in the editable field, which you can then cut-and-paste and hand create a config.php. When i do this, my system installs.
When I leave the one that comes with the 1.5 distribution, I get a problem where something fails along the way, it clears the config.php, and everything is hosed from that point forward.
Here is the config.php that is in the current 1.5 distribution. I'm not sure how Step 4 works, but there seems to be a missing piece that concerns db_type, somewhere around line 28.
Has anyone else had trouble using the config.php that came with the distribution?
==================
==============Code:<?php /********************************************************************************* * The contents of this file are subject to the SugarCRM Public License Version 1.1.2 * ("License"); You may not use this file except in compliance with the * License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for * the specific language governing rights and limitations under the License. * The Original Code is: SugarCRM Open Source * The Initial Developer of the Original Code is SugarCRM, Inc. * Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.; * All Rights Reserved. * Contributor(s): ______________________________________. ********************************************************************************/ /* Database configuration db_host_name: MySQL Database Hostname db_user_name: MySQL Username db_password: MySQL Password db_name: MySQL Database Name */ //All of these commented out values get populated by install.php //$dbconfig['db_host_name'] = 'localhost'; //$dbconfig['db_user_name'] = 'sugarcrm'; //$dbconfig['db_password'] = ''; //$dbconfig['db_name'] = 'sugarcrm'; //$host_name = ''; //$site_URL = ''; //$root_directory = ''; // This is the full path to the include directory including the trailing slash //$includeDirectory = $root_directory.'include/'; $list_max_entries_per_page = '20'; $history_max_viewed = '10'; //define list of menu tabs $moduleList = Array('Home', 'Dashboard', 'Contacts', 'Accounts', 'Opportunities', 'Cases', 'Notes', 'Calls', 'Emails', 'Meetings', 'Tasks'); $default_module = 'Home'; $default_action = 'index'; //set default theme $default_theme = 'Amazon'; // If true, the time to compose each page is placed in the browser. $calculate_response_time = true; // Default Username - The default text that is placed initially in the login form for user name. $default_user_name = ''; // Default Password - The default text that is placed initially in the login form for password. $default_password = ''; // Create default user - If true, a user with the default username and password is created. $create_default_user = false; // Login Message - If a message is provided, it will be placed on the login screen. This is for site specific special instructions $login_message = 'Please login to the application.'; ?>


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks