HELP! Could not find/open font in c:\...\moodle\lib\graphlib.php

HELP! Could not find/open font in c:\...\moodle\lib\graphlib.php

από john doeherty -
Αριθμός απαντήσεων: 2

Hi!
Everything installed more or less smoothly and sofar, it looks really nice! Respect!

Unfortunately, the survey graphs woont show!
I'm on XP with apache, GD >2.0 working.

Heres the link to the image:

http://localhost/mytry/moodle/mod/survey/graph.php?id=1&sid=1&type=student.png

Heres the output i get for that link:

Warning: Could not find/open font in c:\apache\htdocs\mytry\moodle\lib\graphlib.php on line 1322

Warning: Could not find/open font in c:\apache\htdocs\mytry\moodle\lib\graphlib.php on line 1336
(this goes on and on...)

Thanx,

J°n

Μέσος όρος βαθμολογίας: -
Σε απάντηση σε john doeherty

Re: HELP! Could not find/open font in c:\...\moodle\lib\graphlib.php

από Martin Dougiamas -
Φωτογραφία Core developers Φωτογραφία Documentation writers Φωτογραφία Moodle HQ Φωτογραφία Particularly helpful Moodlers Φωτογραφία Plugin developers Φωτογραφία Testers
Make sure that your path for dirroot in config.php:

$CFG->dirroot = "c:\apache\htdocs\mytry\moodle";

is using the correct upper/lower case everywhere. I know Windows doesn't care about case, but sometimes PHP does.

Also, in the current development version (AFTER Moodle 1.0.8.1) the fonts have moved (into the language packs).
Σε απάντηση σε Martin Dougiamas

Re: HELP! Could not find/open font in c:\...\moodle\lib\graphlib.php

από john doeherty -

Thanx Martin...

unfortunately, I already checked all that (...yes, I DID read around here before posting κλείσιμο ματιού
(oh and BTW: it should be $CFG->dirroot = "C:\apache\htdocs\mytry\moodle";
the small 'c:' gives an error msg... ) (ah yes, and another: originally my directory was called
'try' not 'mytry' as above. Apparently there's a small problem with special characters as moodle
produced 'C:\apache\htdocs  ry\moodle' from this...)

I'm getting carried away...
All config paths seem ok, everything works fine, EXCEPT the graphs...

Any more ideas?

J°n