Code: Select all
PHP Fatal error: Call to undefined function feu_smarty_plugins::feu_protect()
Code: Select all
{feu_protect groups="group1"}
This is a test.
{/feu_protect}
I think that this had worked on CMSMS 2.1.6, possibly with FEU 2.4.1, but I'm not completely sure of that. I wasn't sure if this was an unintended consequence of the recent changes to the template processing order, or if it was a change that I'd missed in a changelog somewhere, or if it's actually a bug. I didn't want to jump straight to filing a bug report before checking and posting here.
Using an {if} block with feu_smarty::is_user_memberof() does seem to work as a workaround for now.
Here's the installation's System Information:
----------------------------------------------
Cms Version: 2.2.2
Installed Modules:
AdminSearch: 1.0.4
CGExtensions: 1.56
CGSimpleSmarty: 2.1.6
CMSContentManager: 1.1.5
CMSMailer: 6.2.14
CmsJobManager: 0.1
Cron: 0.2
DesignManager: 1.1.3
FileManager: 1.6.3
FilePicker: 1.0
FormBuilder: 0.8.1.6
FrontEndUsers: 2.4.4
MenuManager: 1.50.3
MicroTiny: 2.2
ModuleManager: 2.1.1
Navigator: 1.0.7
News: 2.51.2
Search: 1.51.2
Config Information:
php_memory_limit:
max_upload_size: 64000000
url_rewriting: none
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: America/New_York
permissive_smarty: false
Php Information:
phpversion: 5.6.29
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 32767
E_STRICT: 2048
E_DEPRECATED: 8192
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 120
register_globals: Off (False)
output_buffering: 0
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 80M
upload_max_filesize: 64M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On
Performance Information:
allow_browser_cache: On (True)
browser_cache_expiry: 60
php_opcache: On (True)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 3.2.61-grsec-modsign On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.6.34
Server Db Grants: Could not find a suitable "GRANT ALL" permission, this does not necessarily lead to problems... But if you have problems installing/removing modules or adding and deleting items/pages this could be the cause!
Permission Information:
tmp: /tmp (0755)
tmp_cache: /tmp/cache (0755)
templates_c: /tmp/templates_c (0755)
modules: /modules (0755)
uploads: /uploads (0755)
File Creation Mask (umask): /tmp/cache (0755)
config_file: 0400
----------------------------------------------