Cannot write configuration file (config.inc.php ) in :
You can continue this installation by manually creating the config.inc.php file and pasting the configuration information below inside.However, you must create the configuration file before you continue to the next step.
'en', 'ja'=>'jp', 'sp_ve'=>'sp', 'it_it'=>'it', 'tw_zh'=>'zh', 'pt_br'=>'pt', 'se'=>'sv', 'cn_zh'=>'zh', 'ge_ge'=>'de', 'ge_ch'=>'de', 'fr'=>'fr');\n\n";
$config .= "//set default module and action\n";
$config .= "\$default_module = 'Home';\n";
$config .= "\$default_action = 'index';\n\n";
$config .= "//set default theme\n";
$config .= "\$default_theme = 'bluelagoon';\n\n";
$config .= "// If true, the time to compose each page is placed in the browser.\n";
$config .= "\$calculate_response_time = true;\n";
$config .= "// Default Username - The default text that is placed initially in the login form for user name.\n";
$config .= "\$default_user_name = '';\n";
$config .= "// Default Password - The default text that is placed initially in the login form for password.\n";
$config .= "\$default_password = '';\n";
$config .= "// Create default user - If true, a user with the default username and password is created.\n";
$config .= "\$create_default_user = false;\n";
$config .= "\$default_user_is_admin = false;\n";
$config .= "// disable persistent connections - If your MySQL/PHP configuration does not support persistent connections set this to true to avoid a large performance slowdown\n";
$config .= "\$disable_persistent_connections = false;\n";
$config .= "// Defined languages available. The key must be the language file prefix. E.g. 'en_us' is the prefix for every 'en_us.lang.php' file. \n";
$language_value = "Array('en_us'=>'US English',)";
if(isset($_SESSION['language_keys']) && isset($_SESSION['language_values']))
{
$language_value = 'Array(';
$language_keys = explode(',', urldecode($_SESSION['language_keys']));
$language_values = explode(',', urldecode($_SESSION['language_values']));
$size = count($language_keys);
for($i = 0; $i < $size; $i+=1)
{
$language_value .= "'$language_keys[$i]'=>'$language_values[$i]',";
}
$language_value .= ')';
}
$config .= "\$languages = $language_value;\n";
$config .= "// Master currency name\n";
$config .= "\$currency_name = '$currency_name';\n";
$config .= "// Default charset if the language specific character set is not found.\n";
$config .= "\$default_charset = 'UTF-8';\n";
$config .= "// Default language in case all or part of the user's language pack is not available.\n";
$config .= "\$default_language = 'en_us';\n";
$config .= "// Translation String Prefix - This will add the language pack name to every translation string in the display.\n";
$config .= "\$translation_string_prefix = false;\n";
$config .= "//Option to cache tabs permissions for speed.\n";
$config .= "\$cache_tab_perms = true;\n\n";
$config .= "//Option to hide empty home blocks if no entries.\n";
$config .= "\$display_empty_home_blocks = false;\n\n";
$config .= "//Disable Stat Tracking of vtiger CRM instance.\n";
$config .= "\$disable_stats_tracking = false;\n\n";
$config .= "// Generating Unique Application Key\n";
$config .= "\$application_unique_key = '".md5(time() + rand(1,9999999) + md5($root_directory)) ."';\n\n";
$config .= "// trim descriptions, titles in listviews to this value\n";
$config .= "\$listview_max_textlength = 40;\n\n";
$config .= "// Maximum time limit for PHP script execution (in seconds)\n";
$config .= "\$php_max_execution_time = 0;\n\n";
$config .= "// Set the default timezone as per your preference\n";
$config .= "//\$default_timezone = '';\n\n";
$config .= "?>";
echo "
";
echo "
Did you remember to create the config.inc.php file ?
";
} ?>