MrMister wrote:

With the previous instruction replace step 5 with this one:

5) Click on the Add button, Advanced button, Locations button and select your computer name, click the Find Now button and look for a local user with computer_name in its name
6) Add the user found above and select the "modify" checkbox for that user

I am assuming that you have IIS installed but not running. If that is not the case, you have to check that the user under which you run the Apache service is the one that has the permissions to access the temporary directory.

IIS is not installed. So I went into C:\Windows\Temp and checked the permissions of that folder, and it appears that although the Administrators group has unrestricted access to that folder, and the user under which I run the Apache server belongs to that group, that particular account was not affected. So I added my account to the list and yes, some boxes were unchecked. The problem is now solved. Thanks a lot, to you and to all!

It doesn't work. IUSR_computername (of course, I replaced "computername" with my actual computer name) isn't recognised by the system. It might have some stupid Swedish translation but I can't find anything that works by googling. Does anyone know what I should write in with a Swedish copy of Windows Server 2003?

Ah. But still no, I'm afraid. I checked the php.ini and it is set to "off". This is very odd..

Frank H wrote:

using safemode?

As long as you're referring to Windows safe mode, then no, I'm not.

Then there obviously has to be some other problem.. The error message says that "PHP was unable to save [...] to a temporary location". Do you think the 'temporary' part is of any significance?

How do I do that in Windows?

Edit: I have given full permission to everyone in Properties. But it still doesn't work.

Hello.

When trying to upload an avatar to my punBB forum, I consistently get this error message: "PHP was unable to save the uploaded file to a temporary location."

This would suggest that php doesn't have write permissions to the img/avatars folder. According to all that I have found on the internet, it should do with merely unchecking read protection in the Properties dialogue for the corresponding folder. It doesn't work. I have even tried sharing my entire htdocs folder on the network completely open for everyone, but it still refuses to accept any uploads of avatars. I am running punBB 1.2.13 on Windows Server 2003 with PHP 4.4.4, Apache 2.2.3 and MySQL 4.0.18-NT.