Number 2 and nothing else on some pages at some links in Drupal
Page contains only a numeric representation of 'two'
Research:
Menus missing, user login page not found
http://drupal.org/node/161106
content won't display on the administer page, except for the number "2"
http://drupal.org/node/233581
Answer:
The Number 2
This is very embarrassing. I took all these notes and then never recorded the answer, which I know I found.
I think maybe the problem is caused by logintoboggan sort of taking over, but I may be libeling here.
I know that Drupal internally represents ACCESS_DENIED as a constant that is equivalent to 2, so that's where this is coming from. But I'm not sure what's interfering with this b
In any case, if you have login toboggan, and you should, if you go to the settings page and enable the Show login form on access denied option.
And this will fix it.
UPDATE: Found the issue report, and my contribution to it.
Same issue here-- getting the numeral 2 instead of an access denied page (due to improperly removed login toboggan).
Administer » Site configuration » Error reporting
admin/settings/error-reportingis where this can be changed to working paths.
Posted to http://drupal.org/node/74709
Report back:
Node Adding Form Page does not display
http://drupal.org/node/223907
Resolution
More like this
- Debug a somethnig going weird in someone elses nodeapi presave
- Drush stopped installing modules. Needed -l link to site.
- hook_help does not work on content type administration pages (Drupal 6)
- Not dead yet: Overcoming fatal errors converting a theme with some override functions in template.php
- Floating point number with Drupal's db_query


Comments
Post new comment