Closed (fixed)
Project:
Custom Breadcrumbs
Version:
7.x-2.0-alpha3
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Reporter:
Created:
20 Mar 2013 at 14:56 UTC
Updated:
29 Jan 2019 at 10:59 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
mayur.pimple commentedsame issue +
Comment #2
rutzmosh commentedsame issue any resolution thanks
Comment #3
katharine_gates commentedThanks 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.
--KG
Comment #4
blackra commentedA 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.
Comment #5
blackra commentedTry 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.
Comment #6
andileco commentedAdded what appears to be a related issue.
Comment #7
web226 commentedThank you blackra, installing Token Tweaks according to your instructions at #5 worked well for me on http://iphonesbaby.co.uk
Comment #8
chicagomom commentedI 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.
Comment #9
artem_sylchukHello, The token module documentation recommends using theme_token_tree_link over theme_token_tree:
Attached patch changes token_tree to token_tree_link. It fixes configuration page.
Comment #10
aryashreep commentedThanks @james_kerrigan #9 fixes is working for me.
Comment #11
sean_e_dietrichI have been able to confirm that the following patch works for me and also helps load the page in a shorter amount of time.
Comment #12
sean_e_dietrichMarking RTBC as patch applies.
Comment #13
renatog commentedReally works good!
+1 to it
Comment #15
renatog commentedCommitted to the dev branch.
Thank you all for contributing.
Best,