Quantcast
Channel: Assignment
Viewing all articles
Browse latest Browse all 9670

Re: Error message "Cannot open the PDF. The file may be corrupt, or in an unsupported format."

$
0
0
by Ken Task.  

Am gonna guess you are using Putty on Windows for copy and paste into a ssh shell on a Linux server.   That right?

Anytime one uses copy from something and paste into putty one has to be exacting with the copy end ... no extra lines, no extra characters, no left off characters.   Cause the operation with Putty is simply to 'right click' which sticks whatever is in the clipboard of your PC to the command line ... and Putty also presses enter for ya if I re-call correctly (haven't used Windows and Putty in years).   Nice if you copy accurately.   Not so nice if you don't.

See by your screen shot ... didn't get the ending 't' in first command you used thus an error.   Second is correct.

There is a php script in moodlecode/admin/cli/ called 'cfg.php' and it shows all the settings or ones you grep for.

So cd /path/to/moodlecode/admin/cli/

php cfg.php |grep path

should show settings in moodle for paths.

And, the one you are checking is the path to ghostscript.

That help?

'SoS', Ken



Viewing all articles
Browse latest Browse all 9670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>