User login

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

Resolution

Searched words: 
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

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.