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

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

Napisane bez: john doeherty ()
Liczba ôdpowiedzi: 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

W ôdpowiedzi na john doeherty

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

Napisane bez: Martin Dougiamas ()
Ôbrŏz Core developers Ôbrŏz Documentation writers Ôbrŏz Moodle HQ Ôbrŏz Particularly helpful Moodlers Ôbrŏz Plugin developers Ôbrŏz 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).
W ôdpowiedzi na Martin Dougiamas

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

Napisane bez: john doeherty ()

Thanx Martin...

unfortunately, I already checked all that (...yes, I DID read around here before posting puszcza ôczko
(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