user icon problems after update from 5.4 to 7.2

user icon problems after update from 5.4 to 7.2

David Mead -
Кількість відповідей: 4

After my upgrade from 5.4 to 7.2 my user icons stopped working correctly. The default icon displays correctly however any user icons have an extra pix.php in its source directory info.

ex:  <site name>/moodle7/user/pix.php/5/f2.jpg

I have tried several themes with the same result. Anyone have any ideas because I don't want to have to hard code the source code!

У відповідь на David Mead

Re: user icon problems after update from 5.4 to 7.2

Jez H -
Hello David,

The inclusion of pix.php in the path is normal, I assume this is a php file used to process images.

You mention a sub folder in your path, "moodle7, I assume this is correct?

What is failing regards the images? Is it not displaying or is there a problem with the upload?

Have you got gd library installed within PHP with the necessary image file extensions? (phpinfo will tell you this).

Jeremy
У відповідь на David Mead

Re: user icon problems after update from 5.4 to 7.2

Mauno Korpelainen -

David,

go to

Administration -> Server -> HTTP

and unselect Use slash arguments

The new address for that image <site name>/moodle7/user/pix.php?file=/5/f2.jpg should be visible.

У відповідь на Mauno Korpelainen

Re: user icon problems after update from 5.4 to 7.2

David Mead -
I am extremely grateful for your help! That did the trick. I have my production server off line for maintenance and am trying to test possible upgrades before returning it to service and am trying to learn/solve as much as possible.