Agaric Design Collective

Number 2 and nothing else on some pages at some links in Drupal

By Benjamin Melançon
on 10 Jul
0 comments

Key words and phrases

number 2 alone only numeral two access denied blank page number Drupal blank number 2 Benjamin Melançon Drupal blank page 2 Benjamin Melançon numeral numeric page only number Drupal module number 2 only agaric shows only number site:drupal.org shows only number update.php site:drupal.org cache 2 output 2 "number 2" site:drupal.org 2 access denied

Tags

Description

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-reporting

is 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

 

Post new comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <small> <pre> <strike> <sub> <sup> <kbd> <s>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.