Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12881

Debug error - Undefined index: mark_time

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-RC2
    • Fix Version/s: 3.1.0-RC3
    • Component/s: ACP
    • Labels:
      None
    • Environment:
      PHP 5.3, CHrome and IE11

      Description

      Upon enabling Debug I get the following when:
      Viewing a forum, and 'Enable server-side topic marking' is set to 'NO' in the Load settings of the ACP.

      The Error:
      [phpBB Debug] PHP Notice: in file [ROOT]/viewforum.php on line 474: Undefined index: mark_time

        Activity

        Hide
        Volksdevil Volksdevil added a comment - - edited

        OK, Just so you know...After upgrading from PHP 5.3.3 to PHP 5.5.9 the error is still there.

        Show
        Volksdevil Volksdevil added a comment - - edited OK, Just so you know...After upgrading from PHP 5.3.3 to PHP 5.5.9 the error is still there.
        Hide
        bantu Andreas Fischer added a comment -

        This issue likely does not depend on the PHP version, but thanks anyway.

        Show
        bantu Andreas Fischer added a comment - This issue likely does not depend on the PHP version, but thanks anyway.
        Hide
        Volksdevil Volksdevil added a comment - - edited

        Aye, apologies, I realise that now. Is there any way I can help verify the fix or anything? Or is it a case of waiting for RC3 and see if all's well?

        I've never really got to grips with all this pull request, branches, commits etc. But I see the file changes at the commit link.

        Show
        Volksdevil Volksdevil added a comment - - edited Aye, apologies, I realise that now. Is there any way I can help verify the fix or anything? Or is it a case of waiting for RC3 and see if all's well? I've never really got to grips with all this pull request, branches, commits etc. But I see the file changes at the commit link.
        Hide
        Volksdevil Volksdevil added a comment - - edited

        Applied the edits at https://github.com/phpbb/phpbb/commit/d9a62a7333a4476634212261f4d334c3d8d00831#diff-0

        And the error still shows unfortunately.
        EDIT: By the way, this is happening in empty forums, and forums with posts, forums with stickys, forums with announcements.

        Show
        Volksdevil Volksdevil added a comment - - edited Applied the edits at https://github.com/phpbb/phpbb/commit/d9a62a7333a4476634212261f4d334c3d8d00831#diff-0 And the error still shows unfortunately. EDIT: By the way, this is happening in empty forums, and forums with posts, forums with stickys, forums with announcements.
        Hide
        rxu Ruslan Uzdenov added a comment -

        @Volksdevil currently viewforum.php has only closing curly brace on line 490.
        What code the line 490 has in your viewforum.php?

        Show
        rxu Ruslan Uzdenov added a comment - @Volksdevil currently viewforum.php has only closing curly brace on line 490. What code the line 490 has in your viewforum.php?
        Hide
        Volksdevil Volksdevil added a comment -

        Hi Ruslan, It's just because I have since added a modification. My line 490 looks like below:
        $forum_tracking_info[$forum_id] = $forum_data['mark_time'];

        Show
        Volksdevil Volksdevil added a comment - Hi Ruslan, It's just because I have since added a modification. My line 490 looks like below: $forum_tracking_info [$forum_id] = $forum_data ['mark_time'] ;

          People

          • Assignee:
            nicofuma nicofuma
            Reporter:
            Volksdevil Volksdevil
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development