View Issue Details

IDProjectCategoryView StatusLast Update
0005029mantisbtwebpagepublic2005-04-18 10:41
Reporterdeboutv Assigned Tothraxisp  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.2 
Summary0005029: Queries and timings are not shown in login page
Description

The correction of bug 0004921 has introduced a new bug. The end of login_page is not displayed correctly when the anonymous_login is disabled: the timings and the database queries are not displayed.
Here is the end of the login_page.php generated by the Apache server:


<hr size="1" />
<address>Copyright © 2000 - 2004 Mantis Group</address>
As you can see, the tag </body></html> are not generated.

TagsNo tags attached.

Relationships

has duplicate 0005160 closedthraxisp Login page exits prematurely; closing tags missing 
child of 0004937 closedvboctor Mantis 1.0.0a1 Release 

Activities

thraxisp

thraxisp

2004-12-21 20:21

reporter   ~0008754

You may be seeing a suppressed exception at the end of the page. Could you enable the error handler and report the results? I can't reproduce this with the current CVS image.

Enable the error handler by adding "$g_display_errors = array(E_WARNING => 'halt', E_NOTICE => 'halt', E_USER_ERROR => 'halt', E_USER_WARNING => 'halt', E_USER_NOTICE => 'halt');" to your config_inc.php file.

deboutv

deboutv

2004-12-22 02:36

reporter   ~0008755

I'm sorry but with the error handler enabled I have no more information. I have tracked the bug manually (by adding comment) and it seems that the error comes from the access_denied function.
This function is called by auth_get_current_user_id(): the MySQL query is "SELECT id FROM mantis_user_table WHERE cookie_string=''". This query returns no result so db_num_rows($result) is < 1 and the access_denied function is called.
Note: $g_anonymous_account = '';

thraxisp

thraxisp

2004-12-22 10:34

reporter   ~0008756

I think that this has been fixed as a side effect of 0004995: Sign up for a new account no longer works...

deboutv

deboutv

2004-12-22 10:47

reporter   ~0008758

By applying the patch described in 0004995, the problem is resolved but the administrator email is displayed (it is not a problem for me).