';
@ini_set( 'max_execution_time', $max_execution_time+1 );
$new_max_execution_time = ini_get('max_execution_time');
if($max_execution_time===$new_max_execution_time){
echo 'Server settings do not allow changes of your max_execution_time in the php.ini file, you may get problems migrating a big shop';
} else {
echo JText::_('COM_VIRTUEMART_UPDATE_MIGRATION_CHANGE_MAX_EXECUTION_TIME').'';
}
@ini_set( 'max_execution_time', $max_execution_time );
echo ' ';
$memory_limit = ini_get('memory_limit');
echo 'memory_limit '.$memory_limit;
echo ' ';
if($memory_limit!=='128MB'){
// @ini_set( 'memory_limit', '128MB' );
// $new_memory_limit = ini_get('memory_limit');
// if($memory_limit===$new_memory_limit){
// echo 'Server settings do not allow changes of your memory_limit in the php.ini file, you may get problems migrating a big shop';
// }else {
echo JText::_('COM_VIRTUEMART_UPDATE_MIGRATION_CHANGE_MEMORY_LIMIT').'';
// }
// @ini_set( 'max_execution_time', $memory_limit );
}
?>
|
|
|
JText::_('COM_VIRTUEMART_UPDATE_GENERAL'),
'migrateUsersFromVmOne' => JText::_('COM_VIRTUEMART_UPDATE_USERS'),
'migrateProductsFromVmOne' => JText::_('COM_VIRTUEMART_UPDATE_PRODUCTS'),
'migrateOrdersFromVmOne' => JText::_('COM_VIRTUEMART_UPDATE_ORDERS'),
'migrateAllInOne' => JText::_('COM_VIRTUEMART_UPDATE_ALL'),
'portVmAttributes' => JText::_('COM_VIRTUEMART_UPDATE_ATTR').' '.JText::_('COM_VIRTUEMART_UPDATE_ATTR_2'),
'portVmRelatedProducts' => JText::_('COM_VIRTUEMART_UPDATE_REL'),
// 'setStoreOwner' => JText::_('COM_VIRTUEMART_SETSTOREOWNER')
);
echo VmHTML::radioList('task', $session->get('migration_task', 'migrateAllInOne', 'vm'), $options);
?>
|
get('reWriteOrderNumber', 1, 'vm'));
echo VmHTML::row('checkbox','COM_VIRTUEMART_MIGRATION_USER_ORDER_ID','userOrderId',$session->get('userOrderId', 0, 'vm'));
echo VmHTML::row('checkbox','COM_VIRTUEMART_MIGRA_SGRP_PRICES','userSgrpPrices',$session->get('userSgrpPrices', 0, 'vm'));
echo VmHTML::row('checkbox','COM_VIRTUEMART_MIGRA_PORTFLY','portFlypages',$session->get('portFlypages', 0, 'vm'));
echo VmHTML::row('input','COM_VIRTUEMART_MIGRATION_DCAT_BROWSE','migration_default_category_browse',$session->get('migration_default_category_browse', 0, 'vm'));
echo VmHTML::row('input','COM_VIRTUEMART_MIGRATION_DCAT_FLY','migration_default_category_fly',$session->get('migration_default_category_fly', 0, 'vm'));
?>