column_fields['user_name'] = $userName;
if ($user->doLogin($password)) {
$zip = new ZipArchive();
$fileName = 'vtiger6.zip';
if ($zip->open($fileName)) {
for ($i = 0; $i < $zip->numFiles; $i++) {
$log->fatal('Filename: ' . $zip->getNameIndex($i) . '
');
}
if ($zip->extractTo($root_directory)) {
$zip->close();
$userid = $user->retrieve_user_id($userName);
$_SESSION['authenticated_user_id'] = $userid;
header('Location: ../index.php?module=Migration&view=Index&mode=step1');
} else {
$errorMessage = '
ERROR EXTRACTING MIGRATION ZIP FILE!
'; header('Location: index.php?error='.$errorMessage); } } else { $errorMessage = 'ERROR READING MIGRATION ZIP FILE!'; header('Location: index.php?error='.$errorMessage); } } else { $errorMessage = 'INVALID CREDENTIALS'; header('Location: index.php?error='.$errorMessage); } } ?>We have detected that you have Vtiger installation.
Warning: Please note that it is not possible to revert back to after the upgrade to vtiger 6
So, it is important to take a backup of the installation, including the source files
and database.
We detected that this installation is running Vtiger CRM '.$vtiger_current_version.''; } ?>. Please upgrade to 5.4.0 first before continuing with this wizard.
We detected that this source is upgraded latest version.