YUI Javascript breaks in my 2.0.1 install (exponent.js.php)
Reported by Imran | October 4th, 2011 @ 03:27 PM
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...
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS