Account limit incorrectly informed in dashboard - ISPConfig 3.2.10

Discussion in 'General' started by buhler, Jun 12, 2023.

  1. buhler

    buhler Member

    In ISPConfig 3.2.10 account limits are being reported as unlimited for customers.
    It is for the administrator is informed without values or with wrong values..
    example for customers:
    Assigned web quota 50200 MB of Unlimited MB
    example for admin:
    Assigned database quota MB of Unlimited MB
     
    Last edited: Jun 12, 2023
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is this different from ISPConfig 3.2.9?
    Did you take those text from the ISPConfig Home Page, the Account Limits -part?
    What should it be, i.e. what is entered in the limit templates?
     
  3. buhler

    buhler Member

    This is different from ISPConfig 3.2.9
    Template site, email and database:
    [​IMG]

    [​IMG]

    [​IMG]

    Dashboard admin and client:

    [​IMG]

    [​IMG]

    [​IMG]
     
  4. buhler

    buhler Member

    Good morning,
    Any predictions to fix this situation?
    thank you
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

  6. buhler

    buhler Member

  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Thanks!
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

  9. buhler

    buhler Member

    Thanks Till.
    I will test it tonight.
     
    till likes this.
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you been able to test it and did it resolve your issue?
     
  11. tomasjenikovsky

    tomasjenikovsky New Member

    I have same issue with my ISPconfig and I tried to replace the items as you wrote above. I can confirm this works. Thanks.
     
    ahrasis and till like this.
  12. buhler

    buhler Member

    Til works.
    sorry for the delay in responding
     
    till likes this.
  13. Javi

    Javi New Member

    Hello,
    We've encountered the same issue. Problem originates in /interface/web/dashboard/dashboard.php:222 and /interface/web/dashboard/dashboard.php:231 when method `show()` is called without arguments. This sets `$limit_to_client_id = 0` in /interface/web/dashboard/dashlets/limits.php:5 and makes the condition in /interface/web/dashboard/dashlets/limits.php:150 to always be true, setting the `$user_is_admin = true;`, hence /interface/web/dashboard/dashlets/limits.php:166 will be true, setting `$value = $wb['unlimited_txt'];` and displaying accordingly.

    I'm aware that this reply is not the best way to report a solution candidate. Sadly, we still haven't got access to https://git.ispconfig.org/. We would love to be able to report issues and make contributions to the ISPConfig project. Please, Till, if there's something you can do, grant us access through our already https://git.ispconfig.org registered accound `[email protected]`. We already sent an email to [email protected] without luck.

    Thanks :)
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    We do not have a registered or pending account for this email address at git.ispconfig.org. Sign up for an account here https://git.ispconfig.org/users/sign_up and then send me a pm here in the forum so I can activate your user.

    The issue has already been reported:

    https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6528

    and there is a merge request here with a draft of the fix, needs more testing:

    https://git.ispconfig.org/ispconfig/ispconfig3/-/merge_requests/1761
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    ahrasis likes this.

Share This Page