Wiki tangling up the gradebook export

Wiki tangling up the gradebook export

by Hugh Morrow -
Number of replies: 2
I just tried exporting the gradebook and found that I get a ton of errors like the following ...

Warning: Cannot modify header information - headers already sent by (output started at /home/iconic/public_html/sbi/mod/wiki/blocks/lib.php:13) in /home/iconic/public_html/sbi/lib/pear/Spreadsheet/Excel/Writer.php on line 67

anyone got any tips?

Life's fun at the bleeding edge!
Average of ratings: -
In reply to Hugh Morrow

Vast: Wiki tangling up the gradebook export

by Ari Tahvanainen -
Hi,

Thank You. I just wondered where comes rubbish which prevent UTF-8 in admin.php.

This text is totally wrong place, because it prints before headers:

//import tree javascript
echo '<SCRIPT src="'.$CFG->wwwroot.'/mod/wiki/blocks/tree.js" type=text/javascript></SCRIPT>
    <link rel="stylesheet" type="text/css" href="'.$CFG->wwwroot.'/mod/wiki/blocks/tree.css">';

mod/wiki/blocks/lib.php line 11-13

- ari -