Hi!
I have a problem with the PHP Multiple File Upload extension. Basically my problem is my form not upload pictures and do not enter the name of the file to the database. Works fine on my local XAMPP but when I publish it to the production server does not work. I tried using relative path and absolute. This generates the server log when I use relative path.
[30-Jul-2014 09:11:30 America/Chicago] PHP Warning: move_uploaded_file(/usr/local/apache/htdocs/NEO.jpg): failed to open stream: Permission denied in /home/ferpakco/public_html/dwzUpload/dwzUpload.php on line 695 [30-Jul-2014 09:11:30 America/Chicago] PHP Warning: move_uploaded_file(): Unable to move '/tmp/phpDdEWef' to '/usr/local/apache/htdocs/NEO.jpg' in /home/ferpakco/public_html/dwzUpload/dwzUpload.php on line 695 [30-Jul-2014 09:24:45 America/Chicago] PHP Warning: unlink(/usr/local/apache/htdocs): Permission denied in /home/ferpakco/public_html/dwzUpload/dwzUpload.php on line 955 [30-Jul-2014 09:24:45 America/Chicago] PHP Warning: unlink(/usr/local/apache/htdocs): Permission denied in /home/ferpakco/public_html/dwzUpload/dwzUpload.php on line 955 [30-Jul-2014 09:24:45 America/Chicago] PHP Warning: move_uploaded_file(/usr/local/apache/htdocs/Koala.jpg): failed to open stream: Permission denied in /home/ferpakco/public_html/dwzUpload/dwzUpload.php on line 695 [30-Jul-2014 09:24:45 America/Chicago] PHP Warning: move_uploaded_file(): Unable to move '/tmp/phpQs7Xrh' to '/usr/local/apache/htdocs/Koala.jpg' in /home/ferpakco/public_html/dwzUpload/dwzUpload.php on line 695 [30-Jul-2014 09:26:48 America/Chicago] PHP Warning: move_uploaded_file(/usr/local/apache/htdocs/productos/Koala.jpg): failed to open stream: Permission denied in /home/ferpakco/public_html/dwzUpload/dwzUpload.php on line 695 [30-Jul-2014 09:26:48 America/Chicago] PHP Warning: move_uploaded_file(): Unable to move '/tmp/php18bVo8' to '/usr/local/apache/htdocs/productos/Koala.jpg' in /home/ferpakco/public_html/dwzUpload/dwzUpload.php on line 695
This route don't exist for me on my production server /usr/local/apache/htdocs/. The absolute path is /home/ferpakco/public_html/
My form is in this absolute path /home/ferpakco/public_html/cpanel/ and the images can be uploaded on this absolute path /home/ferpakco/public_html/productos/
Using the absolute path only is loaded the file name in to the database but is not upload the file on /home/ferpakco/public_html/productos/
Trie this address http://192.185.179.108/~ferpakco/cpanel/ and use user: dwzone & pass: dwzone. After use this link http://192.185.179.108/~ferpakco/cpanel/modificarproducto.php
Please help me!!!!
Thank you. |
|
|