Dear, support During some weeks ago I had implemented the following code, using Wamp Server on my Workstation in localhost, for upload images. In localhost is working fine, but in the Remote Server, I had received ( ERROR 500 - Internal Server Error!) What's the best way to solve this situation, because my Clients cliams me upload products images without any FTP Client software. Let me show you a piece of php code I had implemented ... <?php if ( (isset($_POST["sent"])) && ($_POST["sent"] == "form1") ) { $image_file = $_FILES["userfile"]["name"] ; move_uploaded_file($_FILES["userfile"]["tmp_name"], "images/products/".$image_file); ?> <script> opener.document.form1.strImage.value="<?php echo $image_file; ?>"; self.close(); </script> <?php } ?> I need upload products images using a little php form without using ftp user and passwd I'll appreciate your cooperation. Nestor Mazza
Till, hello 200.89.186.245 - - [13/Oct/2015:11:13:23 +0000] "POST /gestionDocumento.php HTTP/1.1" 500 1851 "http://www.barraqueros.org.ar/gestionDocumento.php" "Mozilla/5.0 (Windows NT 10.0; rv:41.0) Gecko/20100101 Firefox/41.0" /etc/php.ini http://www.barraqueros.org.ar/phpinfo.php I don't have idea Thanks
Is the error message really from error.log and not access.log? There should be more then this line in the error.log for this issue.
Dear, support [Mon Oct 19 22:32:27 2015] [warn] [client 200.89.186.245] mod_fcgid: HTTP request length 132292 (so far) exceeds MaxRequestLen (131072), referer: http://www.barraqueros.org.ar/gestionDocumento.php Nota: in local mode under Xampp is working fine /etc/php.ini http://www.barraqueros.org.ar/phpinfo.php Thanks! Nestor Mazza
Dear, support I had solved the issue, so I have been thinking in access permissions. I had updated my fcgid.com vim /etc/httpd/conf.d/fcgid.conf with the following .. #FcgidMaxRequestLen 2000000 <IfModule mod_fcgid.c> AddHandler fcgid-script .fcgi FcgidConnectTimeout 20 FcgidMaxRequestLen 51200000 </IfModule> And now is working fine .. Thanks for all Nestor Mazza