Hi,
I am using etemplates + dbtools to display all rows in a table using the autorepeat functionality of the grid-widget as explained in tutorial at http://www.egroupware.org/index.php?page_name=wiki&wikipage=CodeCorner5
It’s working well as explained in the tutorial for small number of rows. But it’s very slow and taking lot of memory when it has lot of rows to display.
I need to display around 2500 rows. But when I tried it, it showed following error:
“Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 35 bytes) in /var/www/egw/etemplate/inc/class.boetemplate.inc.php on line 649”
To fix this, I increased php memory_limit to 128 M in /etc/php5/apache2/php.ini, but that did not fix it. I then inserted
– ini_set(“memory_limit”, “64M”); – into the display function of class.uiabcinc.php and then got following error:
Fatal error: Maximum execution time of 60 seconds exceeded in /var/www/egw/etemplate/inc/class.boetemplate.inc.php on line 649
Any ideas to fix this problem? Are 2500 rows too many for etemplate autorepeat system to work with?
Thanks,