500 Internal server error - max execution time


#1

Hi,

I look on the forum and on other websites, and the response to this issue is always increase the max exec time in php.ini.

I did that, now the value is at 300, but I even put 0, but to no avail.
The request that breaks everything:
http://127.0.0.1/piwik/index.php?module=Proxy&action=getCoreJs&cb=798f2c7bd25d033ebcf21ea2af31f29f

What is this problem? Can someone pin point a solution?
Thank you.

[19-Mar-2015 16:24:46 UTC] PHP Fatal error: Maximum execution time of 300 seconds exceeded in D:\xampp\htdocs\piwik\vendor\tedivm\jshrink\src\JShrink\Minifier.php on line 253

[19-Mar-2015 16:24:46 UTC] PHP Stack trace:

[19-Mar-2015 16:24:46 UTC] PHP 1. {main}() D:\xampp\htdocs\piwik\index.php:0

[19-Mar-2015 16:24:46 UTC] PHP 2. require_once() D:\xampp\htdocs\piwik\index.php:27

[19-Mar-2015 16:24:46 UTC] PHP 3. Piwik\FrontController->dispatch() D:\xampp\htdocs\piwik\core\dispatch.php:31

[19-Mar-2015 16:24:46 UTC] PHP 4. Piwik\FrontController->doDispatch() D:\xampp\htdocs\piwik\core\FrontController.php:96

[19-Mar-2015 16:24:46 UTC] PHP 5. call_user_func_array:{D:\xampp\htdocs\piwik\core\FrontController.php:604}() D:\xampp\htdocs\piwik\core\FrontController.php:604

[19-Mar-2015 16:24:46 UTC] PHP 6. Piwik\Plugins\Proxy\Controller->getCoreJs() D:\xampp\htdocs\piwik\core\FrontController.php:604

[19-Mar-2015 16:24:46 UTC] PHP 7. Piwik\AssetManager->getMergedCoreJavaScript() D:\xampp\htdocs\piwik\plugins\Proxy\Controller.php:48

[19-Mar-2015 16:24:46 UTC] PHP 8. Piwik\AssetManager->getMergedJavascript() D:\xampp\htdocs\piwik\core\AssetManager.php:183

[19-Mar-2015 16:24:46 UTC] PHP 9. Piwik\AssetManager\UIAssetMerger->generateFile() D:\xampp\htdocs\piwik\core\AssetManager.php:287

[19-Mar-2015 16:24:46 UTC] PHP 10. Piwik\AssetManager\UIAssetMerger\JScriptUIAssetMerger->getMergedAssets() D:\xampp\htdocs\piwik\core\AssetManager\UIAssetMerger.php:54

[19-Mar-2015 16:24:46 UTC] PHP 11. Piwik\AssetManager\UIAssetMerger->getConcatenatedAssets() D:\xampp\htdocs\piwik\core\AssetManager\UIAssetMerger\JScriptUIAssetMerger.php:40

[19-Mar-2015 16:24:46 UTC] PHP 12. Piwik\AssetManager\UIAssetMerger->concatenateAssets() D:\xampp\htdocs\piwik\core\AssetManager\UIAssetMerger.php:99

[19-Mar-2015 16:24:46 UTC] PHP 13. Piwik\AssetManager\UIAssetMerger\JScriptUIAssetMerger->processFileContent() D:\xampp\htdocs\piwik\core\AssetManager\UIAssetMerger.php:112

[19-Mar-2015 16:24:46 UTC] PHP 14. Piwik\AssetManager\UIAssetMinifier->minifyJs() D:\xampp\htdocs\piwik\core\AssetManager\UIAssetMerger\JScriptUIAssetMerger.php:85

[19-Mar-2015 16:24:46 UTC] PHP 15. JShrink\Minifier::minify() D:\xampp\htdocs\piwik\core\AssetManager\UIAssetMinifier.php:57

[19-Mar-2015 16:24:46 UTC] PHP 16. JShrink\Minifier->breakdownScript() D:\xampp\htdocs\piwik\vendor\tedivm\jshrink\src\JShrink\Minifier.php:134


(Matthieu Aubry) #2

Hi there

try to upgrade PHP version as PHP got much faster in recent versions.


#3

Hi matt,

I’m using xampp on windows and it has the last version installed.
PHP5.6 if I’m correct.

Piwik has always worked in installations on host servers, but on my local machine is driving me nuts.
I’m currently using Drupal integration and I needed to see results and such, but Piwik UI is stalled…

Do you have any other suggestion?
Thanks


(Matthieu Aubry) #4

Sounds like a system error, it should not take that long to generate the Javascript file. sorry i don’t know how to help!