Trouble Uploading Large Files
-
Hi guys,
I’m having some trouble uploading large video (m4v) files.
I’ve changed the php.ini file, the .htaccess file, and the .user.ini file to allow for larger uploads. I also changed the phprc file at the advice of my web host. When I run a phpinfo file, it states upload_max_filesize as 5000M.
My file will upload to 100% but once it gets there I get the error, “Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page.” When I check the media library it is not there. Smaller photo files have uploaded successfully.
When I check debug.log I can see the error “[29-Jul-2020 10:53:58 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /home/dh_p3n9e3/hungteensissy.com/wp-config.php on line 115”.
I have changed the wp-config.php file to have a high memory limit of 5500M. I have also tried deactivating all plugins and reverting to the standard theme and I’m still getting the error.
I’m not sure what else to do and I’ve been trying to sort this problem out all day for several days now. Does anyone have any ideas?
Thanks!
The topic ‘Trouble Uploading Large Files’ is closed to new replies.