Sterc / modx-minify

9 stars 5 forks source link

Adding second snippet call produces 500 system error #1

Closed JurnSpijksma closed 8 years ago

JurnSpijksma commented 8 years ago

Fix: The minify class should be required once at line number 6 and line number 19.

joeke commented 8 years ago

Should be fixed now in latest release.

ilyamio commented 9 months ago

Hello! When adding <script type="text/javascript" src="[[!modxMinify?&group=frontjsfiles]]"></script> the site goes down and gives 500 error. I call snippet twice. First for css and second for js files. I tried to call just snippet for js. Anyway, site goes down with 500 error. There are no errors in log files. How can it be solved? Thanks.

ilyamio commented 9 months ago

Hello! When adding <script type="text/javascript" src="[[!modxMinify?&group=frontjsfiles]]"></script> the site goes down and gives 500 error. I call snippet twice. First for css and second for js files. I tried to call just snippet for js. Anyway, site goes down with 500 error. There are no errors in log files. How can it be solved? Thanks.

This issue is solved! Problem was in one js file. I separated it from the snippet and the 500 error disappeared.