
If you are still having the same issue after updating the Viewer try clearing your cache and settings, if that doesn't help you might want to tag me on discord: and report the problem. The Viewer is updated semi regularly, sometimes every week, sometimes two weeks, sometimes once a month, check the blog to see when new updates are released or check out the #📄development discord channel for news on that.

Sl cache viewer errors how to#
Unfortunately I am not sure how to do it in servers using other software, but it should be somewhat similar.A: First update the Viewer, make sure you are running the very latest version. Once done, you should be able to use Ghostscript properly and because of that, be able to use the "Annotations" feature. Make sure to do that to the PHP version used by the Moodle site. In cPanel (if you have root access) you can do so from the WHM > MultiPHP Manager > Manage Settings > Scroll to "Disabled Functions" > Once there, make sure the "exec" and "shellexec" are not added and remove them if so > Press the Update button If not Moodle will not be able to use Ghostscript app at all. Now, besides that, you need to keep in mind that for Ghostscript to be called from the Moodle site, the PHP functions "exec" and "shellexec" need to be enabled serverwise. Task gives proper instructions to do so: In order for this feature to work Ghostscript needs to be properly enabled. Tasks: 107 total, 1 running, 106 sleeping, 0 stopped, 0 zombie What should i do i dont understand can anyone help please Their is no image_page0.png that is empty? We are done this in vps hosting provider server centos 7 i check which ghostscript it give me path /usr/bin/ghostscriptĪlso /home/wwwelearnplace/educationmoodledata/temp/assignfeedback_editpdf_test/image_page0.png ' '/home/wwwelearnplace/public_html/education/mod/assign/feedback/editpdf/tests/fixtures/testgs.pdf'Ĭan't find the proper solution is something wrong with ghostscript or need to fix something in any file or folder

='/home/wwwelearnplace/educationmoodledata/temp/assignfeedback_editpdf_test/image_page0.png '/usr/bin/gs' -q -sDEVICE=png16m -dSAFER -dBATCH -dNOPAUSE -r'100' -dFirstPage='1' I check system path of ghostscript that is /bin/usr/ghostscript its show me check sign means its correct but when i test ghostscript it show me error :Įrror generating image with ghostscript, debugging info:

The file may be corrupt, or in an unsupported format." Hi ken and everyone i have same problem Error message "Cannot open the PDF.
