If you are seeing blank screen, 500 Internal Server error, or similar issues when uploading your content. The most probably reason is your upload limit, permissions or your internet connectivity:
Here are possible solutions:
Option 1: Try adding this line to wp-config.php
Option 1: Try adding this line to wp-config.php file
define('FS_METHOD', 'direct');
Option 2: Use dropbox upload method
Use the Dropbox upload method as explained here. This is a easiest and fastest upload method because its not limited by your server’s upload limits and the upload happens directly from Dropbox’s server, hence, its faster than uploading from your computer.
Option 3: Update your php.ini file to increase upload limit
Locate the file named php.ini in your WordPress installation folder on the web server. If the file does not exist, create a new empty file.
Edit the php.ini file and add the following new lines, taking care not to modify any existing lines which may be important to your website configuration:
upload_max_filesize = 64M
post_max_size = 64M
Option 4: Update your .htaccess file to increase upload limit
If Option 2 did not work, locate the .htaccess file in your WordPress installation folder on the web server. If the file does not exist, create a new empty file.
Edit the .htaccess file and add the following new lines, taking care not to modify any existing lines which may be important to your website configuration:
php_value post_max_size 30M
php_value upload_max_filesize 30M
Option 2 and 3 depends largely on your server’s configurations and permissions. And if they don’t work, you would need to revert back the files. If none of the above options work for you, you would need to ask your host or server admin to increase the upload limit for you.
Option 5: Max Memory Limit
If you are able to upload small files, but not able to upload larger file. Try adding this line in the wp-config.php file:
define("WP_MAX_MEMORY_LIMIT" , "1024M");
0 Comments