By dashton on
I've reinstalled Drupal 6 three times with this problem. Navigation works for a while but then freaks out and fails to render the page, it just prints a huge array:
Array ( [#tree] => 1 [mlid:232] => Array ( [#item] => Array ( [load_functions] => [to_arg_functions] => [access_callback] => user_access [access_arguments] => a:1:{i:0;s:14:"access content";} [page_callback] => blog_page_last [page_arguments] => a:0:{} [title] => Blogs [title_callback] => t [title_arguments] => [type] => 20 [description] => [menu_name] => navigation [mlid] => 232 [plid] => 0 [link_path] => blog [router_path] => blog [link_title] => Blogs [options] => Array ( ) [module] => system [hidden] => 1 [external] => 0 [has_children] => 1 [expanded] => 0 [weight] => 0 [depth] => 1.....
And it goes on and on...
Has anybody heard of this happening?
Thanks
Comments
Do you have a
Do you have a print_r(…) nestled in your theme somewhere? Or is there some sort of error message at the end of the array, that might give an indication of why it’s printing instead of rendering the menu?
___________________
It’s in the detaιls…
Chances are ...
Chances are that you've installed a module which is still under development and the author forgot to remove a print_r() or var_dump() statement somewhere. You can either comb the source of suspicious modules, locate the statement, remove it and leave a note in the proper issue queue, or else just disable/remove the module and wait for an updated version.
Cheers,
efolia
probably a module
I reinstalled drupal 6 and am keeping track of what modules are enabled and seeing if I can replicate the problem. Hopefully I can't, but if I do I'll comb through the array to see if I can find anything and disable modules until it works again.
I had CCK and devel enabled. Although, no CCK fields had been assigned and I don't know if that would make difference.
I hadn't used print_r in my template files, so I don't think it was there.
Thanks for the tips-
dashton