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

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

por john doeherty -
Número de respuestas: 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

Promedio de valuaciones (ratings): -
En respuesta a john doeherty

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

por Martin Dougiamas -
Imagen de Core developers Imagen de Documentation writers Imagen de Moodle HQ Imagen de Particularly helpful Moodlers Imagen de Plugin developers Imagen de 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).
En respuesta a Martin Dougiamas

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

por john doeherty -

Thanx Martin...

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