Moodle

unable to post in forums after upgrade to php 5.2.1

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.6.1
  • Fix Version/s: 1.6.6
  • Component/s: Forum
  • Labels:
    None
  • Environment:
    Solaris 9 Sparc
    apache 1.3.37
    php 5.2.1
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_16_STABLE
  • Fixed Branches:
    MOODLE_16_STABLE

Description

Hi,

Once I upgraded to php 5.2.1 moodle showed a blank page when I try to post to forums. The problem exists in php 5.2.0 also. I downgraded to php 5.1.6 and posting was restored. I am seeing the following warning in the php log:

[12-Mar-2007 11:51:27] PHP Warning: Invalid argument supplied for foreach() in /home/scope/moodle/mod/forum/discuss.php on line 333

Danny

Issue Links

Activity

Hide
Danny Lee added a comment -

Hi,

Update, I upgraded our moodle instance to the latest (1.7.1) and the issue was resolved.

Danny

Show
Danny Lee added a comment - Hi, Update, I upgraded our moodle instance to the latest (1.7.1) and the issue was resolved. Danny
Hide
Nicolas Connault added a comment -

Cannot replicate this issue with 1.6.5 on PHP 5.2.0 (Windows box). I assume it has been fixed, or that the issue was related to a missing extension on the reporter's machine (or other server-related cause).

Show
Nicolas Connault added a comment - Cannot replicate this issue with 1.6.5 on PHP 5.2.0 (Windows box). I assume it has been fixed, or that the issue was related to a missing extension on the reporter's machine (or other server-related cause).

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: