Page 1 of 1

Blank page after login

Posted: 18 Aug 2006, 14:56
by conuil
I'm using Mantis 1.0.5 with PHP 5.1.4 and MySQL5.0.24. Everything seems to be working but when I login (from the login_page.php) i get transfered to a blank login.php page.

It appears however that I am actually logged on because if I manually move myself to the main_page.php. It shows that I am logged in as the user I logged in as.

I have set the default $g_default_home_page='main_page.php'; but it seems to make no difference.

Any ideas how I get it to go to the main page after login.

Thanks

Emmet

Posted: 18 Aug 2006, 15:04
by shark
I was getting that when my ldap was misconfigured.

Posted: 18 Aug 2006, 20:48
by gravyface
in the directory root, there's an index.php which redirects to the login page or the main page if you're authenticated. What happens if you request
http://www.yoursite.com/index.php directly?

I'd check your apache logs and see what's up.

Reply

Posted: 21 Aug 2006, 08:10
by conuil
If I point the browser at index.php I get a blank page. I'm not using apache I'm using IIS. Is there something wrong with the redirection on IIS?

Emmet

Still looking

Posted: 21 Aug 2006, 13:53
by conuil
Is it possible to use some other authentication method other than ldap?

I really am lost here?

Emmet

OK Finally got it to work. The last change I made was to use quotes on the line
$g_use_iis="ON";

in config_inc.php. The whole thing seems to work now.

Posted: 23 Nov 2006, 10:24
by jphuart
Thanks a lot for this indication, it has solved my problem.

It was puzzling because mantis was working perfectly when using the browser on the server where it was installed, while I had blank screens on all the remote connections.

Ciao

Why not modify 'congig_defaults_inc.php'

Posted: 23 Nov 2006, 10:33
by jphuart
The original is

#############################
# Web Server
#############################

# Using Microsoft Internet Information Server (IIS)
if ( isset( $_SERVER['SERVER_SOFTWARE'] ) ) { # SERVER_SOFTWARE not defined in case of php-cgi.exe
$g_use_iis = ( strstr( $_SERVER['SERVER_SOFTWARE'], 'IIS' ) !== false ) ? ON : OFF;
} else {
$g_use_iis = OFF;
}


To be corrected in (just add quotes around ON and OFF)

#############################
# Web Server
#############################

# Using Microsoft Internet Information Server (IIS)
if ( isset( $_SERVER['SERVER_SOFTWARE'] ) ) { # SERVER_SOFTWARE not defined in case of php-cgi.exe
$g_use_iis = ( strstr( $_SERVER['SERVER_SOFTWARE'], 'IIS' ) !== false ) ? 'ON' : 'OFF';
} else {
$g_use_iis = 'OFF';
}

It works.

Ciao