CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#12044] System Information "Do a Compilation Check" [yes] shows a wrong language string

avatar
Created By: Deleted User (deleteduser_11200)
Date Submitted: Tue May 21 04:34:28 -0400 2019

Assigned To:
Version: 2.2.10
CMSMS Version: 2.2.10
Severity: Minor
Resolution: None
State: Open
Summary:
System Information "Do a Compilation Check" [yes] shows a wrong language string
Detailed Description:
* Problem:

System Information "Do a Compilation Check" [yes] shows a wrong language string.

* How to verify:

== 1:
Go to:
Site Admin -> Settings - Global Settings [Smarty Settings]
Set:
Enable Smarty Caching: Yes
Do a Compilation Check: Yes

== 2:
Go to:
Site Admin -> System Information: 
Read the language string under:
Performance and Tuning Information (recommended settings, but not required)
"Do a Compilation Check"

==
Enable Smarty Caching	Success	On	(True)
Do a Compilation Check	Caution	On	(True)	
Enabling Smarty caching can have serious performance benefits for most websites.
==

* Solution: 

Apply correct language string in: "./admin/systeminfo.php" line 140 of 359

137 $res = (bool) get_site_preference('use_smartycache', FALSE);
138 $tmp[0]['smarty_cache'] = testBoolean(0,
lang('prompt_use_smartycaching'),$res,lang('test_smarty_caching'), FALSE);
139 $res = get_site_preference('use_smartycompilecheck', FALSE);
140 $tmp[0]['smarty_compilecheck'] = testBoolean(0,
lang('prompt_smarty_compilecheck'),$res,lang('test_smarty_caching'),FALSE,TRUE);


History

Comments
avatar
Date: 2019-05-21 04:40
Posted By: Deleted User (deleteduser_11200)

Default setting gives a proper language string.

Enable Smarty Caching: Yes
Do a Compilation Check: No
      
Updates

Updated: 2019-05-21 04:40
resolution_id: => 5