Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-67241

Fatal error when attempting to export forum posts in Portable Document Format

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.8
    • Fix Version/s: 3.8
    • Component/s: Forum
    • Labels:
    • Testing Instructions:
      Hide
      Setup

      You will need to increase your upload_max_filesize and post_max_size to something above 65MB in order to restore the backup file.

      Test
      1. Log in as admin.
      2. Create a new course and restore attached file.
      3. Go to the Lounge forum and choose Export in the menu.
      4. Choose PDF format and click Export
        • Grab a coffee... wait.. and make sure the file gets exported.
      Show
      Setup You will need to increase your upload_max_filesize and post_max_size to something above 65MB in order to restore the backup file. Test Log in as admin. Create a new course and restore attached file. Go to the Lounge forum and choose Export in the menu. Choose PDF format and click Export Grab a coffee... wait.. and make sure the file gets exported.
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-67241-master

      Description

      As reported by Wanja Kimandi in MDLQA-14093, when attempting to export posts from the Lounge forum in Portable Document Format, a fatal error is obtained.

      Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 294912 bytes) in /opt/app/lib/tcpdf/include/tcpdf_fonts.php on line 2007

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/19

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 55 minutes
                  3h 55m