I created a PDF template in order to send quotes to customers. Once I did that, I can no longer create a new quote, or view/edit existing quotes. I have deleted the PDF template as well as run the quick repair/rebuild with no success. I have also confirmed the file privileges are set correctly by running the following commands:
$ sudo chmod -R 755 .
$ sudo chmod -R 775 cache custom modules themes
$ sudo chmod -R 775 data upload config_override.php
There are no errors logged regarding this under /var/www/html/suitecrm/suitecrm.log. The following error is logged in /var/logs/apache2/error.log each time I try to view or edit an existing quote:
[Wed Dec 23 08:30:21.987317 2015] [:error] [pid 17858] [client 10.0.0.5:64318] PHP Fatal error: Smarty error: [in cache/modules/AOS_Quotes/DetailView.tpl line 299]: syntax error: unbalanced parenthesis in if statement (Smarty_Compiler.class.php, line 1284) in /var/www/html/suitecrm/include/Smarty/Smarty.class.php on line 1094, referer: http://10.0.0.123:9000/suitecrm/index.php?module=AOS_Quotes&action=index&return_module=AOS_Quotes&return_action=DetailView
I’ve checked each of the php files mentioned but cannot see where a missing parenthesis is.
Any help is appreciated!
Kevin