error in assignment creation

error in assignment creation

by wael tarek -
Number of replies: 2

Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/gs) is not within the allowed path(s): (/var/www/vhosts/edilearn.com/:/tmp/) in /var/www/vhosts/edilearn.com/httpdocs/mod/assign/feedback/editpdf/classes/pdf.php on line 536

This page should automatically redirect. If nothing is happening please use the continue link below.

Error output, so disabling automatic redirect.

any help?

Average of ratings: -
In reply to wael tarek

Re: error in assignment creation

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Looks like you dont have a file installed properly (ghostscript? - /usr/bin/gs)

In reply to wael tarek

Re: error in assignment creation

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Ghostscript is needed by the PDF annotation feedback type (available by default in Moodle 2.6 and above).

If you check this page: Administration > Site administration > Plugins > Activity modules > Assignments > Feedback plugins > Annotate PDF

You should be able to see the settings for PDF annotation and check they are working.

It looks like your web host has placed a restriction on where programs can be run from on your web server - you will need to talk to them about where the ghostscript 'gs' program needs to be placed in order for it to work.