@anonymous-piwik-user opened this Issue on December 24th 2013

After doing an manual upgrade from 2.0.1 to 2.0.2 I have this error:

A fatal error occurred

The following error just broke Piwik (v2.0.2):

Class 'Twig_Loader_Filesystem' not found

in

/web/stats.transitionnetwork.org/piwik/core/Twig.php line 150

Some more info has been posted here: https://trac.transitionnetwork.org/trac/ticket/664

Any suggestions?

@mattab commented on December 26th 2013 Owner

Can you check all files were uploaded properly?

If so, what php version do you use?

Closing as it should not be a bug but likely config or php or missing file issue...

Btw transitionnetwork is an awesome idea!

@anonymous-piwik-user commented on December 26th 2013

Replying to matt:

Can you check all files were uploaded properly?

Yes, I have just downloaded and extracted the latest zip:

cp piwik/config/config.ini.php .
wget "http://piwik.org/latest.zip" -O latest.zip
unzip latest.zip
 Archive:  latest.zip
 replace piwik/config/global.ini.php? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
cp config.ini.php piwik/config/
php piwik/index.php -- "module=CoreUpdater"

And now I don't have the error as before, just a blank page:

And a 500 error in the Nginx logs.

If so, what php version do you use?

The default Wheezy one:

```php -v
PHP 5.4.4-14+deb7u7 (cli) (built: Dec 12 2013 08:42:07)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies


> Closing as it should not be a bug but likely config or php or missing file issue...

OK... the config.ini.php is exactly the same as it was when running Piwik 2.0.1 and the files have simply been unzipped in place, so I'm not sure how that could have happened?

Anything else I can check? 

> Btw transitionnetwork is an awesome idea!

Indeed! I'm very lucky to be working on deploying and maintining Free software applications on their behalf :-) 
@anonymous-piwik-user commented on December 26th 2013

A php-fpm restart appers to have solved it, I'll post more info on the Transition Network Trac if anyone is interested.

Matt, thanks for the support!

This Issue was closed on December 26th 2013
Powered by GitHub Issue Mirror