# I cannot integrate with vtiger

**URL:** <https://forum.mautic.org/t/i-cannot-integrate-with-vtiger/9211>\
**Category:** Product Support\
**Created:** [August 10, 2017, 5:22pm UTC](https://forum.mautic.org/t/i-cannot-integrate-with-vtiger/9211 "2017-08-10T17:22:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jd26](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jd26/32/62_2.png) [@jd26](https://forum.mautic.org/u/jd26)\
**Post date:** [August 10, 2017, 5:22pm UTC](https://forum.mautic.org/t/i-cannot-integrate-with-vtiger/9211/1 "2017-08-10T17:22:30Z")

</div>

Hello!  
  
I cannot integrate mautic with vtiger, when the login details, displays the image above  
  
 ![](http://canalesweb.com/pruebamar/app/logs/Mautic.PNG)  
  
It says, error 500 and in the url displays  
  
[http://canalesweb.com/pruebamar/plugins/integrations/authcallback/Vtiger](http://canalesweb.com/pruebamar/plugins/integrations/authcallback/Vtiger)  
  
  
  
Also I check mautic logs, and displays this  
  
  
  
[2017-08-10 16:28:14] mautic.ERROR: PHP Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) - in file /home/compre23/public\_html/canalesweb.com/pruebamar/plugins/MauticCrmBundle/Integration/VtigerIntegration.php - at line 106 [] []  
  
  
  
Please help me, to integrate vtiger again.

---

<div class="post-metadata">

**Author:** ![jd26](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jd26/32/62_2.png) [@jd26](https://forum.mautic.org/u/jd26)\
**Post date:** [August 10, 2017, 5:22pm UTC](https://forum.mautic.org/t/i-cannot-integrate-with-vtiger/9211/2 "2017-08-10T17:22:30Z")

</div>

Hello!  
I cannot integrate mautic with vtiger, when the login details, displays the image above  
 ![](http://canalesweb.com/pruebamar/app/logs/Mautic.PNG)  
It says, error 500 and in the url displays  
[http://canalesweb.com/pruebamar/plugins/integrations/authcallback/Vtiger](http://canalesweb.com/pruebamar/plugins/integrations/authcallback/Vtiger)

Also I check mautic logs, and displays this

[2017-08-10 16:28:14] mautic.ERROR: PHP Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) - in file /home/compre23/public\_html/canalesweb.com/pruebamar/plugins/MauticCrmBundle/Integration/VtigerIntegration.php - at line 106 [] []

Please help me, to integrate vtiger again.

---

<div class="post-metadata">

**Author:** ![tdhungit](https://avatars.discourse-cdn.com/v4/letter/t/8e7dd6/32.png) [@tdhungit](https://forum.mautic.org/u/tdhungit)\
**Post date:** [August 24, 2017, 12:42am UTC](https://forum.mautic.org/t/i-cannot-integrate-with-vtiger/9211/3 "2017-08-24T00:42:55Z")

</div>

I checked code and saw:  
function makeRequest() in: app/bundles/PluginBundle/Integration/AbstractIntegration.php

`if (empty($settings['authorize_session'])) {
            $this->isAuthorized();
}`  
and in function isAuthorized() call again function makeRequest.  
When we have no session, we will have loop code.  
So you can check it again or comment it like below:

```auto
// if (empty($settings['authorize_session'])) {
// $this->isAuthorized();
// }
```

---

<div class="post-metadata">

**Author:** ![vctrin](https://avatars.discourse-cdn.com/v4/letter/v/bc79bd/32.png) [@vctrin](https://forum.mautic.org/u/vctrin)\
**Post date:** [August 24, 2017, 2:35am UTC](https://forum.mautic.org/t/i-cannot-integrate-with-vtiger/9211/4 "2017-08-24T02:35:48Z")

</div>

Thanks @tdhungit … Work like a charm!
