Hallo,
meine Website liegt ebenfalls auf einem Server bei 1&1. Ich habe inzwischen >1500 Bilder in rund 100 Kategorien in der Datenbank. Hierbei handelt es sich nicht um ein Problem von Phoca Gallerie, sondern um eines bei 1&1.
Der Provider läßt nur eine kurze Zeit zur Ausführung des Scriptes zu. Wenn die überschritten wird, das Script aber noch nicht fertig ist, gibt es diesen "Internen Server Fehler". Die Lösung besteht darin, das Script weniger zu beschäftigen: Also: Weniger Bilder in einem Unterverzeichnis, weniger Bilder auf einer Seite im Admin-Interface, kleinere Aufteilung in Kategorien.
Olaf
Probleme mit bei mehr als 1000 Datenbankeinträgen
-
olafd
- Phoca Newbie

- Posts: 8
- Joined: 04 Jan 2008, 23:34
- Jan
- Phoca Hero

- Posts: 49279
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Probleme mit bei mehr als 1000 Datenbankeinträgen
Und siehe auch das Parameter:
Pagination Thumbnail Creation
https://www.phoca.cz/documents/2-phoca-g ... -menu-item
Pagination Thumbnail Creation
https://www.phoca.cz/documents/2-phoca-g ... -menu-item
If you find Phoca extensions useful, please support the project
-
panade
- Phoca Member

- Posts: 10
- Joined: 08 Sep 2008, 16:47
Re: Probleme mit bei mehr als 1000 Datenbankeinträgen
Bedeutet dass, dass die Thumbnails beim ersten Aufruf durch den User erzeugt werden und dann immer wieder?Jan wrote:Und siehe auch das Parameter:
Pagination Thumbnail Creation
https://www.phoca.cz/documents/2-phoca-g ... -menu-item
Ich habe die gleiche Konstellation wie oben und extreme Probleme bei 2000+ Bildern in ca. 100 Gallerien... Es ust fast unmöglich eine Gallerie zu erzeugen.
Kann man dass nicht anders lösen, also weniger speicherintensiv?
Gruss
Stefan
- Jan
- Phoca Hero

- Posts: 49279
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Probleme mit bei mehr als 1000 Datenbankeinträgen
Pagination Thumbnail Creation
This parameter reduce the using of memory expressively...
Why?
Phoca Gallery (if autamatically thumbnail creation is enabled) want to try find images which doesn't have thumbnails, if it find some, it will do thumbnail for this image...
It loads names of all images into the script and test them... so if you have e.g. 1000 images,it loads 1000 names from database (so it can slow the system)... But if you enable the Pagination Thumbnail Creation, it loads information (image name) from only e.g. 20 images (100 if you set pagination to 100)... e.g. on my servers (php5, 8MB ram, suse) there is no problem e.g. with 3000 images but if you have a lot of images and you have problem with slow server, this can help you
Pagination Thumbnail Creating ==> loads information about image names (loads names from database, testing if thumbnail is created or not can slow the system) ... setting this parameter to yes and set pagination to 100, it loads only 100 names and test only 100 images (for next 100 images you will go to the next site)
Automatically Thumbnail Creating ==> in this case Phoca Gallery will not create thumbnails automatically and will not test it, so if you are not planning to make thumbnails, this will speed up your system...
So das heisst, das die Thumbnails nur einmal erzeugt sind, weil es getestet ist, ob Thumbnail existiert oder nicht (es kann aufwending nicht wegen Erzeugung aber wegen Testen sein - das könnte man aber mit Parameters auszuschalten)
Jan
This parameter reduce the using of memory expressively...
Why?
Phoca Gallery (if autamatically thumbnail creation is enabled) want to try find images which doesn't have thumbnails, if it find some, it will do thumbnail for this image...
It loads names of all images into the script and test them... so if you have e.g. 1000 images,it loads 1000 names from database (so it can slow the system)... But if you enable the Pagination Thumbnail Creation, it loads information (image name) from only e.g. 20 images (100 if you set pagination to 100)... e.g. on my servers (php5, 8MB ram, suse) there is no problem e.g. with 3000 images but if you have a lot of images and you have problem with slow server, this can help you
Pagination Thumbnail Creating ==> loads information about image names (loads names from database, testing if thumbnail is created or not can slow the system) ... setting this parameter to yes and set pagination to 100, it loads only 100 names and test only 100 images (for next 100 images you will go to the next site)
Automatically Thumbnail Creating ==> in this case Phoca Gallery will not create thumbnails automatically and will not test it, so if you are not planning to make thumbnails, this will speed up your system...
So das heisst, das die Thumbnails nur einmal erzeugt sind, weil es getestet ist, ob Thumbnail existiert oder nicht (es kann aufwending nicht wegen Erzeugung aber wegen Testen sein - das könnte man aber mit Parameters auszuschalten)
Jan
If you find Phoca extensions useful, please support the project
-
panade
- Phoca Member

- Posts: 10
- Joined: 08 Sep 2008, 16:47
Re: Probleme mit bei mehr als 1000 Datenbankeinträgen
Thank you Jan, now I got it... it worked perfektly so far.
4351 pics in 110 categories... I'm done
Thanks
Stefan
4351 pics in 110 categories... I'm done
Thanks
Stefan
- Jan
- Phoca Hero

- Posts: 49279
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Probleme mit bei mehr als 1000 Datenbankeinträgen
If you find Phoca extensions useful, please support the project