-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
3.11.5, 3.11.7, 4.0.1
-
HQ Sprint 1.3 Moppies
Error occurs in either scenario:
- A configured SSL proxy for the site
- An internal network alias on the server such as default moodle-docker aliasing from localhost -> webserver
FULL STEPS
- Register single site with Brickfield
- Add Accessibility toolkit block to a course
- Submit course for analysis
- Wait for results to be generated with cron or run the tool_brickfield content analysis requests, and the caching scheduled tasks
- Click the download PDF icon in block or summary report page
WHAT I EXPECTED
- PDF should download
WHAT ACTUALLY HAPPENS
- Error is output:
.../admin/tool/brickfield/pix/pdf/tachometer-alt-solid.svg
More information about this error
Debug info:
Error code: generalexceptionmessage
Stack trace:
line 2992 of /lib/tcpdf/tcpdf.php: Exception thrown
line 22860 of /lib/tcpdf/tcpdf.php: call to TCPDF->Error()
line 19048 of /lib/tcpdf/tcpdf.php: call to TCPDF->ImageSVG()
line 18398 of /lib/tcpdf/tcpdf.php: call to TCPDF->openHTMLTagHandler()
line 5901 of /lib/tcpdf/tcpdf.php: call to TCPDF->writeHTML()
line 18330 of /lib/tcpdf/tcpdf.php: call to TCPDF->MultiCell()
line 273 of /admin/tool/brickfield/classes/output/printable/renderer.php: call to TCPDF->writeHTML()
line 227 of /admin/tool/brickfield/classes/local/tool/printable.php: call to tool_brickfield\output\printable\renderer->pdf_renderer()
line 131 of /admin/tool/brickfield/index.php: call to tool_brickfield\local\tool\printable->get_output()
It appears to fail on the curl call to the image URL, but I cannot find any more information as to what is causing the return code of 0.