[SOLVED] - lot of javascript issues on a fresh installation : unable to use piwik


#1

Hi

i installed last piwik server on last easyphp 14.11 with APACHE 2.4.7 MYSQL 5.6.15 PHP 5.5.8. on a Intel i-5 4GB ram notebook.

empty server, only piwik installed.

piwik runs very slow , but this is not the main problem.

the main problem is the huge amounth of javascript issues that i can see in chrome console, for example, in the login page :

Uncaught SyntaxError: Unexpected token > index.php:20
Uncaught ReferenceError: jQuery is not defined jquery.placeholder.js?cb=3e56eeca24d975c41d932d6ce7d79924:157
Uncaught TypeError: Cannot set property ‘smartbanner’ of undefined jquery.smartbanner.js?cb=3e56eeca24d975c41d932d6ce7d79924:166
Uncaught ReferenceError: $ is not defined (index):33
Uncaught ReferenceError: $ is not defined (index):45

it looks like jQuery was not loaded, but this resource are sent by localhost, so there can be a server issue?

what about those problems in a fresh installation?

thanks

Andrea


(Matthieu Aubry) #2

please check your server error log file as there may be an error message in there. then check the FAQ for this error message: FAQ Archive - Analytics Platform - Matomo


#3

Hi,

thanks for your advice.

i found those errores in apache / error.log


[Mon Jun 23 08:50:00.677886 2014] [:error] [pid 1412:tid 792] [client 127.0.0.1:53946] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in C:\\Program Files (x86)\\EasyPHP-DevServer-14.1VC11\\data\\localweb\\projects\\piwik\\vendor\\tedivm\\jshrink\\src\\JShrink\\Minifier.php on line 266, referer: http://localhost/projects/piwik/
[Mon Jun 23 08:50:01.120886 2014] [:error] [pid 1412:tid 796] [client 127.0.0.1:53949] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in C:\\Program Files (x86)\\EasyPHP-DevServer-14.1VC11\\data\\localweb\\projects\\piwik\\libs\\Zend\\Session.php on line 469, referer: http://localhost/projects/piwik/

so i changed php.ini => max_execution_time to 300, and piwik starts to work :slight_smile:

solved ! :slight_smile: