sharvey2023 Posted January 24, 2023 Share Posted January 24, 2023 I have been using Processwire for many years to host our corporate website but have been unable to solve a file upload size issue. Small files have no issues but any larger file size of around 75MB and larger fail to upload to any page. The Processwire site just spins and never completes. I have confirmed (via FTP) that the files actually do upload with a wrong date of 1969-12-31 but due to processwire never completing the upload you can't save the page. I have checked with the hosting provider (GoDaddy) and found that my site is hosted on a shared Linux server and all of the settings in the Cpanel should be correct and the PHP 8.1 settings have all be maxed out. Any ideas would be appreciated as I have no idea how to fix this issue. Link to comment Share on other sites More sharing options...
zoeck Posted January 25, 2023 Share Posted January 25, 2023 7 hours ago, sharvey2023 said: and all of the settings in the Cpanel should be correct and the PHP 8.1 settings have all be maxed out. Did you increase the PHP settings post_max_size and upload_max_filesize or only one of them? I think the normal setting is 32MB Link to comment Share on other sites More sharing options...
sharvey2023 Posted January 25, 2023 Author Share Posted January 25, 2023 Thanks for the reply. I am glad you are helping. Settings for PHP in cPanel are below. Please let me know if you need anything else. I am stumped. Memory limit set to 256M Post Max Size 128M Upload Max Filesize 1G. Link to comment Share on other sites More sharing options...
zoeck Posted January 25, 2023 Share Posted January 25, 2023 Have you also checked if the configuration of phpinfo() is correctly displayed? Just check this values: upload_max_filesize post_max_size memory_limit max_execution_time max_input_time Is an error displayed in the browser dev tools? Or also in the Processwire log file? Link to comment Share on other sites More sharing options...
taotoo Posted January 25, 2023 Share Posted January 25, 2023 Maybe you could see if the control panel also displays the output of php.ini somewhere, and see if it matches those values. You could also create a php.ini file, and see if those values match. I might also try uploading files of various sizes around 75mb, have the browser inspector open to see if there's any indication of when it fails, and time the failure point to see if it's something like 30s, or perhaps a multiple of 5 or 7.5 in case it's related to CPU time and the server has a multicore CPU. I have a similar issue when creating variations - I get the endless spinner if the creation takes longer than 15s on a dual core server. Link to comment Share on other sites More sharing options...
sharvey2023 Posted January 25, 2023 Author Share Posted January 25, 2023 Here is a picture of the PHP 8.1 options for our site. I don't know where the phpinfo() configuration is displayed. I hope this is it. I did open the phpinfo.php file in my site and the only thing that was in it was below. <?php echo phpinfo(); ?> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now