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
Blank page after login
Moderators: Developer, Contributor
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.
http://www.yoursite.com/index.php directly?
I'd check your apache logs and see what's up.
Still looking
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.
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.
Why not modify 'congig_defaults_inc.php'
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
#############################
# 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