Mautic Community Forums

I cannot integrate with vtiger

Hello!

I cannot integrate mautic with vtiger, when the login details, displays the image above



It says, error 500 and in the url displays

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.

Hello!
I cannot integrate mautic with vtiger, when the login details, displays the image above

It says, error 500 and in the url displays
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.

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:

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

Thanks @tdhungit … Work like a charm!