Image Uploading error??

Thread Solved

Join Date: Aug 2008
Posts: 149
Reputation: sarithak is an unknown quantity at this point 
Solved Threads: 6
sarithak sarithak is offline Offline
Junior Poster

Image Uploading error??

 
0
  #1
Jul 13th, 2009
Hi frnds...

Here i am going to uploading image from my system to ftp..
the below code works correctly in localhost...But, when i use FTP ,it doesnt work..it display error.

  1.  
  2.  
  3.  
  4. Warning: move_uploaded_file(photos/Endeavour123.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in.....
  5.  
  6. Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'c:\WINDOWS\Temp\php4DA.tmp' to '..' in line 20...

Plz check this..wats the error? it works good in localhost...
My best wishes ... from my soul ... for everyone!
Keep Smiling....Never Depress
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 171
Reputation: praveen_dusari is an unknown quantity at this point 
Solved Threads: 21
praveen_dusari's Avatar
praveen_dusari praveen_dusari is offline Offline
Junior Poster

Re: Image Uploading error??

 
0
  #2
Jul 13th, 2009
hi saritha,
i think there is no gd library installed in your server,install gd library then it will work..
Failure is success if we learn from it
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 149
Reputation: sarithak is an unknown quantity at this point 
Solved Threads: 6
sarithak sarithak is offline Offline
Junior Poster

Re: Image Uploading error??

 
0
  #3
Jul 13th, 2009
Hey Praveen..

Thanks ..

I think You are correct...can u explain me how can i install GD Library in my server....
My best wishes ... from my soul ... for everyone!
Keep Smiling....Never Depress
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 1
Reputation: rogerkk123 is an unknown quantity at this point 
Solved Threads: 1
rogerkk123 rogerkk123 is offline Offline
Newbie Poster

Re: Image Uploading error??

 
0
  #4
Jul 13th, 2009
check in admin side file system options there you can change 'c:\WINDOWS\Temp\ to sites\default\tmp\ . but tmp folder should be created manually.

cheers
<FAKE SIGNATURE>
Last edited by peter_budo; Jul 14th, 2009 at 12:04 pm. Reason: Keep It On The Site - Do not manually post "fake" signatures in your posts. Instead, you may create a sitewide signature within the user control panel.
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 149
Reputation: sarithak is an unknown quantity at this point 
Solved Threads: 6
sarithak sarithak is offline Offline
Junior Poster

Re: Image Uploading error??

 
0
  #5
Jul 13th, 2009
Hello rogerkk,

Thanks for ur response...

here when i phasing problem is using HTTP....not in localhost..i didnt get you what you said...plz explain me clearly...c:\WINDOWS\Temp\ this is in localhost...i am sorry, if there is any mistake on me..explainn clearly...

Thanks..


Originally Posted by rogerkk123 View Post
check in admin side file system options there you can change 'c:\WINDOWS\Temp\ to sites\default\tmp\ . but tmp folder should be created manually.

cheers
<FAKE SIGNATURE>
Last edited by peter_budo; Jul 14th, 2009 at 12:05 pm. Reason: Removing fake signature from quoted section
My best wishes ... from my soul ... for everyone!
Keep Smiling....Never Depress
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 171
Reputation: praveen_dusari is an unknown quantity at this point 
Solved Threads: 21
praveen_dusari's Avatar
praveen_dusari praveen_dusari is offline Offline
Junior Poster

Re: Image Uploading error??

 
0
  #6
Jul 13th, 2009
i think you cannot install in server,you should make a request to server
or first run
  1. <? phpinfo();?>
then you can see if gd library is there or not if yes then make changes to folder permissions.
Failure is success if we learn from it
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 149
Reputation: sarithak is an unknown quantity at this point 
Solved Threads: 6
sarithak sarithak is offline Offline
Junior Poster

Re: Image Uploading error??

 
0
  #7
Jul 13th, 2009
Originally Posted by praveen_dusari View Post
i think you cannot install in server,you should make a request to server
or first run
  1. <? phpinfo();?>
then you can see if gd library is there or not if yes then make changes to folder permissions.
Hi praveen...

I checked .. phpinfo file having gd ENABLED... if u dontmind, make changes to folder permissions. where can i do this...
My best wishes ... from my soul ... for everyone!
Keep Smiling....Never Depress
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 171
Reputation: praveen_dusari is an unknown quantity at this point 
Solved Threads: 21
praveen_dusari's Avatar
praveen_dusari praveen_dusari is offline Offline
Junior Poster

Re: Image Uploading error??

 
0
  #8
Jul 13th, 2009
in ftp the folder where images are uploaded select that folder ,right click n click chmod unix ,select all check boxes...thats it
Failure is success if we learn from it
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 149
Reputation: sarithak is an unknown quantity at this point 
Solved Threads: 6
sarithak sarithak is offline Offline
Junior Poster

Re: Image Uploading error??

 
0
  #9
Jul 13th, 2009
Originally Posted by praveen_dusari View Post
in ftp the folder where images are uploaded select that folder ,right click n click chmod unix ,select all check boxes...thats it

Hi praveen...
Thannks a lot......

still i am phasing problem... when i am trying to change folder permissions, there is no option as u sadi CHMOD UNIX....

it displays "this server doesnt support changing file permissions"....

i dont know wat to do...thanks 4 ur patience...
My best wishes ... from my soul ... for everyone!
Keep Smiling....Never Depress
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 149
Reputation: sarithak is an unknown quantity at this point 
Solved Threads: 6
sarithak sarithak is offline Offline
Junior Poster

Re: Image Uploading error??

 
0
  #10
Jul 13th, 2009
Hi frnds....


Anybody help plz...
In my FTP , how can i change CHMOD UNIX folder permissions....when i am trying it displays " THIS SERVER DOESNT SUPPORT CHANGING PERMISSIONS"...

Is there any way to do this..i am using WINDOWS XP....

Thanks in advance..
Last edited by sarithak; Jul 13th, 2009 at 5:59 am.
My best wishes ... from my soul ... for everyone!
Keep Smiling....Never Depress
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC