View Issue Details

IDProjectCategoryView StatusLast Update
0002015mantisbtbugtrackerpublic2003-12-13 05:00
Reporterbrody Assigned Toaarjona  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
PlatformNTW12245OSWindows NT 4OS Version1381 SP 6
Product Version0.17.3 
Summary0002015: startup (display of login screen) give's up with an empty page
Description

starting mantisbt0.17.3 show's no login screen. The previous version 0.17.2 didn't show any problem there

Steps To Reproduce

change between the two last installation (identical configured) of mantis e.g. 0.17.2 and 0.17.3

Additional Information

Logfile (apache1.3.24) from startup of 0.17.2

apache accesslog
149.67.4.111 - - [22/May/2002:12:56:33 +0200] "GET /bugtrack/ HTTP/1.1" 302 13
149.67.4.111 - - [22/May/2002:12:56:34 +0200] "GET /bugtrack/login_page.php HTTP/1.1" 200 5766
{no errorlog entries)

Logfile (apache1.3.24) from startup of 0.17.3

apache accesslog:
149.67.4.111 - - [22/May/2002:12:51:22 +0200] "GET /bugtrack/ HTTP/1.1" 200 13
apache errorlog:
[Wed May 22 12:51:22 2002] [error] [client 149.67.4.111] PHP Warning: Use of undefined constant OFF - assumed 'OFF' in c:mantis0.17.xcore_API.php on line 12
[Wed May 22 12:51:22 2002] [error] [client 149.67.4.111] PHP Warning: Undefined variable: g_register_globals in c:mantis0.17.xcore_API.php on line 12
[Wed May 22 12:51:22 2002] [error] [client 149.67.4.111] PHP Warning: Cannot add header information - headers already sent in c:mantis0.17.xcore_print_API.php on line 18
[Wed May 22 12:51:22 2002] [error] [client 149.67.4.111] PHP Warning: Cannot add header information - headers already sent in c:mantis0.17.xcore_print_API.php on line 20
[Wed May 22 12:51:22 2002] [error] [client 149.67.4.111] PHP Warning: Cannot add header information - headers already sent in c:mantis0.17.xcore_print_API.php on line 21
[Wed May 22 12:51:22 2002] [error] [client 149.67.4.111] PHP Warning: Cannot add header information - headers already sent in c:mantis0.17.xcore_print_API.php on line 22
[Wed May 22 12:51:22 2002] [error] [client 149.67.4.111] PHP Warning: Cannot add header information - headers already sent in c:mantis0.17.xcore_print_API.php on line 23
[Wed May 22 12:51:22 2002] [error] [client 149.67.4.111] PHP Warning: Cannot add header information - headers already sent in c:mantis0.17.xcore_print_API.php on line 27

TagsNo tags attached.

Relationships

has duplicate 0002032 closedaarjona After install and configuration I could not run the app 

Activities

aarjona

aarjona

2002-05-22 07:37

reporter   ~0002637

this type of warning is probably due to some HTML content already pushed to the browser and then trying to redirect to another page.

you might want to try setting your output_buffering variable to On in php.ini

php.ini comment follows:

; Output buffering allows you to send header lines (including cookies) even
; after you send body content, at the price of slowing PHP's output layer a
; bit. You can enable output buffering during runtime by calling the output
; buffering functions. You can also enable output buffering for all files by
; setting this directive to On.

brody

brody

2002-05-22 09:40

reporter   ~0002640

the output_buffering variable in php.ini (php4.1.2) is set to one, i.e. to 4096 bytes, as stated in the comment. for testing purpose set to 'On', which is interpreted as 1 didn't fix the problem

Additionally:
apache is configured to resolve the relative link /bugtrack/ to the index.php page (in both versions)

aarjona

aarjona

2002-05-22 12:15

reporter   ~0002642

my bad

did some testing, and the situation is the following:

with all warnings and notices set to appear in php.ini I was able to reproduce your problem.

a change made in core_API.php is the culprit.

the config and constants include()'s and requiere()'s were below some code that made use of some vars and constants.

I moved the following lines:

require( "constant_inc.php" );
require( "./default/config_inc1.php" );
if ( file_exists( "config_inc.php" ) ) {
include( "config_inc.php" );
}

Load file globals # @@@ ugly hack for ugly problem. Find better solution soon

require( "./default/config_inc2.php" );

before this line:
ini_set("magic_quotes_runtime", 0);

and that did it.

Please confirm if this solves your problem, so I check the change in.

brody

brody

2002-05-23 01:35

reporter   ~0002649

Solves the problem. For us mantisbt0.17.3 is up and running now.

Many thanks.

aarjona

aarjona

2002-05-23 06:57

reporter   ~0002653

fixed in CVS