Subscribe via
Welcome, Guest. Please login or register.
Did you miss your activation email?
 OMNINOGGIN ForumPlugin SupportWP MinifyPlugin does only work in debug mode
Pages: [1]
Print
Author Topic: Plugin does only work in debug mode  (Read 1834 times)
joephein
Newbie
*
Posts: 2


View Profile Email
« on: August 03, 2009, 04:06:51 AM »

Hi, thanks a lot for the great plugin. It works very nice. Using Firebug and the debug mode I have excluded some js and css on our family weblog hein.nu:

wp-cumulus/swfobject.js
flickr-gallery/flightbox/jquery.flightbox.js
feeds.delicious.com
flickr-gallery/flightbox/jquery.flightbox.css

Everythings works fine now, so you would expect that disabling "debug mode  (Combine files but do not minify)" should not be a problem however I get a lot of "jQuery is not defined" after doing so. Mainly for the plugin "flickr-gallery". Is there somebody with an idea how to get this solved?
Logged

joephein
Newbie
*
Posts: 2


View Profile Email
« Reply #1 on: August 03, 2009, 05:22:34 AM »

I also found there is a problem with wp-email. There is an error:
emailL10n is not defined
min?f=/wp-content/plugins/wp-email/email-js.js()

so I also disabled it too:
email-js.js
email-js.dev.js

Disabling the jquery java scripts solve all the problems but minimize the effect of wp-minify with great extend.
jquery
jquery-ui
jquery-core
« Last Edit: August 03, 2009, 05:34:22 AM by joephein » Logged

Thaya
Administrator
Sr. Member
*****
Posts: 420



View Profile WWW Email
« Reply #2 on: August 04, 2009, 03:56:12 PM »

Sounds like some things in one of those JS scripts is causing the Minify process to fail.

I previously have successfully included jquery into WP Minify, so I can't think of why it's not working for you.

Try pasting the non-debug URL into your browser and check if it still returns something good, such as:
http://omninoggin.com/wp-content/plugins/wp-minify/min/?f=www/wp-includes/js/jquery/jquery.js,www/wp-includes/js/tw-sack.js
instead of:
http://omninoggin.com/wp-content/plugins/wp-minify/min/?f=www/wp-includes/js/jquery/jquery.js,www/wp-includes/js/tw-sack.js&debug=true
Logged

Pages: [1]
Print
Jump to: