Hi to all drupal user this is zakir.
i m getting following error whan i m uploading file in my live site.
arning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpiPmG0y' to 'sites/default/files/Dock of ....... .doc' in /home/......./public_html/includes/file.inc on line 572.
File upload error. Could not move uploaded file.
So plz help me for that becoz i m unable to uploading any file.
Comments
Comment #1
zakir.gori commentedplz i need some help
Comment #2
abhishek sawant commentedhi Zakir,
Please check your file system path in admin>settings>file-system, make sure the path is correct and if it is /tmp then make it writable. Change the permission to 777.
Hope this helps.
Regards
Abhishek
Comment #3
zakir.gori commentedHi
Abhishek
Everythin is ok admin>settings>file-system, and ya the permission is writable i.e 777.
But still i m getting same problem see below..
warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpiPmG0y' to 'sites/default/files/Dock of ....... .doc' in /home/......./public_html/includes/file.inc on line 572.
File upload error. Could not move uploaded file.
Comment #4
zakir.gori commentedCan any one from community plz tell me the answer ?
Comment #5
abhishek sawant commentedhi,
This error usually comes if the tmp directly is not correctly set or the script doesnt have the permission to access the folders.
Check the tmp and files directly permission, change it to 777.
check the owner of folders, if no owner is assigned then use chown command
check the group of the folder.
Make sure you check everything mentioned above, it should solve your problem.
Comment #6
dpearcefl commentedis this still an active issue?
Comment #7
dpearcefl commentedComment #8
kars-t commentedHi
I am closing this issue to clean up the issue queue. Feel free to reopen the issue if there is new information and the problem still resides. If not please make sure you close your issues that you don't need any more.
Maybe you can get support from the local user group. Please take a look at this list at groups.drupal.org.