Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

post.php fails to load in IE7 with Attachments 2.1 loaded

edited June 2007 in Vanilla 2.0 - 2.8
Hi all, We've just done a fresh install of Vanilla 1.1.2 and we're having problems posting comments using IE7. What happens is that after the comment is submitted IE7 displays the standard 'Internet Explorer cannot display the webpage' error page and stops on post.php. Hitting 'refresh' reloads post.php with a blank set of values. If you then navigate back to the discussion you commented on, your full message is there - present and correct. This only happens with IE7, Firefox and Safari both work perfectly. We've tested it across 4 different networks and the error is consistent. Vanilla is installed on PHP 5.2.3 running on IIS5 (Win2K Server). Other PHP sites on the same box have no issues. I've checked the error logs and nothing is written. Sessions are being created fine, cookies are being set. We've 4 Extensions loaded - Attachments 2.1, Inline Images 1.3, Private Messages 1.1 and Smile 0.6. Disabling them all makes it work fine, so we tested each extension in turn and found that enabling Attachments 2.1 causes the error in IE7. Does anyone have a clue why this might be happening? If it was a straight PHP error I'd expect it to effect any browser, but the fact that Firefox/Safari cope without any trouble seems to indicate something else is afoot. Cheers, Rich

Comments

  • Yep, a known bug--very recently discovered infact. Only rears its head when using IE on IIS with unknown versions of PHP.

    You need to edit the two header('location:' ... lines in library/Vanilla/Vanilla.Control.DiscussionForm.php as is detailed here: Problems with IE6 / IE7 # 11
  • Ahh, excellent - thank you :)
  • I feel it worth pointing out that that issue report, although easily solved in the end, was excellently thought through and very informative. A lot of people could take a lot of lessons from reports like this.
  • Agreed.

    This report turned a potentially week-long process into a couple hours.
This discussion has been closed.