Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
litespeed_wiki:cache:lscwp:troubleshooting:lscache-is-disabled [2018/06/12 12:41] Lisa Clarke Clarification |
litespeed_wiki:cache:lscwp:troubleshooting:lscache-is-disabled [2020/05/04 13:50] Shivam Saluja |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== "LiteSpeed cache is disabled" Warning ====== | + | ====== LiteSpeed Cache is Disabled Warning ====== |
- | If you see this warning in LiteSpeed Cache plugin, the server variables should be able to tell you why. | + | |
- | {{:litespeed_wiki:cache:lscwp:configuration:warning.png?400|}} | + | **Please Note**: This wiki is valid for v2.9.x and below of the LiteSpeed Cache Plugin for WordPress. If you are using v3.0 or above, please see [[https://docs.litespeedtech.com/lscache/lscwp/overview/|the new documentation]]. |
- | Navigate to **LiteSpeed Cache > Report** and look at the **Report Summary**. The ''Server Variables'' section right at the top can give you some helpful information. Check the values of the following variables: | + | If you see a warning that indicates LiteSpeed Cache is disabled, the warning itself may give a clue as to the source of the problem. |
- | - ''LITESPEED_ON = true'' - If this value is ''NULL'', it means that you are not running with LiteSpeed web server. This is allowed, but it limits the functions that you are able to use. [[litespeed_wiki:cache:lscwp:installation|Learn more]]. | + | |
- | - ''LITESPEED_ON_IN_SETTING = true'' - If this value is ''NULL'', navigate to the **Settings** page and set **Enable LiteSpeed Cache** to ''Enable'' | + | ===== The LSCache Module is disabled at the server level ===== |
- | - ''LSCACHE_ADV_CACHE = true'' - If this value is ''NULL'', look for the ''wp-content/advanced-cache.php'' file which should include the line ''define('LSCACHE_ADV_CACHE', true);''. | + | This indicates that cache is turned off at the highest level. You will need to [[litespeed_wiki:cache:lscwp:installation|configure your server]], or have your hosting provider do it for you. |
+ | |||
+ | ===== LiteSpeed Cache is disabled in the plugin settings ===== | ||
+ | This indicates that you haven't turned on caching in the plugin settings. [[litespeed_wiki:cache:lscwp:configuration:general#enable_litespeed_cache|Do so]], and the problem should be solved. | ||
+ | |||
+ | ===== LiteSpeed Cache is disabled ===== | ||
+ | |||
+ | {{:litespeed_wiki:cache:lscwp:configuration:warning.png?400|}} | ||
+ | This is a generic error that doesn't indicate any cause. Navigate to **LiteSpeed Cache > Report** and look at the **Report Summary**. The ''Server Variables'' section right at the top can give you some helpful information. Check the values of the following variables: | ||
+ | * ''LSCACHE_ADV_CACHE = true'' - If this value is ''NULL'', look for the ''wp-content/advanced-cache.php'' file which should include the line ''define('LSCACHE_ADV_CACHE', true);''. If the line exists, then it may be a permissions issue. Simply fix by removing the ''advanced-cache.php'' file, and deactivating and reactivating the LiteSpeed Cache plugin. The file will be correctly regenerated. **NOTE:** Sometimes you do this, and the plugin still doesn't work. In this case, Navigate to **LiteSpeed Cache > Settings > Advanced** and disable **Check Advanced Cache**. | ||
+ | * ''LITESPEED_ON = true'' - If ''LSCACHE_ADV_CACHE = null'', then this will //always// be ''NULL''. Otherwise, if this value is ''NULL'', it means that you are not running with LiteSpeed Web Server. This is allowed, but it limits the functions that you are able to use. [[litespeed_wiki:cache:lscwp:installation|Learn more]]. | ||
+ | * ''LITESPEED_ON_IN_SETTING = true'' - If this value is ''NULL'', navigate to the **Settings > General** page and set **Enable LiteSpeed Cache** to ''Enable'' |