
YUI Javascript breaks in my 2.0.1 install (exponent.js.php)
Reported by Imran | October 4th, 2011 @ 03:27 PM | in 2.0.2 (closed)
Debugging lead me to a 400 Bad Request that was from the combined files being sent to the minifier. For some reason the number of files being sent to it is too high for it. Changing the following in exponent.js.php fixes it for me:
EXPONENT.YUI3_CONFIG = {
combine:<?php echo (MINIFY==1)?1:0; ?>,
To:
EXPONENT.YUI3_CONFIG = {
combine:false,
Comments and changes to this ticket
-
Imran October 4th, 2011 @ 06:41 PM
Defining:
define("MINIFY_MAX_FILES",'50');
in conf/config.php makes everything work again. It was set to 30 before and so it broke. This bug can be closed, thanks.
-
Imran October 5th, 2011 @ 05:36 AM
- Assigned user set to expNinja
It should also be noted that this variable should be deprecated when we upgrade to minify 2.1.4+:
http://code.google.com/p/minify/wiki/CommonProblems#Can't_specify_m...
-
dleffler October 11th, 2011 @ 12:30 AM
- State changed from new to invalid
- Tag set to minify
- Milestone set to 2.0.2
- Assigned user cleared.
- Milestone order changed from 109 to 0
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.