[Vtigercrm-developers] Automated Google sync in VT6.2?
Richard Hills - Technologywise
richard at tw.co.nz
Wed Feb 18 10:12:57 GMT 2015
Only change we have from standard on that file is adding a / in the
construct.
modules/Google/connectors/Oauth2.php ~line 63
> $this->redirect_uri = $site_URL .
> '/index.php?module=Google&view=List&operation=sync&sourcemodule=' .
So this may be the issue. But I think you have to add this anyway to get
the calendar sync added in the first place, so likely you're facing
something else.
On 18/02/15 23:03, socialboostdk wrote:
> No, its a perfectly valid question ;-)
>
> I did - and I did click initialize first. But now I tried to disable
> it + enable it again, and I can see it in the cron now :-)
>
> But - on the first line after SWVTTool GoogleCalSync stats, it says:
>
> PHP Warning: Cannot modify header information - headers already sent
> by (output started at
> /home/public_html/user_privileges/default_module_view.php:16) in
> /home/public_html/modules/Google/connectors/Oauth2.php on line 138
>
> Any clue?
>
> On 18 February 2015 at 10:51, Richard Hills - Technologywise
> <richard at tw.co.nz <mailto:richard at tw.co.nz>> wrote:
>
> Probably a stupid question, but did you enable it in the scheduler?
>
> output will look like:
>> [CRON],"1424253054.1831",https://crm.com,SWVTTool
>> GoogleCalSync,"2015-02-18 22:50:54","",[STARTS]
>> GoogleCal Sync
>>
>>
>> UserID 1
>> VtigerCRM: 0 Update 0 Create 0 Delete
>> Google : 0 Update 0 Create 0 Delete
>
>
> On 18/02/15 22:03, socialboostdk wrote:
>> Hi again,
>>
>> Thank you - i did this, but did not see anything about google
>> sync or Stefans module in the cron output (Did have some err in
>> mailscanning, but I suppose they are not related).
>>
>> Can you post the line from your cron on the calendar sync? Ie.
>> how it looks so I can debug a little?
>>
>> Thanks!!
>>
>> best,
>> Chris
>>
>> On 17 February 2015 at 19:20, Richard Hills - Technologywise
>> <richard at tw.co.nz <mailto:richard at tw.co.nz>> wrote:
>>
>> I am using Stefans module only to add the additional
>> scheduler task. What seems to be working is this task (run
>> the cron manually and you can see the output showing what has
>> happened).
>>
>> What did you find was not working for you? Not getting all
>> events on the first run is no problem, just set it to run
>> every x minutes and eventually things will get in sync.
>>
>>
>> On 18/02/15 01:55, socialboostdk wrote:
>>> Hi there,
>>>
>>> How is it working - ie. what did you do? Did you use Stefans
>>> module, or?
>>>
>>> - I have it running, but it does not seem to get all events
>>> over - I was blaming the lack of cron for it, as its only
>>> taking 100 entries per time (right?), but I'm not sure anymore.
>>>
>>> Thanks,
>>> Chris
>>>
>>> On 17 February 2015 at 07:14, Richard Hills - Technologywise
>>> <richard at tw.co.nz <mailto:richard at tw.co.nz>> wrote:
>>>
>>> Have just tested and this is working fine for the
>>> scheduler / cron job at least.
>>>
>>>
>>> On 17/02/15 12:35, Richard Hills - Technologywise wrote:
>>>> Has anyone confirmed this as working with 6.2 yet? I am
>>>> intending to test this evening.
>>>>
>>>> Thanks
>>>>
>>>> On 12/02/15 23:06, socialboostdk wrote:
>>>>> I dont understand - is this different from the module
>>>>> offered by Stefan?
>>>>>
>>>>> On 12 February 2015 at 10:30, Simone Travaglini
>>>>> <simonetravaglini at gmail.com
>>>>> <mailto:simonetravaglini at gmail.com>> wrote:
>>>>>
>>>>> I think that a good improvement will be also the
>>>>> possibility to set from crm google sync, as in
>>>>> ondemand version
>>>>>
>>>>>
>>>>> 2015-02-12 <tel:2015-02-12> 10:23 GMT+01:00
>>>>> socialboostdk <socialboostdk at gmail.com
>>>>> <mailto:socialboostdk at gmail.com>>:
>>>>>
>>>>> (I dont know actually, but I am hoping so? :))
>>>>>
>>>>> On 12 February 2015 at 10:05, Simone
>>>>> Travaglini <simonetravaglini at gmail.com
>>>>> <mailto:simonetravaglini at gmail.com>> wrote:
>>>>>
>>>>> stefan module work also with 6.2?
>>>>>
>>>>>
>>>>> 2015-02-12 <tel:2015-02-12> 7:38 GMT+01:00
>>>>> socialboostdk <socialboostdk at gmail.com
>>>>> <mailto:socialboostdk at gmail.com>>:
>>>>>
>>>>> Hi again,
>>>>>
>>>>> Ok - I will install Stefan's module
>>>>> then. Thank you for clarifying :)
>>>>>
>>>>> Best,
>>>>> Chris
>>>>>
>>>>> On 12 February 2015 at 07:29, Uma S
>>>>> <uma.s at vtiger.com
>>>>> <mailto:uma.s at vtiger.com>> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> Google-calendar sync is not
>>>>> automated in VT6.2, we need to run
>>>>> this manually on-click of sync
>>>>> from calendar and contacts.
>>>>>
>>>>> On Thu, Feb 12, 2015 at 3:25 AM,
>>>>> socialboostdk
>>>>> <socialboostdk at gmail.com
>>>>> <mailto:socialboostdk at gmail.com>>
>>>>> wrote:
>>>>>
>>>>> Hi everyone,
>>>>>
>>>>> Is Google-calendar-sync
>>>>> automated in VT6.2 - ie
>>>>> scheduled via Cron or similar?
>>>>> Or is it 100% manual
>>>>> "click-per-sync" as it was in
>>>>> the old days?
>>>>>
>>>>> Or do I have to install fix
>>>>> like Stefan Warnat's
>>>>> CRM-tools? (Thanks Stefan!)
>>>>>
>>>>> Thanks!
>>>>>
>>>>> Best
>>>>> Chris
>>>>>
>>>>> _______________________________________________
>>>>> http://www.vtiger.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> With
>>>>> Best Regards
>>>>> Uma.S
>>>>> Vtiger Team
>>>>>
>>>>> _______________________________________________
>>>>> http://www.vtiger.com/
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> http://www.vtiger.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Simone Travaglini
>>>>> 328 5499846
>>>>> Linkedin: Simone Travaglini
>>>>>
>>>>>
>>>>> Rispetta l'ambiente: non stampare questa
>>>>> mail se non ti è veramente necessario!
>>>>>
>>>>> _______________________________________________
>>>>> http://www.vtiger.com/
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> http://www.vtiger.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Simone Travaglini
>>>>> 328 5499846
>>>>> Linkedin: Simone Travaglini
>>>>>
>>>>>
>>>>> Rispetta l'ambiente: non stampare questa mail se
>>>>> non ti è veramente necessario!
>>>>>
>>>>> _______________________________________________
>>>>> http://www.vtiger.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> http://www.vtiger.com/
>>>>
>>>> --
>>>> Richard Hills
>>>> TechnologyWise Ltd, Tauranga, NZ
>>>> richard at tw.co.nz <mailto:richard at tw.co.nz>
>>>> www.technologywise.co.nz <http://www.technologywise.co.nz>
>>>> ph:+64 (0)7 571 1060 <tel:%2B64%20%280%297%20571%201060>
>>>> fax:+64 (0)7 571 1061 <tel:%2B64%20%280%297%20571%201061>
>>>>
>>>>
>>>> _______________________________________________
>>>> http://www.vtiger.com/
>>>
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>>
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>
>
> _______________________________________________
> http://www.vtiger.com/
>
>
>
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150218/5e26be68/attachment-0001.html>
More information about the vtigercrm-developers
mailing list