Warning: The author of this contribution does not provide support for it anymore.

Print All Posts in Topic

Memory error - Print All Posts in Topic

Memory error

by marian0810 » Fri Jun 04, 2010 3:33 pm

I installed this mod on 2 different testforums and got the same problem in both cases: it doesn't work for long topics :cry:
Topics < about 120 pages work fine, from 120-200 pages I get a blank page and from about 200 pages and up (not sure about the exact number) I get this error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 35 bytes) in /usr/home/deb***/domains/mydomain.com/public_html/forum/includes/template.php on line 482


Any idea how this can be solved? Long topics is exactly what I need this mod for :?
You and me, time and space. You watch us run!
marian0810
Former Team Member
Posts: 3011
Joined: Mon May 21, 2007 9:17 pm
Location: The Netherlands
Name: Marian

Re: Memory error

by RMcGirr83 » Sun Jun 06, 2010 2:06 pm

Sorry marian0810, it would seem to be an issue within the core code of template.php. You may want to open (or search for) a ticket within the bug tracker.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22099
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Memory error

by marian0810 » Mon Jun 07, 2010 5:31 pm

I actually managed to solve it by adding this line to my .htaccess file :D

Code: Select all

php_value memory_limit 120M
You and me, time and space. You watch us run!
marian0810
Former Team Member
Posts: 3011
Joined: Mon May 21, 2007 9:17 pm
Location: The Netherlands
Name: Marian