My appointment setup is not working can you take a look?
https://calambadoctorshospital.com/index.php/component/spmedical/appointments
SP Medical Appointment Page Not Working
5 replies
Hello Aries,
Thank you for reaching out to our technical support forum. I’m sorry to hear about the trouble you’re experiencing. Rest assured, I will look into this issue for you and work to resolve it as quickly as possible.
If you could kindly provide any additional information regarding the issue, it would greatly help me investigate and address it more efficiently.
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 before sharing.
Best regards
Thanks, Ofi.
You are welcome 😊
You are using an old version of the extension. Please update your SP Medical extension and then check the issue.
Hello, Ofi. I've updated the extension but still no luck. When I tried the appointment still the same issue of looping button https://prnt.sc/MuPOPpVuUMLg
Hello, Ofi or anyone?
I have updated the php and joomla, but still no luck. can you take a look again?
It looks like a bug. I have also found this issue on my local environment. I will talk to the developer team about the bug. Then I will update you.
any updates here? it is a very critical item for us.
Apology for the delayed response. I could not talk to the team because the component developer is out of office. Please allow me some more time. I will share your issue with the team tomorrow when the developer is present.
okay, hoping that this gets resolved soon
I have got a solution from the developer. I will check it on your site. Please share your database access in the hidden content.
Here, Ofi.
Please share the database access link with credentials.
Here, @Ofi
Your mail fuction is not active. Please talk to your hosting provider to enable PHP mail function.
I'll check on this
Ofi, can you try it again. the php mail is enabled bydefault and has not been disabled. anyway, I created a new email using the platform for us to check. appreciate it if we can know the fix so we can implement as well.
Okay, I am sharing the solution with you. Please run this SQL Query on your database. Make sure to include your database prefix instead of xxxxx
ALTER TABLE `xxxxx_spmedical_appointments`
ADD `choose_patient` TINYINT NOT NULL DEFAULT '1' AFTER `department_id`,
ADD `date_of_birth` DATE NULL DEFAULT NULL AFTER `choose_patient`,
ADD `patient_gender` VARCHAR(6) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL DEFAULT 'm' AFTER `date_of_birth`,
ADD `patient_address_street` VARCHAR(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL AFTER `patient_gender`,
ADD `patient_address_city` VARCHAR(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL AFTER `patient_address_street`,
ADD `patient_address_state` VARCHAR(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL AFTER `patient_address_city`,
ADD `patient_address_zip_code` INT NULL DEFAULT NULL AFTER `patient_address_state`,
ADD `visiting_option` VARCHAR(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL AFTER `patient_address_zip_code`;
Also, go to these locations:
components/com_spmedical/assets/js/spmedical.js
components/com_spmedical/models/appointments.php
components/com_spmedical/controllers/appointments.php
components/com_spmedical/views/appointments/tmpl/default.php
and replace files with the attached files. You need to unzip the files and then replace.
Just checking in to see if you have feedback on the provided solution. If the answer resolved your query, you can mark it as accepted to close the post and guide others with similar questions. You’ll find a button to accept answers below each comment.
If you need further assistance, feel free to let us know!
Hello, Ofi. Still the same. Why??
but now the Appointments tab in the dashboard has thousands of entries. why is it so? spam?
I have added a test appointment. It seems to be working.
https://prnt.sc/uvPALaNZJBUA
yes, I got that working. The SQL script sent should be of MODIFY and sety up SMTP as well. Finally got it to work. But we're still unsure if the form is being spammed.
Glad to know this. Please use reCaptcha to prevent spamming.