Problems with files and pictures

Problems with files and pictures

by Hans de Zwart -
Number of replies: 2
I seem to have two related problems:

- I cannot get the user picture to show. I don't get any error messages. My PHP server does have GD and I have used all possible settings (including the slash arguments). The directories seem to be writable, but in the datadirectory no subdirectory 'user' is created.
- If I log in as a teacher I cannot create a new directory nor upload a file. Again I get no error messages.

What to do?

Please don't give me a technical answer, I only FTP access to my server.
Average of ratings: -
In reply to Hans de Zwart

Re: Problems with files and pictures

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
It's very strange you aren't getting error messages, but I'm starting not to be surprised by the many different ways PHP is set up wink

If no user subdirectory and no course directories are being created then it usually either means that the directory itself is not writeable, or that PHP is in a safe mode that doesn't allow it to create files. Either way you should contact your site administrator to sort it out.

Another small possibility is that the directory you've specified in config.php is not exactly the same one you've set up to be the data directory.
In reply to Martin Dougiamas

Re: Problems with files and pictures

by Hans de Zwart -
I am sorry that I keep on bothering you. Moodle should just work and if I have problems from now on I will call my site administrators first. It seems that the chance is much higher that the problem lies there then with Moodle! wink