We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it soon. Read more about it: https://vestacp.com/docs/vesta-2-development
cannot DELETE
cannot DELETE
Hi,
For an application I need to DELETE something but I can't.
The information from the programmers is:
https://simplyscheduleappointments.com/ ... ment-type/
I tried to make changes in .htacces and also in /home/[USER]/conf/web/[SITE.httpd.conf]
But nothing works.
Anybody an idea?
thanks, Verus.
For an application I need to DELETE something but I can't.
The information from the programmers is:
https://simplyscheduleappointments.com/ ... ment-type/
I tried to make changes in .htacces and also in /home/[USER]/conf/web/[SITE.httpd.conf]
But nothing works.
Anybody an idea?
thanks, Verus.
Re: cannot DELETE
Hi
What exactly you need to delete ?
I not understand the issue, and you not provide any error log
What exactly you need to delete ?
I not understand the issue, and you not provide any error log
Re: cannot DELETE
I can make appointment types and I need to delete one.
When I hit delete, nothing happens.
The programmer told me that the error is this:
Unable to delete an appointment or an appointment type
If Simply Schedule Appointments is working fine, but you are unable to delete an appointment type, it’s likely because of a server configuration issue. Here are some steps you can take to resolve the problem.
For non-developers
Contact your hosting company and let them know that your server is rejecting API requests using the DELETE method. Ask if they can allow DELETE requests.
If that doesn’t work, get in touch with us at [email protected]. We’ll do our best to help you out and get this working. (Or use the chat bubble at the bottom right to get in touch.)
For developers
Check your .htaccess file for rules that might be rejecting or blacklisting DELETE requests
Check your server configuration to make sure you’re not rejecting DELETE requests
If you’re using Windows hosting, check your applicationhost.config file to make sure you’re not rejecting DELETE requests
If you need help, get in touch with us at [email protected]. We’ll do our best to help you out. (Or use the chat bubble at the bottom right to get in touch.)
So I triend changing the .htaccess file, but had no success.
I also changed the .conf file in /home/[USER]/conf/web/[SITE.httpd.conf] but no succes either.
In the apache log file I can find this:
X.X.X.X - - [20/Jun/2019:13:30:37 +0200] "DELETE /wp-json/ssa/v1/appointment_types/[object%20MouseEvent] HTTP/1.0" 404 113 "https://XXXXXX/wp-admin/admin.php?page= ... ntments%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
So, the program tries to delete it but it cannot do that because of restrictions.
When I hit delete, nothing happens.
The programmer told me that the error is this:
Unable to delete an appointment or an appointment type
If Simply Schedule Appointments is working fine, but you are unable to delete an appointment type, it’s likely because of a server configuration issue. Here are some steps you can take to resolve the problem.
For non-developers
Contact your hosting company and let them know that your server is rejecting API requests using the DELETE method. Ask if they can allow DELETE requests.
If that doesn’t work, get in touch with us at [email protected]. We’ll do our best to help you out and get this working. (Or use the chat bubble at the bottom right to get in touch.)
For developers
Check your .htaccess file for rules that might be rejecting or blacklisting DELETE requests
Check your server configuration to make sure you’re not rejecting DELETE requests
If you’re using Windows hosting, check your applicationhost.config file to make sure you’re not rejecting DELETE requests
If you need help, get in touch with us at [email protected]. We’ll do our best to help you out. (Or use the chat bubble at the bottom right to get in touch.)
So I triend changing the .htaccess file, but had no success.
I also changed the .conf file in /home/[USER]/conf/web/[SITE.httpd.conf] but no succes either.
In the apache log file I can find this:
X.X.X.X - - [20/Jun/2019:13:30:37 +0200] "DELETE /wp-json/ssa/v1/appointment_types/[object%20MouseEvent] HTTP/1.0" 404 113 "https://XXXXXX/wp-admin/admin.php?page= ... ntments%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
So, the program tries to delete it but it cannot do that because of restrictions.