PLease help in users DIR have 10000 avatars
-
- Inscrit en : 06.12.03
- Dernière visite : 15.08.09
- Messages : 4294967292
PLease help! I have images/avatar/users DIR - above 10000 avatars
index.php?module=pnavatar shows error time error
Whats happen.
Please help !!!
-
- Rang : Site Admin
- Inscrit en : 06.12.03
- Dernière visite : 25.02.10
- Messages : 274
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 ? -
- Rang : Site Admin
- Inscrit en : 06.12.03
- Dernière visite : 25.02.10
- Messages : 274
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.
Utilisateurs en ligne
- 7 visiteurs
Données pour les 15 dernières minutes








