Hi to everyone.
I can't anymore edit my custom breadcrumbs.
Those i created works perfectly but for some reason i can't edit them anymore because when i try to enter in an edit page, it returns a blank page with only some code inside.
This is what i see on the custom breadcrumb edit page.
Same thing happens if i try to create a new custom breadcrumb.
Some help?

error.jpg23.54 KBmodum
Members fund testing for the Drupal project. Drupal Association Learn more


mayur.pimple’s picture

same issue +

rutzmosh’s picture

Issue summary: View changes

same issue any resolution thanks

Katharine_Gates’s picture

Thanks all for a great module.

However, I have a similar problem to above in that attempting to access this link: /admin/structure/custom_breadcrumbs/node/add results in a hanging browser. PHP timeout perhaps?

All admin runs through Bartik theme, so it shouldn't be theme problem.

I am in 7.x-2.0-beta1 fwiw.


blackra’s picture

A very small amount of investigation suggests that this is related to generating a large list of tokens. This can hang (although it does eventually finish - after an hour in my case), timeout or run out of memory.

I vaguely remember there being a similar issue with pathauto about 6 months ago. I wonder whether they are related.

blackra’s picture

Try installing the token_tweaks module and see whether that fixes the issue. I had to set the token depth to 2 to make it work for me.

andileco’s picture

Added what appears to be a related issue.

web226’s picture

Thank you blackra, installing Token Tweaks according to your instructions at #5 worked well for me on http://iphonesbaby.co.uk

chicagomom’s picture

I can confirm that this issue can be worked around by installing the token_tweaks module and setting the token depth to 2. It appears to be a token memory exhaustion issue. In the server logs I found:

PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in
[module location]/token/token.pages.inc

However, even with token depth set to 2, on admin/structure/custom_breadcrumbs I am still getting this error on the page:

Strict warning: Only variables should be passed by reference in custom_breadcrumbs_paths_form() (line 272 of /[module location]/custom_breadcrumbs/custom_breadcrumbs_paths/custom_breadcrumbs_paths.module).

I can, however, edit the token paths now. Thanks blackra for the workaround.