Hallo
I've installed Drupal 7.8 and I added the following modules:
IMCE, CKeditor, CKEditor link, Pathauto, Token, Views, Views UI

1) I created a menu, in / admin / structure / menu whit name "Il Sorriso nell'Anima"
2) In admin / structure / types / manage / settings "page of the" menu I added my menu
3) I turned on the block associated with the menus in / admin / structure / block
4) I added some pages associated with this menu "Il Sorriso nell'Anima"
Until this point everything is ok

5) I created a second menu, in / admin / structure / menu "Attività"

Now if I go to admin / structure / types / manage / page I have WSOD (White Screen Of Death)

I would like to give more information about this issue.

In / admin / reports / event / I have not found anything significantIn / admin / reports / event / I have not found anything significant :-(

For me is the second time that I reinstall Drupal on the same site and returns the same error.
Is there some form of debugging that can help to pinpoint the problem?
Thanks to all

Comments

cleverington’s picture

Can you copy/paste the actual error you are receiving? This would help in determining if it is a module, apache, or Drupal issue.

Scorpio26’s picture

Thank cleverington
in error_log_php on my server apache I have the following errors when i go in

admin/structure/types/manage/page :

16-Sep-2011 18:33:05] PHP Fatal error: Call to undefined function comment_node_type_load() in /home/nilsorrc/public_html/includes/menu.inc on line 579

In fact, the comment module is not active!

If I activate the comment module I have not errors.
But for me this is not the good solution for this site because I do not want to have comments for the various contents. Normally in D6 for not have cooments I disable the module coment.

If you need more information I'm available.

Thanks

cleverington’s picture

Scorpio26:

From menu.inc:

function _menu_load_objects(&$item, &$map) {
  if ($load_functions = $item['load_functions']) {
    // If someone calls this function twice, then unserialize will fail.
    if (!is_array($load_functions)) {
      $load_functions = unserialize($load_functions);
    }
    $path_map = $map;
    foreach ($load_functions as $index => $function) {
      if ($function) {
        $value = isset($path_map[$index]) ? $path_map[$index] : '';
        if (is_array($function)) { }
        else {
          $return = $function($value);   // <--- * YOU ARE HERE * --->
        }

Quick-answer is: Re-enable the comments module and then create your Content Types (CCK is in Core 7 now) with comments 'Hidden'. Save you hours of debugging.

Long-answer is: One of the modules is calling the comment module through _menu_load_objects.

Either the menu module itself, or through a link using the menu-module.

I believe it might actually be part of Views using the Field UI (part of Core-CCK). Not sure and that would take a long time to debug......

Here's the API link on the comment_node_type_load.

I think the solution to your problem is either the Quick Answer listed above, or creating a module/theme function for altering either A) the Field UI, or B) the menu.inc

I propose option A.........

Bèr Kessels’s picture

Here is a quick way to reproduce, using Drush.

$ drush dl drupal
//... install Drupal in browser, profile "Default"
$ drush disable comment #Answer yes.
//... visit http://example.com/admin/structure/types/manage/page/fields

Traceback:

[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP Fatal error:  Call to undefined function comment_node_type_load() in /home/ber/Documenten/HD_hackdrupal/drupal/includes/menu.inc on line 579, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP   1. {main}() /home/ber/Documenten/HD_hackdrupal/drupal/index.php:0, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP   2. menu_execute_active_handler() /home/ber/Documenten/HD_hackdrupal/drupal/index.php:21, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP   3. drupal_deliver_page() /home/ber/Documenten/HD_hackdrupal/drupal/includes/menu.inc:518, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP   4. drupal_deliver_html_page() /home/ber/Documenten/HD_hackdrupal/drupal/includes/common.inc:2438, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP   5. drupal_render_page() /home/ber/Documenten/HD_hackdrupal/drupal/includes/common.inc:2546, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP   6. block_page_build() /home/ber/Documenten/HD_hackdrupal/drupal/includes/common.inc:5501, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP   7. block_get_blocks_by_region() /home/ber/Documenten/HD_hackdrupal/drupal/modules/block/block.module:268, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP   8. block_list() /home/ber/Documenten/HD_hackdrupal/drupal/modules/block/block.module:315, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP   9. _block_render_blocks() /home/ber/Documenten/HD_hackdrupal/drupal/modules/block/block.module:658, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP  10. module_invoke() /home/ber/Documenten/HD_hackdrupal/drupal/modules/block/block.module:834, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP  11. call_user_func_array() /home/ber/Documenten/HD_hackdrupal/drupal/includes/module.inc:794, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP  12. system_block_view() /home/ber/Documenten/HD_hackdrupal/drupal/includes/module.inc:0, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP  13. menu_get_active_help() /home/ber/Documenten/HD_hackdrupal/drupal/modules/system/system.module:2059, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP  14. menu_tab_root_path() /home/ber/Documenten/HD_hackdrupal/drupal/includes/menu.inc:1685, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP  15. menu_local_tasks() /home/ber/Documenten/HD_hackdrupal/drupal/includes/menu.inc:2222, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP  16. _menu_translate() /home/ber/Documenten/HD_hackdrupal/drupal/includes/menu.inc:1917, referer: http://example.com/admin/structure/types
[Wed Nov 16 14:19:56 2011] [error] [client 127.0.0.1] PHP  17. _menu_load_objects() /home/ber/Documenten/HD_hackdrupal/drupal/includes/menu.inc:746, referer: http://example.com/admin/structure/types
Bèr Kessels’s picture

Setting to Major, because of:

An example would be a PHP error which is only triggered under rare circumstances or which affects only a small percentage of all users.

Not many users will disable comment module. But those who do, will experience some inaccessible admin pages.

So, not major because the bug or a fix is important, but because it fits exactly in the description of major.

Bèr Kessels’s picture

Priority: Normal » Major
Bèr Kessels’s picture

catch’s picture

Status: Active » Postponed (maintainer needs more info)

Does #996236: drupal_flush_all_caches() does not clear entity info cache help? Sounds like stale entity info, which is then leaving stale information in the menu router (since field UI uses that to generate menu items).

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No response from OP, closing.

Anonymous’s picture

Version: 7.8 » 7.24
Issue summary: View changes
Status: Closed (cannot reproduce) » Active

This problem is occurring with a content type I created in 7.24. Added a couple of image fields including one that used drag and drop. Disabled Drag and Drop module along with several others while troubleshooting a separate issue. Now getting WSOD when trying to manage the fields on this content type at:

admin/structure/types/manage/reviews/fields

where "reviews" is the content type.

All other content types allow admin to access /fields.

cleverington’s picture

Status: Active » Closed (outdated)
quietone’s picture

Version: 7.24 » 7.x-dev
Issue tags: -White Screen of Death, -basic pages