Page 1 of 1

old bulletproof copied template bugs and S9y 1.7 series

Posted: Sat Jul 27, 2013 12:31 pm
by Timbalu
Some people upgrading to our 1.7 series might inspect a bug with older bulletproof copy templates, when opening GET /?frontpage, which turns white and errors silently into the server error logs. (*, **)
Inspecting that (smarty compile error) in the log isn't a real pleasure, since you have to guess and know about the history of bulletproof changes.

Most of it turns out to be the change from eval to assign in the pagination section of entries.tpl long time ago (*). This was already mentioned in some few threads of this forum before, so this might not really hit too much people. (There are some other minor changes too)

It just might be a very good idea, before an upgrade to the 1.7 series is processed, to copy this into your (only bulletproof copy) template before ... ntries.tpl
... and also this file ...
to reflect some needed changes over years in the config file.

If you have done some individual tweaks to these files, please compare and replace!

(*) This errors like this for example: "Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file '-3' in 'file: /some/path/serendipity/templates/YOUR_TEMPLATE_NAME/entries.tpl' in ... "

(**) This error can also happen to the public, viewing categories needing the pagination to split entries.