When I go to admin/settings/menutrails I suddenly get blank screen. No error, no html code, nothing.

I upgraded to latest D5 dev version. I have noticed such behavior before on my site, it happens elsewhere when there is a PHP error. Error displaying is OFF at admin/settings/error-reporting... I tried to turn it ON again. But still the same behavior.

Menutrails itself are working fine, I just cant add new rules for content types I just created.

There must be some collision with something else on site, I wish I could at least see some errors, to point me in right direction.

Thanks a lot!

Comments

borgo’s picture

Status: Active » Closed (works as designed)

Ok, I have found the problem myself. I recently added cca 3000 terms to a vocabulary - Cities. I did that by hard importing to term tables.

I went back with backups of tables term_data and term_hierarchy and it worked fine.

It falls simply because on settings page it is trying to create 3000 selects for every term in vocabulary. That is too much for the server.

What I did as a quick fix is commented the part of function menutrails_settings_form() which handles display of term selects. As long as I dont need them, it solves it.

I suggest some per vocabulary setting - what gets handled by menutrails.