Hello. When I try to install PIWIK, every time i see this 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.
What's wrong with it? What should I do to fix it?
Can you check that your layout twig file is properly uploaded? maybe reupload all files?
If you still have the error after please comment or reopen this issue!
Got the same issue.
I reinstalled using:
wget http://builds.piwik.org/piwik.zip && unzip piwik.zip
And the layout.twig file seams to be installed correctly:
jung@jung-pc:/opt/htdocs/piwik$ ll ./plugins/Installation/templates/layout.twig
-rw-r--r-- 1 jung web 3518 Aug 15 15:08 ./plugins/Installation/templates/layout.twig
Just found out it works, if I remove this setting from my php.ini file:
mbstring.internal_encoding = UTF-8
I had this problem too when trying to install PIWIK. But I use UTF-8 because I need that charset., I can't uninstall it just because PIWIk doesn't like it. And I don't even know where this php.ini file is.
I can't use PIWIK because of this. I need an installer that works without troubleshooting that is beyond my skill level.
This is on a phpBB board. Can you tell me in a detailed way without assuming any prior knowledge what I need to do for this installer to work?
PHP Version 5.3.10-1ubuntu3.13
Multibyte Support enabled
Multibyte string engine libmbfl
HTTP input encoding translation enabled
mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) backtrack check On
Multibyte regex (oniguruma) version 4.7.1
Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation On On
mbstring.func_overload 0 0
mbstring.http_input auto auto
mbstring.http_output HTML-ENTITIES HTML-ENTITIES
mbstring.http_output_conv_mimetypes ^(text/|application/xhtml+xml) ^(text/|application/xhtml+xml)
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value
Same problem here!
An error occurred The directory "/var/www/piwik/tmp/cache/tracker/" does not exist and could not be created.
****** PHP Version 5.5.9-1ubuntu4.14 ****** Linux ip-172-31-21-7 3.13.0-48-generic System <a href='/80'>#80</a>-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 Build Date Oct 28 2015 01:34:23 Server API Apache 2.0 Handler Virtual Directory Support disabled Configuration File (php.ini) Path /etc/php5/apache2 Loaded Configuration File /etc/php5/apache2/php.ini
phpinfo filtered mbstring*
mbstring extension makes use of "streamable kanji code filter and converter", mbstring.detect_order no value no value mbstring.encoding_translation Off Off mbstring.func_overload 0 0 mbstring.http_input pass pass mbstring.http_output pass pass mbstring.http_output_conv_mimetypes ^(text/|application/ ^(text/|application/ mbstring.internal_encoding no value no value mbstring.language neutral neutral mbstring.strict_detection Off Off mbstring.substitute_character no value no value