Forums

File Upload GH action not moving file

luxhodge 18 Jan, 2016
Hello!

I have a simple file upload form setup using the GH file upload action. The form emails the file and other things, but the part that is not working is the upload. It is unable to move the file from the temp directory to a form holding directory on the server. The form was working until yesterday. Today it is throwing this error: Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpXD8Xut' to '/home/mydomainShortcut/public_html/myFolder/20160118151236_TEST_999.pdf' in /home/mydomainShortcut/public_html/libraries/joomla/filesystem/file.php on line 479. The myFolder properties are 755.

I suspect a server change on the hosting end, but what kind of server change would cause this problem? Is this a PHP version problem or something else? The PHP version did not change. Maybe a permission problem? The folder permssions have always been set to 755. Please let me know what you think. Thank you.

Erik
GreyHead 19 Jan, 2016
Hi Erik,

Please check with your web-host to see what has changed. The only Joomla! change that I can think of to explain this would be if you have enabled FTP in the sire Global Configuration.

Bob
luxhodge 19 Jan, 2016
Thanks for the response Bob!
I think I know what the problem is, but I haven't been able to fix it yet. I think it is on the server (host side). The path to the PHP compiler is still pointed to the old server so I think that is why the permission issue comes up (we recently migrated to a new server so that we could upgrade our PHP version). I haven't gotten the hosting provider to admit that yet and fix it though. They are still fumbling around trying to push it back on me. Hopefully, they will resolve it today.

Erik
This topic is locked and no more replies can be posted.