Page 1 of 1

Invalid CRT parameters detected

PostPosted: Sun Dec 08, 2013 10:39 pm
by maquinillo
Hello.

I have installed the bolt cm and I like it very much. But I have a problem.
When I see my entries or another page I get this error:


Twig_Error_Runtime

An exception has been thrown during the rendering of a template ("Invalid CRT parameters detected") in "_recordfooter.twig" at line 3.

My server is wampserver running on Windows 7 64bits.

Grettings.

Re: Invalid CRT parameters detected

PostPosted: Mon Dec 09, 2013 8:15 am
by maquinillo
I get the solution.
The template _recordfooter.twig in line 3 present:
{% set recdate = record.datepublish|localdate("%A %B %e, %Y") %} --> linux
and must be change for
{% set recdate = record.datepublish|localdate("%A %B %#d, %Y") %} --> windows

Re: Invalid CRT parameters detected

PostPosted: Fri Dec 20, 2013 3:48 pm
by Bob
Wow, that's really stupid of PHP. I will fix this for Bolt 1.4..

Re: Invalid CRT parameters detected

PostPosted: Fri Dec 20, 2013 3:56 pm
by Bob
It's fixed in out Github repo: https://github.com/bolt/bolt/commit/987802d8