Hi All
since update from 7.13 to 7.14.6
custom modules don’t show content
for some reason it keeps inserting incorrect php tag in
cache/themes/SuiteP/modules/my_custom_module/SearchForm_advanced.tpl
and I have to manually change {php}…{/php} ->to-> <?php....?>
every time cache is rebuild…
(I dont usually touch the code, not a programmer, only using web interface for customisations, but figured it out…)
is there any way to fix this?
thank you
rsp
18 March 2025 18:51
2
I think that unfortunately we do not have non programming solution for this one.
It has been asked before in this forum. See if you can find easy fix.
I found this post because I was doing web searches for the same problem.
I’m migrating a company’s SuiteCRM 7.12 (PHP 7.4) to a new VM with PHP 8.2 and then upgrading that SuiteCRM copy to 7.14.2 . There were several blank pages when testing. The log file had:
[602][1][FATAL] Exception in Controller: Syntax error in template "file:/var/www/html/cache/themes/SuiteP/modules/Contacts/SearchForm_advanced.tpl" on line 565 "{php}$this->_tpl_vars['user_options'] = get_user_array(false);{/php}" unkno…
Please check if the actual file (themes/SuiteP/modules/my_custom_module/SearchForm_advanced.tpl) has the wrong php tags. If you correct there, the cached file will have the correct php tags after quick repair & rebuild.
blqt
19 March 2025 08:27
4
The problem is when you have added Created By or Modified By fields in your search view.
Removing these fields from the search view should fix the problem
3 Likes
thank you so much, it helped!