Blank page after login

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
conuil
Posts: 3
Joined: 18 Aug 2006, 14:32
Location: ireland

Blank page after login

Post 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
shark
Posts: 43
Joined: 12 Jul 2005, 22:23

Post by shark »

I was getting that when my ldap was misconfigured.
gravyface
Posts: 20
Joined: 16 Aug 2006, 20:48

Post 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.
conuil
Posts: 3
Joined: 18 Aug 2006, 14:32
Location: ireland

Reply

Post 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
conuil
Posts: 3
Joined: 18 Aug 2006, 14:32
Location: ireland

Still looking

Post 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.
jphuart
Posts: 3
Joined: 23 Nov 2006, 10:18

Post 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
jphuart
jphuart
Posts: 3
Joined: 23 Nov 2006, 10:18

Why not modify 'congig_defaults_inc.php'

Post 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
jphuart
Post Reply