Re: Next install issue
"P.J. Tezza" <[email protected]>
| Newsgroups | gmane.mail.virus.maiamailguard |
|---|---|
| Message-ID | <[email protected]> |
I'm not sure about the problem in stats.tpl. It looks OK and it works on
my system with smarty3.
I had to fix the problem in list-cache.tpl as follows:
/home/biz/mailfiltercp/www/themes/desert_sand/templates# diff
list-cache.tpl list-cache.tpl~
58,59c58
< {* <tr class="{cycle values=$body_class,$alt_body_class}"
id="row_{$row[hamloop].id}"> *}
< <tr class="{cycle values="$body_class,$alt_body_class"}"
id="row_{$row[hamloop].id}">
---
> <tr class="{cycle values=$body_class,$alt_body_class }"
id="row_{$row[hamloop].id}">
Basically, I removed a pair of "extra" double quotes.
PJ
On 9/22/15 3:30 AM, Richard B. Pyne wrote:
> Some log wading has revealed a little information:
>
> [Tue Sep 22 04:13:06.975280 2015] [:error] [pid 6721] [client
> 45.56.30.190:16451] PHP Fatal error: Uncaught --> Smarty Compiler:
> Syntax error in template
> "/var/www/html/mail/maia/themes/ocean_surf/templates/stats.tpl" on
> line 59 "{$lang.text_efficiency} {$eff_pct*100|string_format:"%.2f"}%"
> unknown modifier "string_format" <-- \n thrown in
> /usr/share/php/Smarty/sysplugins/smarty_internal_templatecompilerbase.php
> on line 59, referer:
> http://domain.tld/mail/maia/settings.php?
>
> [Tue Sep 22 04:13:23.531632 2015] [:error] [pid 6724] [client
> 45.56.30.190:16458] PHP Fatal error: Uncaught --> Smarty Compiler:
> Syntax error in template
> "/var/www/html/mail/maia/themes/ocean_surf/templates/list-cache.tpl"
> on line 103 "<tr class="{cycle values="$body_class,$alt_body_class" }"
> id="row_{$row[hamloop].id}">" unknown tag "cycle" <-- \n thrown in
> /usr/share/php/Smarty/sysplugins/smarty_internal_templatecompilerbase.php
> on line 103, referer: http://domain.tld/mail/maia/welcome.php?
>
> Though I have no idea what to do with these errors.
>
> --Richard
>
> On 9/22/2015 4:22 AM, Richard B. Pyne wrote:
>> I have finally got maia mostly working on my new install, mail flows,
>> spam is quarantined, etc.
>>
>> Not I am working on getting all the pages to display. stats.php and
>> list-cache.php will only display blank pages. All of the other pages
>> appear to be working.
>>
>> I have checked the ownership and permissions on the template/*/compiled
>> directories, and checked the php.ini include_path to make sure it has
>> both the current directory and /usr/share/php in the path.
>>
>> This has certainly been an adventure, but I am running out of time to
>> deliver a working system.
>>
>> Any help or hints will be greatly appreciated.
>>
>> System configuration:
>>
>> CentOS 7.1
>> Postfix, Dovecot, Postfixadmin, and maia, all using Mariadb (mysql).
>>
>> --Richard
>> _______________________________________________
>> Maia-users mailing list
>> [email protected]
>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
> _______________________________________________
> Maia-users mailing list
> [email protected]
> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
_______________________________________________
Maia-users mailing list
[email protected]
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users