Download Grades in Excel format error

Download Grades in Excel format error

by Dorian Flowers -
Number of replies: 1

I can download the grades in text format with no problems, But when I try to download the grades in Excel format I get:

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/mydomain.org/httpdocs/moodle/lib/excel/Worksheet.php on line 35

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/mydomain.org/httpdocs/moodle/lib/excel/Worksheet.php on line 36

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/mydomain.org/httpdocs/moodle/lib/excel/Workbook.php on line 37

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/mydomain.org/httpdocs/moodle/lib/excel/Workbook.php on line 38

Warning: Cannot add header information - headers already sent by (output started at /usr/local/psa/home/vhosts/nhcfirerescue.org/httpdocs/moodle/lib/excel/Worksheet.php:35) in /usr/local/psa/home/vhosts/mydomain.org/httpdocs/moodle/course/grades.php on line 149

Warning: Cannot add header information - headers already sent by (output started at /usr/local/psa/home/vhosts/nhcfirerescue.org/httpdocs/moodle/lib/excel/Worksheet.php:35) in /usr/local/psa/home/vhosts/mydomain.org/httpdocs/moodle/course/grades.php on line 151

Warning: Cannot add header information - headers already sent by (output started at /usr/local/psa/home/vhosts/nhcfirerescue.org/httpdocs/moodle/lib/excel/Worksheet.php:35) in /usr/local/psa/home/vhosts/mydomain.org/httpdocs/moodle/course/grades.php on line 152

Warning: Cannot add header information - headers already sent by (output started at /usr/local/psa/home/vhosts/nhcfirerescue.org/httpdocs/moodle/lib/excel/Worksheet.php:35) in /usr/local/psa/home/vhosts/mydomain.org/httpdocs/moodle/course/grades.php on line 153

Warning: Cannot add header information - headers already sent by (output started at /usr/local/psa/home/vhosts/nhcfirerescue.org/httpdocs/moodle/lib/excel/Worksheet.php:35) in /usr/local/psa/home/vhosts/mydomain.org/httpdocs/moodle/course/grades.php on line 154
ÐÏࡱá>þÿ þÿÿÿþÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ l ÉGrades=¼%r8X"1ÈÿArial1ÈÿArial1ÈÿArial1ÈÿArial1ÈÿArial1È Arialàõÿ À àõÿ À àõÿ À àõÿ À àõÿ À àõÿ À àõÿ À àõÿ À àõÿ À àõÿ À àõÿ À àõÿ À àõÿ À àõÿ À àõÿ À à À à À ÿâ8ÿÿÿÿÿÿÿÿÿÿÿÿÀÀÀÿ3fÿÿÌÌÿÿffÿfÌÌÌÿÿÿÿÿÿÿÿÌÿÌÿÿÌÿÌÿÿÌÿÿÌÌÿÿÌ3fÿ3ÌÌÌÿÌÿÿfff3f3f33333f33333 !Grades l É*+Á¡"dXXà?à? Given nameSurname ID number Institution Department Email address#Lesson: Lesson 1 - Max: 100 Total haha testdflowers@anywhere.com 100.0Y@StudentTester!student@mydomain.org 0.0)ð?(ð?'è?&è?> ¶ Root EntryÿÿÿÿÿÿÿÿþÿÿÿBook ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿþÿÿÿþÿÿÿýÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ

Any help would be most appreciated, Thanks. Dorian

Average of ratings: -
In reply to Dorian Flowers

Re: Download Grades in Excel format error

by Girishan Shanmugam -
Dorian,

I believe its because of the configuration of php in php.ini setting a specific directory for the open_basedir value. The system administrator needs to change the value in the php.ini file. This link should be able to explain things more clearly.

http://us2.php.net/features.safe-mode

hope things work out for you,

regards,
giri