PLease help in users DIR have 10000 avatars  Début



  • PLease help! I have images/avatar/users DIR - above 10000 avatars

    index.php?module=pnavatar shows error time error

    Whats happen.

    Please help !!!

  • Could you try:
    index.php?module=pnavatar&mode=1
    To see if it help.
    If it don't work, I think I will need to modify the module because I never conceived it to manage such a big amount of avatars.
    Maybe we can introduce avatar categories and use subdirectories ?
    How was it working before you install pnavatar ? How your users can choose an avatar from a menu with 10000 lines ?
  • I looked at the code and I think I can introduce some caching that will greatly improve performance in the case of numerous avatars.
    The problem was that the getall function needed 2 database queries for each avatar wich was very bad !!
    Send me a private message on this website with your mail and I will send you a modified pnuserapi.php file to test.
  • 7 visiteurs

Données pour les 15 dernières minutes