Staff replied Templates

Error creating an appointment in Medico Template

Asked by Zafer Kabakçıoğlu 3 years ago Last activity 3 years ago

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?

9 replies

Ofi Khan Staff

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

Zafer Kabakçıoğlu Asked this

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

Ofi Khan Staff

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.

Zafer Kabakçıoğlu Asked this

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

Zafer Kabakçıoğlu Asked this

any solution?

Ofi Khan Staff

Please take a full site backup with Akeeba Backup in ZIP format and share here. Follow this tutorial

Zafer Kabakçıoğlu Asked this

Here is the link

Zafer Kabakçıoğlu Asked this

Any news?

Ofi Khan Staff

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.

Zafer Kabakçıoğlu Asked this

As I said, I am getting this error in the old version of the site. I already replaced this file with the old one.

Zafer Kabakçıoğlu Asked this

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 &#039;visitorip&#039; at row 1</title>

Ofi Khan Staff

Please check your overridden file. Hopefully you will get the solution.

Log in to reply.