Page 1 of 1

Re: Lange Scriptlaufzeit in der Version 2.5.8?

Posted: 11 Oct 2009, 21:53
by Jan
Halli, keine Idee was da falsch seien könnte. Ich laufe die Gallery auf 8MB (on localhost) oder 12Mb (on server)?

In 2.5.8 hier waren keine grosse Änderungen. Nur Zugang zu Rechten (Permissions) war geändert. In manchen Servern die Einstellung von Rechten war nicht aktzeptiert so das war geändert. Hat aber nicht mit dem Leistung zu tun, da es nur um die Datentypen gehandelt worden ist :idea:

Re: Lange Scriptlaufzeit in der Version 2.5.8?

Posted: 12 Oct 2009, 09:53
by hondo
Hi,

i have the same problem like dirk. after updating phoca gallery from version 2.2 -> 2.5.8 the site needs more than 30s to generate the categories view. on our site we have 2700 fotos in 80 categories. in version 2.2 everything worked fine, but now needs 30s for categories view, the rest works normal.

i enabled the debug mode on our website till 18:00, so you can get more information about the script runtime.
http://www.hondooo.de/galerie

thx hondo

Re: Lange Scriptlaufzeit in der Version 2.5.8?

Posted: 15 Oct 2009, 09:36
by hondo
hi,
i found out why the galleries view was so slow. in categories, you have called the function getPhocaIc() for each gallerie. this function parse an xml file to determine the phoca gallery version. runtime is 0.2 - 0.3sec - in your case 80 galleries - 16sec.

the solution is to call getPhocaIc() only once, befor starting to interate over all galleries.

Re: Lange Scriptlaufzeit in der Version 2.5.8?

Posted: 16 Oct 2009, 20:38
by Jan
Hi, thank you for this info, it should be fixed now. It is fixed in the same version ( 2.5.8 ) so please download this version and upgrade and let me know. Thank you, Jan