Login |  Register

Post new topic Reply to topic  [ 3 posts ] 

Tue Mar 25, 2008 4:35 am

Offline
Joined: Tue Mar 25, 2008 4:31 am
Posts: 3

Hi erin!

i can't upload anything.
when i look at the phpinfo() my "upload_tmp_dir" has NO VALUE.

I tried...
ini_set('upload_tmp_dir', '/home/tomahack/tmp/images') or die('ini set tmp dir failed');

So, with the move_uploaded_file function, i need to provide a server tmp dir !


Here is the error message..
UPLOAD_ERR_NO_TMP_DIR

Value: 6; Missing a temporary folder. Introduced in PHP 4.3.10 and PHP 5.0.3.


How that can happen ?

Thanks.

P.S (Before it was working...maybe 2 years ago..)



Top Top
  Profile

Thu Mar 27, 2008 1:42 am

Offline
Joined: Tue Mar 25, 2008 4:31 am
Posts: 3

if it can help others..my problem is resolved.
my /TMP dir was setted to 755. :S



Top Top
  Profile

Fri May 15, 2009 12:16 pm

Offline
Joined: Fri May 15, 2009 12:13 pm
Posts: 1

It seems like upload_tmp_dir << is a folder and doesn't exist. If not try CHMOD the folder to 775

_________________
Watch Free Movies - MySpace Unblock - Online Movies



Top Top
  Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to:  
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group