Due to the UI changes, the current documentation might no longer be relevant.
If you are using version 10.7.0 and above, please refer to the following documentation instead.
We provide you System Status report on JNews Dashboard. In there you can check your theme information, WordPress environment, server environment and currently activated plugins on your site.
When you want to ask for support in our support forum, you could attach this information. Also please note, we highly recommend you to follow JNews system requirements to make all process running as expected for better site performance.
There’re a few things that we’ll explain to you on this part :
- WP Debug
- Memory Limit
- Max File Upload
1. WP Debug
WP_DEBUG is a PHP constant that can be used to trigger the “debug” mode throughout WordPress.
WP_DEBUG provides a handy way to troubleshoot problems when something goes wrong on your site.
Also, it’s important to know that
WP_DEBUG should not be used on a live site.
You can find
WP_DEBUG on wp-config.php file that located in the WordPress root directory.
WP_DEBUG is set to
false by default.
define( 'WP_DEBUG', false );
2. Memory Limit
In case to avoid exhausted memory size error in WordPress, you need to increase memory limit value. This thing also recommended from WooCommerce plugin when you’re using them on your site. You can setting the memory limit to at least 64MB (recommended: 128M).
To increase your memory limit please follow these 5 tips :
Tip 1: Increase the limit via PHP.ini file
You can directly increase the PHP Memory Limit if you’ve access to the PHP.ini file. Most small Shared hosting servers won’t give you access to the PHP.ini file. But some servers allow you to create a duplicate PHP.ini in your respective site Directories whose data/values will override the default PHP.ini values. To do that you just need to create a file with the name ‘php.ini’ in the directory where your WordPress site is installed. In that just add the command memory_limit = 128M in it to increase the Memory Limit to 128 MB.
Tip 2: Changing the Memory Limit via wp-config.php
If you don’t want to mess with the PHP.ini file, then you can go for this method. In this you won’t be needing to create any extra file in your Directory. Just Adding define(‘WP_MEMORY_LIMIT’, ‘128M’); in your ‘wp-config.php’ file would increase your PHP Memory Limit to 128 MB.
Tip 3: Modifying the .htaccess file to Increase Memory Limit
A Default WordPress Installation won’t have a .htaccess file. But in case you already have it for some purposes like ‘301 Redirection’, just add the command php_value memory_limit 128M in your ‘.htaccess’ file and your memory limit will increase to 128 MB.
Tip 4: Changing the Memory Limit via wp-config.php
This method is just an Alternate to the php.ini method. Because the function of the code we use in this method is same as what we put in the php.ini file.You just need to place the code ini_set(‘memory_limit’,’128M’); in the ‘wp-config.php’ file which is placed in the root folder of your WordPress installation.
Tip 5: Have a talk with your Host
If you are a person who is new to all these techie sounding things then it’s better to have a Live Chat / a Call with your Host right away. It’s your right to talk to them & get the necessary changes you need as you’ve paid for it.
3. Max File Upload
On this part, we will guide you how to increase max file upload size for your website. This is intermediate level instructions. Please note, it may not work with some shared hosts, in this case you would ask into your host administrator regarding this thing.
- Edit php.ini File
1234post_max_size = 64Mupload_max_filesize = 640Mmax_input_vars = 3000max_execution_time = 300
- Edit .htaccess File
1234php_value post_max_size = 64Mphp_value upload_max_filesize = 64Mphp_value max_input_vars = 3000php_value max_execution_time = 300