I am using the Medico Template and I have added new fields to the appointment section. I have added fields to all the places that need to be added (including the database). I can create a new appointment as I want from the admin section, but when I try to fill and send it from my web page, it gives an error. This error is ajax post error. What could be the cause of this problem?
Error creating an appointment in Medico Template
9 replies
Hello Zafer Kabakçıoğlu
Apology for the inconvenience. Since you have added new fields, then you have to debug the issue. Sorry, we do not provide customization support.
Best regards
I tried to create an appointment by going back to the first version of the site, but I realized that this error has been there since the beginning, that is, in fact, I have not been able to create an appointment from the appointment page on the front page of the site since the beginning.
image -> https://ibb.co/X7S4x0q
Apology for the inconvenience. Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials. Make sure that you have a full site backup with you before sharing.
The appointment page appears under pages in the interface. Please let me know of any changes you can make. the site has now been snapshotted back to its unchanged state with the appointment section
any solution?
Please take a full site backup with Akeeba Backup in ZIP format and share here. Follow this tutorial
Here is the link
Any news?
I have checked your site backup. The appointment form from SP Medical works fine. But your overridden file has issues. You have added this file to customize the view.
templates/shaper_medico/html/com_spmedical/appointments/default.php
Please fix the issues in this file. Sorry, we do not provide customization support. So, I cannot help you further here.
As I said, I am getting this error in the old version of the site. I already replaced this file with the old one.
as I understand it, the error comes from the visitorip section of the database and this is a part that has already been added and has never been touched by us.
<title>Error: 1265 Data truncated for column 'visitorip' at row 1</title>
Please check your overridden file. Hopefully you will get the solution.