Quantcast
Viewing all articles
Browse latest Browse all 4243

Can't install Piwik: An exception has been thrown during the rendering of a template ("parse error: failed at `content: '· ';` line: 3682") in "@Installation/layout.twig" at line 40. (no replies)

I've got a project made in UTF-8 and want to install Piwik within it.
Hosting which i use is configured for sites in CP-1251. All my projects except Piwik works wonderful when i put such lines in .htaccess:
<IfModule mod_php5.c>
php_value display_errors 1
php_value mbstring.func_overload 2
php_value mbstring.internal_encoding UTF-8
</IfModule>


But with such settings Piwik installation throws an error:
An exception has been thrown during the rendering of a template ("parse error: failed at `content: '· ';` line: 3682") in "@Installation/layout.twig" at line 40.

I thought this is Twig error, but simple Twig test works great with any mbstring settings.

Right now piwik downloaded from stable git branch.

Here are examples:
1) Piwik + default hosting settings http://piwik.ivserv2.tmweb.ru/piwik/ (work)
2) Piwik + necessary hosting settngs (.htacces above) http://piwik.ivserv2.tmweb.ru/piwik-mb/ (doesn't work)
3) Twig sample + default hosting settings http://piwik.ivserv2.tmweb.ru/twig_demo-mb/ (work)
3) Twig sample + necessary hosting settings (.htacces above) http://piwik.ivserv2.tmweb.ru/twig_demo/ (work)

Viewing all articles
Browse latest Browse all 4243

Trending Articles