Subscribe via
Welcome, Guest. Please login or register.
Did you miss your activation email?
 OMNINOGGIN ForumPlugin SupportWP MinifyCSS Minify broke. Error: Could not fetch and cache URL
Pages: [1]
Print
Author Topic: CSS Minify broke. Error: Could not fetch and cache URL  (Read 509 times)
cadbloke
Newbie
*
Posts: 2


View Profile Email
« on: February 20, 2010, 03:06:21 AM »

Minifying CSS broke my website. Here is the html from the broken page.

Code: [Select]
Error: Could not fetch and cache URL: . You might need to exclude this file in WP Minify options.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en-US">
<head profile="http://gmpg.org/xfn/11">
<link rel='stylesheet' href='http://www.cadbloke.com/wp-content/plugins/wp-minify/min/?f=/wp-content/themes/hybrid-news/style.css,/wp-content/themes/hybrid-news/front-page.css,/wp-content/plugins/contact-form-7/styles.css,/wp-content/plugins/sociable/sociable.css,/wp-content/plugins/daves-wordpress-live-search/daves-wordpress-live-search_default_blue.css,/wp-content/plugins/wp-ajax-edit-comments/css/themes/aesthetica-small/edit-comments.css,/wp-content/plugins/wp-ajax-edit-comments/css/colorbox/colorbox.css,/wp-content/themes/hybrid/library/css/20px.css,/wp-content/themes/hybrid/library/css/plugins.css,/wp-content/themes/hybrid/library/css/drop-downs.css,/wp-content/themes/hybrid-news/tabs.css,/wp-content/plugins/daves-wordpress-live-search/daves-wordpress-live-search_default_blue.css,/wp-content/plugins/sociable/sociable.css,/wp-content/themes/hybrid/library/css/20px.css,/wp-content/themes/hybrid/library/css/plugins.css,/wp-content/themes/hybrid/library/css/drop-downs.css,/wp-content/themes/hybrid-news/tabs.css,/wp-content/plugins/wp-minify/cache/d41d8cd98f00b204e9800998ecf8427e.css' type='text/css' media='screen' />
<script type='text/javascript' src='http://www.cadbloke.com/wp-content/plugins/wp-minify/min/?f=/wp-content/plugins/wp-minify/cache/ec2d11924f1b12f00911a163576ef3ec.js,/wp-content/plugins/daves-wordpress-live-search/jquery.dimensions.pack.js,/wp-content/plugins/wp-minify/cache/f6c95596e4172a64ea40e74ff3de6204.js,/wp-content/themes/hybrid-news/library/js/jquery.cycle.js,/wp-content/themes/hybrid-news/library/js/jquery.functions.js,/wp-content/plugins/hybrid-tabs/js/tabs.js,/wp-content/plugins/sociable/addtofavorites.js,/wp-includes/js/wp-ajax-response.js,/wp-content/plugins/wp-ajax-edit-comments/js/jquery.colorbox-min.js,/wp-content/plugins/wp-ajax-edit-comments/js/wp-ajax-edit-comments.js,/wp-includes/js/jquery/jquery.form.js,/wp-content/plugins/contact-form-7/scripts.js'></script>
<title>CADbloke: Broadcast &amp; IT System Design and Documentation</title>
 
 
 
<meta http-equiv="Content-Type" content="text/html charset=UTF-8" />
<meta name="generator" content="WordPress 2.9.2" />
<meta name="template" content="Hybrid 0.7.1" />
<meta name="robots" content="index,follow" />
<meta name="author" content="CADbloke" />
....


Here is the html with CSS minify turned off

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en-US">
<head profile="http://gmpg.org/xfn/11">
<script type='text/javascript' src='http://www.cadbloke.com/wp-content/plugins/wp-minify/min/?f=/wp-content/plugins/wp-minify/cache/ec2d11924f1b12f00911a163576ef3ec.js,/wp-content/plugins/daves-wordpress-live-search/jquery.dimensions.pack.js,/wp-content/plugins/wp-minify/cache/f6c95596e4172a64ea40e74ff3de6204.js,/wp-content/themes/hybrid-news/library/js/jquery.cycle.js,/wp-content/themes/hybrid-news/library/js/jquery.functions.js,/wp-content/plugins/hybrid-tabs/js/tabs.js,/wp-content/plugins/sociable/addtofavorites.js,/wp-includes/js/wp-ajax-response.js,/wp-content/plugins/wp-ajax-edit-comments/js/jquery.colorbox-min.js,/wp-content/plugins/wp-ajax-edit-comments/js/wp-ajax-edit-comments.js,/wp-includes/js/jquery/jquery.form.js,/wp-content/plugins/contact-form-7/scripts.js'></script>
<title>CADbloke: Broadcast &amp; IT System Design and Documentation</title>
 
<link rel="stylesheet" href="http://www.cadbloke.com/wp-content/themes/hybrid-news/style.css" type="text/css" media="screen" />
 
<meta http-equiv="Content-Type" content="text/html charset=UTF-8" />
<meta name="generator" content="WordPress 2.9.2" />
<meta name="template" content="Hybrid 0.7.1" />
<meta name="robots" content="index,follow" />
<meta name="author" content="CADbloke" />
<meta name="copyright" content="Copyright (c) October 2009" />
<meta name="revised" content="Friday, November 20th, 2009, 10:07 am" />
<meta name="description" content="Broadcast &amp; IT System Design and Documentation" />
<link rel="pingback" href="http://www.cadbloke.com/xmlrpc.php" />
<link rel='stylesheet' id='hybrid-print-css'  href='http://www.cadbloke.com/wp-content/themes/hybrid/library/css/print.css?ver=0.7' type='text/css' media='print' />
<link rel='stylesheet' id='front-page-css'  href='http://www.cadbloke.com/wp-content/themes/hybrid-news/front-page.css?ver=0.1' type='text/css' media='screen' />
<link rel='stylesheet' id='contact-form-7-css'  href='http://www.cadbloke.com/wp-content/plugins/contact-form-7/styles.css?ver=2.1.1' type='text/css' media='all' />
<link rel='stylesheet' id='sociable-front-css-css'  href='http://www.cadbloke.com/wp-content/plugins/sociable/sociable.css?ver=2.9.2' type='text/css' media='' />
 
<script type='text/javascript'>try{jQuery.noConflict();}catch(e){};</script>



I hope this helps. Your plugin shows a lot of promise.
Logged

cadbloke
Newbie
*
Posts: 2


View Profile Email
« Reply #1 on: February 20, 2010, 04:17:42 AM »

Fixed it. When I installed the plugin there were quite a few CSS files listed in the additional to include list. I looked at the URL that was causing the 400 request and most of those in the list were listed twice. After removing the double-up and correcting some CSS that compressed badly because I missed some single-quotes around a font name that had 2 words, it seems to work fine!.

Yay!
Logged

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



View Profile WWW Email
« Reply #2 on: February 20, 2010, 11:15:43 PM »

Congrats on the successful troubleshoot!
Logged

Pages: [1]
Print
Jump to: