Dependency Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002953 | mantisbt | bugtracker | public | 2003-02-19 13:32 | 2003-12-13 04:41 |
| Reporter | vboctor | Assigned To | jfitzell | ||
| Priority | normal | Severity | block | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | git trunk | ||||
| Summary | 0002953: View all bugs page empty | ||||
| Description | After updating my Mantis version at home from CVS, the view all bugs page is empty, even the filter is not displayed. This was fixed when I commented the compress_enable(); line. | ||||
| Additional Information | IIS | ||||
| Tags | No tags attached. | ||||
|
Also everything worked fine when I disabled the compression feature: |
|
|
Julian, can you please have a look at this one. |
|
|
Yeah I'll have a look on the weekend... though I tested it pretty thoroughly and didn't see any problems so I may not be able to reproduce. |
|
|
Victor, I can't reproduce this at all. Can you confirm that you still see this with CVS HEAD? The blank screen on view_all_bug_page was the problem I always used to see any time there was an error on that page. That was the exact problem I was solving when I rewrote the compression stuff. I've tried triggering a warning and an error both before and after the compression is turned on and I can't make it happen. I'm using IE 6 and I've tried it against php 4.1.2, 4.2.x and 4.3.x I don't have IIS so I can't test that. |
|
|
I committed a workaround that will be included in 0.18.0a3. This is to automatically disable compression when running on an IIS server. Although this is not an optimum solution, it will save the 0.18.0 users from dealing with this |
|
|
I am running on Apache on windows and I am seeing the same problem. view_all_bugs is completely blank. I am running a3. ;-( edited on: 03-14-03 21:42 |
|
|
Look at the manual for ob_gzhandler. The first note states you have to compile --with-zlib or you don't get any error just don't get anything. I don't think the Windows PHP is compiled with this. You may want to default this feature to OFF, and allow the user to turn it on if they want. edited on: 03-14-03 22:00 |
|
|
can you confirm that? The docs for the ZLib extension on the php page say: "The windows version of PHP has built in support for this extension. You do not need to load any additional extension in order to use these functions." Also, the server on calaquendi.net does not have zlib compiled in and it does have compression turned on, so it looks like ob_gzhandler() is smart enough to notice that it can't do the compression. Either that or the comment you refer to is wrong. If you run "php -m" you'll get a list of modules which should include zlib if it is compiled in (you could also look at phpinfo() output of course) If you are correct this is an interesting lead and I can certainly add a check to make sure zlib is there before we try to compress. Perhaps this is problematic only in certain versions of PHP? Actually, I'm going to commit the check for the module so try updating and let me know if it helps or not. |
|
|
It looks as if it is compiled. Just compiled as a module that is not turned on by default. You need to go into php.ini and remove the ; infront of the php_zlib extension. I haven't tried this because the server is at work, but I will on Monday. This sounds like it'll work though. |
|
|
Ok, well if you wouldn't mind trying to new code to see if it prevents the blank screen first that would be very helpful. Then if you can get compression working, so much the better - we'll need to add an FAQ for it if it works. |
|
|
Ok. I just tested with 0.18.0a3. To get this to work on Windows, you need to:
PHP Windows is compiles the zlib as an insertable module. I have tested this on my Apache, Win2k box and it fixed my problem. |
|
|
I will add a comment to the config file about that. Any chance you could test the code in CVS (with that library still commented out) just to see if my fix got rid of the blank screen problem? It should detect that the zlib library isn't present and disable compression. I'd like to know for sure that my fix works before closing this issue if possible. Note to self: Add something to the admin/check.php script for this as well. |
|
|
Will do in the morning... |
|
|
Ok. I tested this in CVS and it is fixed. Even with php_zlib commented out, I get the page. Thanks |
|
|
Mark fixed based on user feedback. See issue 0003065 which I added to deal with adding this check to admin/check.php |
|
|
MantisBT: master 9a2b1697 2003-02-22 08:29 Details Diff |
Fix 0002953: View all bugs page empty - This problem only occurs under IIS and with compression ON, for now we will automatically disable compression when running on an IIS server. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1989 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0002953 |
|
| mod - core/compress_api.php | Diff File | ||
| mod - doc/ChangeLog | Diff File | ||
|
MantisBT: master 4a3c5c34 2003-03-14 20:42 Julian Fitzell Details Diff |
Based on comments in issue 0002953 and on the php doc site, try adding a check for zlib before attempting compression. This doesn't seem to be needed in all versions but maybe it will help the people who are having problems. * core/compress_api.php (compress_is_enabled): add a check to see if zlib is available git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2102 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0002953 |
|
| mod - core/compress_api.php | Diff File | ||
related to
child of
duplicate of