Hello,
the current version of CMS MS comes with pre-installed News and Search modules. When I dis-activate them I get errors
Error: at line 702 in file C:\xampp\htdocs\bionovalab\lib\smarty\sysplugins\smarty_internal_templatecompilerbase.php:
Message:
Syntax Error in template "tpl_body:22" on line 25 "{* End Search *}" Default plugin handler: Returned callback for "search" not callabl
What is it? How I can rid of not needed modules?
Thanks in advance
Cobol74
How to uninstall or at least deactivate News and Search m?
Re: How to uninstall or at least deactivate News and Search
Why?
If you want to hide them from users don't assign them permissions to work with (for News that is).
If you want to hide them from users don't assign them permissions to work with (for News that is).
Re: How to uninstall or at least deactivate News and Search
Page Template is using {news} and {search} tags, if you disable or uninstall these modules, those smarty tags no longer exist therefore you are being faced with error.
Reading actual error would of gave you answer already.Default plugin handler: Returned callback for "search" not callabl
Re: How to uninstall or at least deactivate News and Search
I have designed by the client website and it does not include these features.velden wrote:Why?
If you want to hide them from users don't assign them permissions to work with (for News that is).
Should I define group 'visitors'?
And I don't see 'View' any particular modules permission to turn it off for any group...
Re: How to uninstall or at least deactivate News and Search
I understand it, but I can't find the template... The error message points me to error message generator (event handler) instead of place of error.uniqu3 wrote:Page Template is using {news} and {search} tags, if you disable or uninstall these modules, those smarty tags no longer exist therefore you are being faced with error.
Reading actual error would of gave you answer already.Default plugin handler: Returned callback for "search" not callabl
Re: How to uninstall or at least deactivate News and Search
Is here any possibility to turn off Smarty error messages and/or set it to ignore non-existent tags?uniqu3 wrote:Page Template is using {news} and {search} tags, if you disable or uninstall these modules, those smarty tags no longer exist therefore you are being faced with error.
Reading actual error would of gave you answer already.Default plugin handler: Returned callback for "search" not callabl
Re: How to uninstall or at least deactivate News and Search
No there is no way and shouldn't be.
Template is the one you are using for your site.
And please read errors you get and try to understand these:
Template is the one you are using for your site.
And please read errors you get and try to understand these:
So this means that in your Page Template that is used on the site you have seen this error on line 25 there is {search} and it is very simple to search your Template for {* End Search *} to find exactly that line.Syntax Error in template "tpl_body:22" on line 25 "{* End Search *}"
Re: How to uninstall or at least deactivate News and Search
I am using the default template which comes with CMS MSuniqu3 wrote:No there is no way and shouldn't be.
Template is the one you are using for your site.
NCleanBlue - I edit it and submitted:
Code: Select all
<!-- { * Start Search, the input "Submit" is using an image, CSS: div#search input.search-button * }
<div id="search" class="core-float-right">
{search search_method="post"}
</div>
{ * End Search * }
-->
and similar commented out { news } tag,
but the error persists.
Re: How to uninstall or at least deactivate News and Search
Thank you.
The problem is solved.
I had to comment out all smarty tags inside html comments
The problem is solved.
I had to comment out all smarty tags inside html comments