Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Solve “File param is missing” problem of W3 Total Cache

DZone's Guide to

Solve “File param is missing” problem of W3 Total Cache

· Web Dev Zone ·
Free Resource

Deploying code to production can be filled with uncertainty. Reduce the risks, and deploy earlier and more often. Download this free guide to learn more. Brought to you in partnership with Rollbar.

As you may have seen, my website had not CSS these last days.

This was due to a bug in the W3 Total Cache plugin of WordPress. The minified CSS file wasn’t accessible. When we tried to access it from the site, there was an error : “File param is missing”

There is an easy solution to solve this problem. You just have to disable the “Rewrite URL structure” option on the Minify tab in the W3 Total Cache options. This will solve the problems. The only issue with this solution, is that you will not have fancy links for your CSS and JS minified files, but I think it’s a really little problem comparing to the lack of CSS :)

Hope this will be helpful to some of you

 

From http://www.baptiste-wicht.com/2011/06/solve-file-param-is-missing-problem-of-w3-total-cache/

Deploying code to production can be filled with uncertainty. Reduce the risks, and deploy earlier and more often. Download this free guide to learn more. Brought to you in partnership with Rollbar.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}