Describe the bug
With my really poor hosting provider running MySQL 5.7.44, there are lots of issues with the database not executing or returning quickly. Sometimes, the dates won't save at all and it's not clear if anything is happening. Sometimes, it'll go through, other times it won't.
I spent some time investigating and introduced some indicators of something happening and an error state. This at least gives feedback to the user. There's lots around CSFR tokens in the process.
To Reproduce
Steps to reproduce the behavior:
- Go to a members roles
- Click edit to change dates
- Makes changes and press OK
- In some instances, not 100% nothing happens. Using NetworkSolutions (formerly iPage)
Basic Hosting shows the issue.
Expected behavior
I expect it to work, but if it doesn't, I expect feedback.
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):
- Admidio-Version 5.0.11
- PHP 8.3.4
- Database MySQL 5.7.44
- Browser Chrome
- Browser-Version Latest
Additional context
Created a PR with what's "helped" in my instance:
#2074
Describe the bug
With my really poor hosting provider running MySQL 5.7.44, there are lots of issues with the database not executing or returning quickly. Sometimes, the dates won't save at all and it's not clear if anything is happening. Sometimes, it'll go through, other times it won't.
I spent some time investigating and introduced some indicators of something happening and an error state. This at least gives feedback to the user. There's lots around CSFR tokens in the process.
To Reproduce
Steps to reproduce the behavior:
Basic Hostingshows the issue.Expected behavior
I expect it to work, but if it doesn't, I expect feedback.
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):
Additional context
Created a PR with what's "helped" in my instance:
#2074