Mautic Community Forums

Vtiger Integration is not working

Hi There,



I have just installed the stable version of Mautic and i am trying to integrate the Vtiger CRM.



There are 3 fields that need to filled.



vTiger URL : I have put the my Vtiger url.



vTiger username : I have mentioned the Vtiger Username



vTiger access key : I have mentioned the Vtiger Login Password.



but its showing the following error .



Authorization failed with the error message, ‘Invalid username or password’



Thanks

Hi There,

I have just installed the stable version of Mautic and i am trying to integrate the Vtiger CRM.

There are 3 fields that need to filled.

vTiger URL : I have put the my Vtiger url.

vTiger username : I have mentioned the Vtiger Username

vTiger access key : I have mentioned the Vtiger Login Password.

but its showing the following error .

Authorization failed with the error message, ‘Invalid username or password’

Thanks

Hi Mohitgarg

I just tested it and it seems to worked for me. A couple things I ran into:

  1. Chrome wanted me to enable popups because the authentication screen activates a popup.
  2. I think the URL can be an issue, here’s what I did when I tested it:

https://www.evernote.com/shard/s42/sh/f387a4d9-af1e-437a-a635-18c0c95cab55/d4446d7170f95e3551bf82b35f9aa998

Also note that vTiger uses an access code, not your user password, for API authentication which you can get in your vTiger “My Preferences” under the “User Advanced Options.”

Thanks,
Alan

Sure !!

Let me check Sir !!

Hi @alanhartless

Sorry I’m confused…
Should one then use the access code as the password input?

Actually, I’ve written a short docs for Vtiger. Hope it helps:

https://www.mautic.org/docs/plugins/vtiger_crm.html

@escopecz

I’m not seeing a lead field mapping tab for Vtiger
Is that OK?

It means the integration is not authorized well.

how can i fix it?

Just checked Vtiger the lead isn’t pushed through.

I followed all the steps in the Doc.
where could i have gone wrong?
@escopecz

i just noticed something strange.

When i paste the access key over the old password and after iv’e authorize it successfully it seems it password reverts back to the previous one. ( the previous password is shorter than the access key, thats how i noticed this) could this be the problem @escopecz ?

The password/access key is not returned back to the configuration for security reasons. I don’t know what you are doing wrong. Maybe a screenshot of your configuration would help.


link text
@escopecz

Yes, the authorization button should say “Reauthorize app” if it would be authorized correctly. I don’t see any problem there, but I tried the plugin with the demo account at vtiger.com. Not sure if there is something special you have to do if you self host it. Last thing I can advice is to check the server and the Mautic logs (in app/logs dir) if there is some error message.

@escopecz

server error log:
[Thu Jan 21 10:23:26 2016] [error] [client 196.22.206.148] File does not exist: /home/bereazhe/public_html/404.shtml, referer: http://www.bereahandyman.co.za/LP/AW/AW-ThankYouPage.html
[Thu Jan 21 10:23:26 2016] [error] [client 196.22.206.148] File does not exist: /home/bereazhe/public_html/favicon.ico, referer: http://www.bereahandyman.co.za/LP/AW/AW-ThankYouPage.html
[Thu Jan 21 08:24:50 2016] [error] [client 207.46.13.16] File does not exist: /home/bereazhe/public_html/404.shtml
[Thu Jan 21 08:24:50 2016] [error] [client 207.46.13.16] File does not exist: /home/bereazhe/public_html/robots.txt

Mautic error log:
[16-Aug-2015 18:07:30 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 478462 bytes) in /home/bereazhe/public_html/mautic/app/bootstrap.php.cache on line 2686
[16-Aug-2015 18:07:54 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36 bytes) in /home/bereazhe/public_html/mautic/app/bootstrap.php.cache on line 2659
[16-Aug-2015 18:07:59 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 20 bytes) in /home/bereazhe/public_html/mautic/app/bootstrap.php.cache on line 2659
[16-Aug-2015 18:08:12 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36 bytes) in /home/bereazhe/public_html/mautic/app/bootstrap.php.cache on line 2659
[16-Aug-2015 18:08:33 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36 bytes) in /home/bereazhe/public_html/mautic/app/bootstrap.php.cache on line 2659
[16-Aug-2015 18:08:47 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36 bytes) in /home/bereazhe/public_html/mautic/app/bootstrap.php.cache on line 2659
[16-Aug-2015 18:11:50 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36 bytes) in /home/bereazhe/public_html/mautic/app/bootstrap.php.cache on line 2659
[16-Aug-2015 18:17:23 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36 bytes) in /home/bereazhe/public_html/mautic/app/bootstrap.php.cache on line 2659
[16-Aug-2015 18:20:40 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36 bytes) in /home/bereazhe/public_html/mautic/app/bootstrap.php.cache on line 2659
[27-Aug-2015 14:26:11 Africa/Johannesburg] PHP Warning: mkdir(): No such file or directory in /home/bereazhe/public_html/mautic/app/bundles/LeadBundle/Controller/LeadController.php on line 746
[28-Aug-2015 22:14:51 Africa/Johannesburg] PHP Warning: filemtime(): stat failed for /media/images/lead_avatars/avatar33 in /home/bereazhe/public_html/mautic/app/bundles/LeadBundle/Templating/Helper/AvatarHelper.php on line 43

Does this Help?

Those memory limits are all a few months old so I guess that’s not related. I’m out of ideas. Last chance is to debug it by a PHP programmer. If you have any in your team, ask him kindly to take a look at it.

@escopecz
LOL i am the team but thanks for the assistance so far.
so other path would be use hosted service, mautic.com

Actually, that is good idea. Create a free Mautic instance there just to test the Vtiger plugin. That will rule out the error of your server/Mautic setting. If it will act the same way there, the problem will be probably in Vtiger setting

@escopecz

ok created new instance, but still doesn’t show field mapping tab.
link text
any ideas?

Then maybe try to create a new trial instance of vTiger at vTiger.com and see if you’ll be able to connect to it.