Fatal Error when trying to create a template for a page
tyler-durden - June 26, 2008 - 17:48
| Project: | Content Templates (Contemplate) |
| Version: | 5.x-2.04 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
As soon as I click "Create Template" for the Groups section, I get this error.
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 208761 bytes) in /home/timescom/public_html/carz4/modules/contemplate/contemplate.module on line 673
Any insight?

#1
Here's some interesting info - I don't get the error if there are NO groups created. As soon as a group is created, I get the error when clicking on "Create Template".
I can create the template when there are no groups, but as soon as a group is created and I click on "Edit Template", I then get this error.
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 139864 bytes) in /home/timescom/public_html/carz4/modules/contemplate/contemplate.module on line 665
#2
I'm getting the error with Organic Groups 5.x-7.2
I have an older setup using Organic Groups 5.x-5.4, and the error is not in that setup (Both are using Contemplate 5.x 2.01)
Should I reinstall OG 5.x-7.2, or revert to an older version on my new site i'm developing?
#3
When I try to create a template for a page, I got this fatal error
Fatal error: Cannot redeclare db_size_info() (previously declared in C:\wamp\www\drupal\includes\common.inc(1450) : eval()'d code:2) in C:\wamp\www\drupal\includes\common.inc(1450) : eval()'d code on line 9
However when I create a template for all other types such as blog, poll, forum, story, they are all working. Let me know if there is any way I can fix it.
#4
When I try to create a template for a page I got this error, slightly different than yours:
Fatal error: Cannot redeclare _get_taxonomy_tree2() (previously declared in /home/http/bebe.ch/drupal-5.18/includes/common.inc(1473) : eval()'d code:2) in /home/http/bebe.ch/drupal-5.18/includes/common.inc(1473) : eval()'d code on line 38
I dont get any error when creating a template for any of the other types. Any help would be appreciated
#5
Had a "Cannot redeclare" problem when using Views at the same time. For anyone experiencing this problem, try editing the View...