<title>Offline Client Installation</title> <link rel="stylesheet" href="install/install.css" type="text/css" /> <script type="text/javascript" src="install/installCommon.js"></script> <script type="text/javascript" src="install/oc_convert.js"></script> </head> <body> <form action="index.php?entryPoint=oc_convert" method="post" name="oc_convert" id="form"> <input type="hidden" name="goto" value="oc_convert"> <table cellspacing="0" cellpadding="0" border="0" align="center" class="shell"> <tr> <th width="400">Offline Client Installation</th> <th width="200" height="30" style="text-align: right;"><a href="http://www.sugarcrm.com" target="_blank"> <IMG src="include/images/sugarcrm_login.png" width="120" height="19" alt="SugarCRM" border="0"></a></th> </tr> <?php $errors = convert_disc_client(); $converted = true; if (!empty($errors)) { ?> <tr> <td colspan="2" width="600"> <p>Please enter the details below in order to properly install and sync your offline client.</p> <table width="100%" cellpadding="0" cellpadding="0" border="0" class="StyleDottedHr"> <tr><th colspan="3" align="left">Offline Client Installation</td></tr> <tr><td colspan="3"><div class="required"><?php echo $errors; ?> </div></td></tr> <tr><td colspan="3"><div class="required">Please contact your Administrator in order to resolve this problem.</div></td></tr> <tr><td><span class="required">*</span></td> <td><b>URL of Sugar Server</td>
require_once 'include/SugarSearchEngine/SugarSearchEngineFullIndexer.php'; $indexer = new SugarSearchEngineFullIndexer(); $results = $indexer->performFullSystemIndex(array(), true, true); } $endTime = microtime(true); $deltaTime = $endTime - $startTime; ////////////////////////////////////////// /// PERFORM OFFLINE CLIENT INSTALL ///////////////////////////////////////// if (isset($_SESSION['oc_install']) && $_SESSION['oc_install'] == true) { installLog("Performing Offline Client"); set_time_limit(3600); ini_set('default_socket_timeout', 360); echo '<b>Installing Offline Client</b>'; require_once "include/utils/disc_client_utils.php"; $oc_result = convert_disc_client(); installLog($oc_result); echo $oc_result; } /////////////////////////////////////////////////////////////////////////// //// FINALIZE LANG PACK INSTALL if (isset($_SESSION['INSTALLED_LANG_PACKS']) && is_array($_SESSION['INSTALLED_LANG_PACKS']) && !empty($_SESSION['INSTALLED_LANG_PACKS'])) { updateUpgradeHistory(); } /////////////////////////////////////////////////////////////////////////// //// HANDLE SUGAR VERSIONS require_once 'modules/Versions/InstallDefaultVersions.php'; require_once 'modules/Connectors/InstallDefaultConnectors.php'; /////////////////////////////////////////////////////////////////////////////// //// INSTALL PASSWORD TEMPLATES include 'install/seed_data/Advanced_Password_SeedData.php';