I just tried this way: https://docs.espocrm.com/administration/web-to-lead with the directly in webbrowser method. It works great and EspoCRM writes new entries in the protocol.
But how to make the form as nice as like the one from devcrm.it ?
Web-to-Lead question
Collapse
X
-
I can see the follow.
access.log: 192.168.2.66 - - [11/Jan/2024:22:52:11 +0100] "POST /test/send.php HTTP/1.0" 200 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0" "-"
nothing in the error.logLeave a comment:
-
cracksilver,
Please check the server errors logs on which EspoCRM is hosted. Maybe some requests from outside are prohibited.Leave a comment:
-
Hi lazovic
Thanks for reply. It is true, in the video shows a white page aswell. But he becomes after sending the form some entries below in his protocol. That's what i miss ;-)
Below you see my entry point. Actually there isn't much to do...
Leave a comment:
-
Hi cracksilver,
I just tested the solution provided by devcrm.it and it works correctly.
After entering the data in the form, we actually get to an empty window (and this is normal, in the video we also get to an empty window). At the same time, a new lead record appears in EspoCRM.
However, there is a more lightweight solution, using a HTML file: https://docs.espocrm.com/administrat...-a-web-browser.
You just need to create a file on the server with any name and HTML format (like web-to-lead.html), and then run it in the browser.
Please keep in mind that you need to change one line in the file ( let url = 'https://URL_OF_YOUR_CRM/api/v1/LeadCapture/API_KEY'; ) to the value that you can find on the Detail View of your Web-to-Lead in the instance.
However, could you please show a screenshot of your Web-to-Lead settings in your instance? Perhaps there will be a reason for the problem with the solution from devcrm.it.Leave a comment:
-
If I go with this manual, where should I put this code in? And does I need php or phyton or both of this?Hi cracksilver,
Also, perhaps the following thread will be helpful:
https://docs.espocrm.com/administration/web-to-lead
thx for further assistance.Leave a comment:
-
this is the only entry in the log. But the API number is from the very first test. Meanwhile I use a new entry point because the first one didn't work.
Leave a comment:
-
[2024-01-10 13:53:35] WARNING: (404) Controller '75a0d3ec6aef598f00b90cb554e13664' does not exist.; GET /75a0d3ec6aef598f00b90cb554e13664; line: 190, file: /var/www/espocrm/application/Espo/Core/Api/ControllerActionProcessor.phpLeave a comment:
-
Hi cracksilver,
Please provide error log: {ESPO_ROOT}/data/logs/ and related screenshots to get more details.
Also, perhaps the following thread will be helpful:
Leave a comment:
-
Web-to-Lead question
Hi there
I'm using EspoCRM 8.0.3, SalesPack 1.1.9, Espo Plus 1.8.2
Tried to configure a contact form to catch the messages from my homepage directly to EspoCRM as leads.
- activated entity leads
- added a new Web-To-Lead entry point
- new folder in public html called /test
- added index.php (664) with this HTML code: https://dubas.pro/link/Np3Wy
- send.php (775) files with this PHP script: https://dubas.pro/link/Bw6AC
- changed API Link in send.php to my API Link from the entry point
- filled the form and clicked send button
There is nothing happen. I just get a white blank page after a while.
Whether a new lead in the lead list nor something in the protocol.
All this information I got from this Video from devcrm.it: https://www.youtube.com/watch?v=Fe2V5-mry8g&t=39s
Does someone has any ideas or know where I can get some log entries? Or should I go a completely other way to reach my goal?
best regards cracksilver

Leave a comment: