Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

PIWIK installation on Redhat 6 - Error loading welcome.twig

$
0
0

@hburnswell wrote:

Hi All,

I'm new to Piwik and trying to install it for the first time on Redhat 6. I have followed the RHEL CentOS Installation document on github: https://github.com/piwik/piwik/wiki/RHEL---CentOS-installation. When I load the index page, I receive:

An Error Occurred

The string to escape is not a valid UTF-8 string in "@Installation/welcome.twig" at line 1.

I have read a similar thread in issue #4410: https://github.com/piwik/piwik/issues/4410. I am receiving the same UTF-8 string error but with a different twig file. That being said, I followed the recommended fix for issue #4410 and to replaced the line in plugins/SegmentEditor/SegmentFormatter.php:

return strtolower($translation);

with:

return mb_strtolower($translation, 'UTF-8');

The problem persists after changing this return line. One thing to note is that Redhat 6 does not seem to have the packages mentioned in the RHEL CentOS installation on github:

php5-curl
php5-gd
php5-cli
php5-geoip

The PHP version on the system is: 5.3.3.

Any guidance is greatly appreciated, thanks in advance..

Herb

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles