[Vtigercrm-developers] Errors in migration script 630_to_640.php

Manu urs manu.k at vtiger.com
Fri Oct 16 13:13:39 GMT 2015


Hi Alan,

Thanks for the suggestion.The new  New Caledonia Time Zone is  UTC+11:00
and  for Yakutsk is  UTC+10:00 .
Are you looking forward us  to specify the place name in the  Timezone
column in the new entry. We are handling it in the translation.

Regards,
Manu Urs

On Fri, Oct 16, 2015 at 5:41 PM, Alan Lord <alanslists at gmail.com> wrote:

> In the Migration script you are adding a new Timezone but I am not sure if
> it is supposed to be for New Caledonia or for Yakutsk in Russia:
>
> (Cut & Paste typo?)
>
> //Adding new timezone (GMT+11:00) New Caledonia
>>     $sortOrderResult = $adb->pquery("SELECT sortorderid FROM
>> vtiger_time_zone WHERE time_zone = ?", array('Asia/Yakutsk'));
>>     if ($adb->num_rows($sortOrderResult)) {
>>         $sortOrderId = $adb->query_result($sortOrderResult, 0,
>> 'sortorderid');
>>         $adb->pquery("UPDATE vtiger_time_zone SET sortorderid =
>> (sortorderid + 1) WHERE sortorderid > ?", array($sortOrderId));
>>         Migration_Index_View::ExecuteQuery('INSERT INTO vtiger_time_zone
>> (time_zone, sortorderid, presence) VALUES (?, ?, ?)', array('Etc/GMT-11',
>> ($sortOrderId + 1), 1));
>>         echo "New timezone (GMT+11:00) New Caledonia added.<br>";
>>     }
>>
>
> Also, the language is poor here:
>
>  echo '<tr><td width="80%"><span>Your Configuration file couldnot able to
>> edit, Please asdd it manually</span></td><td
>> style="color:red">Unsuccess</td></tr>';
>>
>
> It should probably read:
>
>  "Cannot write to your Configuration file. Please add it manually"
>>
>
> And "Add" what exactly? What is "it"? lol
>
> Alan
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>



-- 
Regards,
Manu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20151016/42f7fb11/attachment.html>


More information about the vtigercrm-developers mailing list