Opened 14 years ago

Closed 12 years ago

#31 closed defect (fixed)

memory exception when editing page

Reported by: dietuyt Owned by: radu.simionescu@info.uaic.ro
Priority: critical Milestone:
Component: Website Version:
Keywords: Cc:

Description

I found out there is a serious bug causing the site to hang sometimes.

It happens eg when doing the following:

go to http://www.clarin.eu/node/2470 and click on "edit"

This throws an out of memory exception:

[Mon Nov 15 11:39:57 2010] [error] [client 172.16.16.23] PHP Fatal
error: Allowed memory size of 268435456 bytes exhausted (tried to
allocate 16 bytes) in /var/www/drupal/includes/database.inc on line 202, referer: http://www.clarin.eu/node/2470

The bug is caused by the hierarchy module that is installed at:

/var/www/drupal/sites/all/modules/hierarchy

However I think that Corina has altered the code of this module, as
indicated by the "(custom CLARIN module)" note at
http://www.clarin.eu/admin/build/modules

So you might need to do a diff with the original sources of the module to find out where things went wrong:

http://drupal.org/project/nodehierarchy

Change History (3)

comment:1 Changed 13 years ago by dietuyt

workaround (you need admin permissions at the clarin.eu site to do this - Twan has these permissions):

go to http://www.clarin.eu/admin/build/modules
go to CLARIN Custom Modules and remove the checkbox before Hierarchy and scroll down and click on Save configuration
go to the page and change it

go back to http://www.clarin.eu/admin/build/modules > CLARIN Custom Modules and re-enable the hierchy module

comment:2 Changed 12 years ago by dietuyt

Fixed for clarin.eu/cmdi by manually changing the parent_nid in the hierarchy table. The problem was that the node id and the parent node id where similar, most probably resulting in an endless loop.

comment:3 Changed 12 years ago by dietuyt

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.