Alert Cannot open the PDF. The file may be corrupt, or in an unsupported format. (Moodle 3.8)

Alert Cannot open the PDF. The file may be corrupt, or in an unsupported format. (Moodle 3.8)

door PaDuan Sirih -
Aantal antwoorden: 3

Hello, our moodle 3.8 run on debian server. All run correctly after months then the assignment show error:

Alert

Cannot open the PDF. The file may be corrupt, or in an unsupported format.

Any solutions for this error?

note: 

Ghostscript installed: 

ghostscript is already the newest version (9.27~dfsg-2+deb10u3).

ghostscript set to manually installed.

on path moodle:


additional note:

/var/www/html/moodle/admin/cli# php cfg.php |grep path

PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/moodle/config.php on line 21

line 21 config.php is:

$CFG->wwwroot   = 'http://'.$_SERVER['HTTP_HOST'];





Gemiddelde van de beoordelingen:  -
Als antwoord op PaDuan Sirih

Re: Alert Cannot open the PDF. The file may be corrupt, or in an unsupported format. (Moodle 3.8)

door Helen Foster -
Foto van Core developers Foto van Documentation writers Foto van Moodle HQ Foto van Particularly helpful Moodlers Foto van Plugin developers Foto van Testers Foto van Translators

Hello,

Is it a group assignment? If so, perhaps it is MDL-47475 which was fixed in Moodle 3.8.2.

If not, how about checking the issues linked to MDL-47475 to see if any apply to you.

Gemiddelde van de beoordelingen:  -
Als antwoord op Helen Foster

Re: Alert Cannot open the PDF. The file may be corrupt, or in an unsupported format. (Moodle 3.8)

door PaDuan Sirih -
no, its individual assginment
Gemiddelde van de beoordelingen:  -
Als antwoord op PaDuan Sirih

Re: Alert Cannot open the PDF. The file may be corrupt, or in an unsupported format. (Moodle 3.8)

door Clay Hess -
We are experiencing this same issue. Did you discover a solution?
Gemiddelde van de beoordelingen:  -