View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0008761 | mantisbt | scripting | public | 2008-01-17 05:19 | 2021-08-07 06:41 |
| Reporter | jvanlier | Assigned To | grangeway | ||
| Priority | normal | Severity | block | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | ASP.NET | OS | Vista 32Bit | OS Version | Business |
| Fixed in Version | 1.2.0a2 | ||||
| Summary | 0008761: compress_handler called before defined | ||||
| Description | using Phalanger 2.0 beta4 to run mantis under IIS/ASP.NET | ||||
| Steps To Reproduce | Install Browse to mantis web | ||||
| Additional Information | A patch has been included but it only works around the issue by not using compress_handler if !function_exists( 'compress_handler' ) | ||||
| Tags | No tags attached. | ||||
| Attached Files | mantis-1.1.0.phalanger.patch (601 bytes)
Index: core.php
===================================================================
--- core.php (revision 1)
+++ core.php (working copy)
@@ -36,7 +36,9 @@
# Before doing anything else, start output buffering so we don't prevent
# headers from being sent if there's a blank line in an included file
- ob_start( 'compress_handler' );
+ if(function_exists( 'compress_handler' )) {
+ ob_start( 'compress_handler' );
+ } else ob_start();
# Include compatibility file before anything else
require_once( dirname( __FILE__ ).DIRECTORY_SEPARATOR.'core'.DIRECTORY_SEPARATOR.'php_api.php' );
| ||||
|
Hello, Commited a possible fix for this issue to SVN (albeit in a different way) i'm currently unable to test against phalanger as the MArch 2008 release seems to be broken for require_once() (and documented on their forums/ fixed in codeplex, but not yet in a release build.) Paul |
|
|
MantisBT: master 5ab8d058 2008-08-01 18:16 Paul Richards Details Diff |
0008761: compress_handler called before defined git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@5481 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0008761 |
|
| mod - core/compress_api.php | Diff File | ||
| mod - core.php | Diff File | ||