[Vtigercrm-developers] Vtiger 6.2: Google calendar sync error?

socialboostdk socialboostdk at gmail.com
Tue Feb 3 07:51:22 GMT 2015


Hi again,

I found the fix for this myself:

In /modules/Google/connectors/Oauth2.php:63 it says:

       $this->redirect_uri = $site_URL .
'index.php?module=Google&view=List&operation=sync&sourcemodule='
. $this->source_module . '&service=' . $this->service_name;

As $site_URL is earlier described as NOT having / at the end, there is a /
missing above before index.php.

I now get the correct Google-promt, asking for permission.. :)


On 3 February 2015 at 08:33, socialboostdk <socialboostdk at gmail.com> wrote:

> I'm sorry - I thought it was working it is not.
>
> I'm getting error 400.
>
> *Error: invalid_request*
>
> Invalid parameter value for redirect_uri: Non-public domains not allowed:
> http://crm.mydomain.comindex.php?module=Google&view=List&operation=sync&sourcemodule=Calendar&amp
>
> (in the above i replaced subdomain + domain)
>
> so it looks like its somehow not URL-decoding the URL + it is missing the
> slash between .com and index.php..?
>
> Any ideas?
>
> On 2 February 2015 at 16:55, scott huxley <huxleyorama at gmail.com> wrote:
>
>> Which URL settings did you use? I used ones from the trac but clearly my
>> issue maybe lays in the callback URL's - even though I am using the ones
>> from Trac. I will have to go through everything all over again to ensure
>> its correct.
>>
>> On Mon, Feb 2, 2015 at 10:25 AM, socialboostdk <socialboostdk at gmail.com>
>> wrote:
>>
>>> I actually have it working now (error was because of URL change).
>>>
>>> But.
>>>
>>> When I sync, my vtiger-calendar is empty, despite my google-calendar
>>> having approx 10 entries?
>>>
>>> On 2 February 2015 at 13:02, scott huxley <huxleyorama at gmail.com> wrote:
>>>
>>>> I have the same error after completing the suggested fix also.
>>>>
>>>> Regards,
>>>> Scott
>>>> On Feb 2, 2015 6:59 AM, "socialboostdk" <socialboostdk at gmail.com>
>>>> wrote:
>>>>
>>>>> I'm now actually geetting "Invalid token format" when I try to sync?
>>>>>
>>>>> - any clues?
>>>>>
>>>>> On 2 February 2015 at 07:04, Uma S <uma.s at vtiger.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I hope you have uploaded client_id and client_secret in Config.php of
>>>>>> modules/Google/. Please check Consent screen option under APIs & auth tab
>>>>>> whether email address has been uploaded properly?
>>>>>>
>>>>>> On Sat, Jan 31, 2015 at 10:33 PM, scott huxley <huxleyorama at gmail.com
>>>>>> > wrote:
>>>>>>
>>>>>>> Followed the steps and when I hit the Syncronize button I get this
>>>>>>> error in the back- and does not seem to sync.
>>>>>>>
>>>>>>> refresh token is null
>>>>>>> Go back
>>>>>>>
>>>>>>> Any ideas? Just upgraded to the most recent vtiger 6.20 release.
>>>>>>>
>>>>>>> Cheers
>>>>>>> Scott
>>>>>>>
>>>>>>> On Fri, Jan 30, 2015 at 4:23 AM, socialboostdk <
>>>>>>> socialboostdk at gmail.com> wrote:
>>>>>>>
>>>>>>>> Arh!
>>>>>>>>
>>>>>>>> *Thank you Matteo,* I'm trying these steps now :-)
>>>>>>>>
>>>>>>>> On 30 January 2015 at 10:16, Matteo Baranzoni <info at greenbitweb.com
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Look this:
>>>>>>>>> http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8354
>>>>>>>>>
>>>>>>>>> 2015-01-30 10:07 GMT+01:00 socialboostdk <socialboostdk at gmail.com>
>>>>>>>>> :
>>>>>>>>>
>>>>>>>>>> Hi there,
>>>>>>>>>>
>>>>>>>>>> I've installed the latest Vtiger 6.2, but am getting an
>>>>>>>>>> "invalid_request" error - says client_id is missing?
>>>>>>>>>>
>>>>>>>>>> Ie. this error:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Any suggestions?
>>>>>>>>>>
>>>>>>>>>> Thanks!
>>>>>>>>>> Chris
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> http://www.vtiger.com/
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> http://www.vtiger.com/
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> http://www.vtiger.com/
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> http://www.vtiger.com/
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> With
>>>>>> Best Regards
>>>>>> Uma.S
>>>>>> Vtiger Team
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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/20150203/a096bcb0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2015-01-30 at 10.04.45.png
Type: image/png
Size: 287236 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150203/a096bcb0/attachment-0001.png>


More information about the vtigercrm-developers mailing list