Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-11-30 14:09:32
- Konijn
- Member
- Registered: 2005-06-18
- Posts: 33
Warning: move_uploaded_file()
I get this error when I upload a file:
<code>
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 6000 is not allowed to access /tmp/txp_wPAi37 owned by uid 33 in /home/www/www.unitedbaseline.be/textpattern/lib/txplib_misc.php on line 945
</code>
What should I do?
Offline
#2 2005-11-30 14:11:38
- Konijn
- Member
- Registered: 2005-06-18
- Posts: 33
Re: Warning: move_uploaded_file()
And CHMOD is 777 of tmp but the diagnostics gives an error.
Offline
Re: Warning: move_uploaded_file()
In Preferences you should use a temp-directory that is beneath your home-directory. Something like:
/home/www/www.unitedbaseline.be/textpattern/tmp
Make sure you chmod it such that it is writable.
Offline
#4 2005-11-30 14:16:25
- Konijn
- Member
- Registered: 2005-06-18
- Posts: 33
Re: Warning: move_uploaded_file()
Thx, that dit the trick.
Offline
Pages: 1