Skip to content

Editing dates on a members profile is not always successful #2073

Description

@Rvice

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:

  1. Go to a members roles
  2. Click edit to change dates
  3. Makes changes and press OK
  4. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions