2012-06-27 08:43 浏览 70

Mantis Bugtracker:下载4Kb后文件下载停止

I'm having an issue with Mantis Bugtracker (version 1.1.8), where file downloads only reach 4 Kb, and then stop. I don't know if this is a problem in the product itself, or in the PHP installation on the server. I've tried disabling output buffering (that was the only value close to 4Kb), but that didn't help.

The files are stored in the database. The application is running on IIS7 on Windows Server 2008 and Sql Server 2005, and the installed version of PHP is 5.2.11.

Does anyone have a solution that might help fix this?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

2条回答 默认 最新

  • 已采纳
    drvvepadi289421028 drvvepadi289421028 2012-06-27 13:03

    Okay, I think that I'm just going to have to face the fact that I'm an idiot. I had changed the textsize and textlimit properties in php.ini for MSSQL, but I missed the semicolon in the beginning of the lines. I just uncommented those two lines, and now it works like a charm.

    ; Valid range 0 - 2147483647.  Default = 4096.
    mssql.textlimit = 2147483647 
    ; Valid range 0 - 2147483647.  Default = 4096.
    mssql.textsize = 2147483647
    点赞 评论 复制链接分享
  • dqt66847 dqt66847 2012-06-27 09:00

    OK ... 1st thought would be that it is bizzarly timing out?

    You could try setting a max timeout...

    Also, knock up an independant bit of code to fetch and download file - to rule out/in any bugs in Mantis ... I use a Mantis but hosted on linux and it all works fine - same vervsion but linux and mysql...

    OK A quick serach on mantis's forum gave me: which describes exactly what you have happening and it is indeed a specific Windows/ISI/SQL Server thing ;)

    点赞 评论 复制链接分享