Hi Martin,
If I request a statistic graph via admin area, I look a page without image automatically-generated, with the following path (visible into html code):
<IMG BORDER=0 SRC="http://www.territorioscuola.it/moodle/course/loggraph.php?id=2&user=1&type=userday.png&date=0">
How to make for to resolve this?
Cheers,
Davide
If you go directly to the URL, ie:
http://www.territorioscuola.it/moodle/course/loggraph.php?id=2&user=1&type=userday.png&date=0
... you should see error messages that will explain what's going on ...
Cheers,
Martin
http://www.territorioscuola.it/moodle/course/loggraph.php?id=2&user=1&type=userday.png&date=0
... you should see error messages that will explain what's going on ...
Cheers,
Martin
I've view these following error messages:
Warning: Could not read font in /home/mhd-07/www.territorioscuola.it/htdocs/moodle/lib/graphlib.php on line 1293
Warning: Could not read font in /home/mhd-07/www.territorioscuola.it/htdocs/moodle/lib/graphlib.php on line 1303
Warning: Could not read font in /home/mhd-07/www.territorioscuola.it/htdocs/moodle/lib/graphlib.php on line 1201
Warning: Cannot add header information - headers already sent by (output started at /home/mhd-07/www.territorioscuola.it/htdocs/moodle/lib/graphlib.php:1293)
in /home/mhd-07/www.territorioscuola.it/htdocs/moodle/lib/graphlib.php on line 1437
If this is a set permission problem, on which files or directories I would
have to set up this permissions? With which sequences rwe?
Many Thanks for your patience.
Davide
Warning: Could not read font in /home/mhd-07/www.territorioscuola.it/htdocs/moodle/lib/graphlib.php on line 1293
Warning: Could not read font in /home/mhd-07/www.territorioscuola.it/htdocs/moodle/lib/graphlib.php on line 1303
Warning: Could not read font in /home/mhd-07/www.territorioscuola.it/htdocs/moodle/lib/graphlib.php on line 1201
Warning: Cannot add header information - headers already sent by (output started at /home/mhd-07/www.territorioscuola.it/htdocs/moodle/lib/graphlib.php:1293)
in /home/mhd-07/www.territorioscuola.it/htdocs/moodle/lib/graphlib.php on line 1437
If this is a set permission problem, on which files or directories I would
have to set up this permissions? With which sequences rwe?
Many Thanks for your patience.
Davide
It might be a permissions problem ... the file that is being read is this one:
/home/mhd-07/www.territorioscuola.it/htdocs/moodle/lib/fonts/arial.ttf
This is probably quickest:
cd /home/mhd-07/www.territorioscuola.it/htdocs/moodle
chmod -R ugo+rx lib/fonts
And see if that fixes it ...
/home/mhd-07/www.territorioscuola.it/htdocs/moodle/lib/fonts/arial.ttf
This is probably quickest:
cd /home/mhd-07/www.territorioscuola.it/htdocs/moodle
chmod -R ugo+rx lib/fonts
And see if that fixes it ...
Hmmm.
It might be a PHP bug (in certain environments).
http://bugs.php.net/bug.php?id=6960
The full path fix they talk about won't work, because I already use the full path in graphlib.php
I know you're on a hosted server so upgrading PHP is not possible.
I'm not sure what you can do.
Perhaps someone else has an idea?
It might be a PHP bug (in certain environments).
http://bugs.php.net/bug.php?id=6960
The full path fix they talk about won't work, because I already use the full path in graphlib.php
I know you're on a hosted server so upgrading PHP is not possible.
I'm not sure what you can do.
Perhaps someone else has an idea?