• Greetings,

    After having a bit of trouble getting the previous version to work with my site- you really helped me alot by giving me some tips on how to get it to work and it was successful.

    This is the original thread that you helped me fix my css trouble before:
    http://wordpress.org/support/topic/296526?replies=5#post-1188541

    …Anyway, after upgrading to the latest version (v 0.7.5.1) I’m experience the same trouble with the plugin breaking my theme/css and some of the javascripts not working when minified. I didn’t change any of my settings (line/comment breaks disabled, etc.) that worked in fixing the issues I was experiencing with the previous version- so I’m kind of back at square one again. I’ve tried to clear the cache completely and reset all my settings including JS and CSS files to minify, but no luck. Right now I’m successfully running the page and database cache part of the plugin, but unable to use minify for my JS/CSS files.

    I’d really appreciate any help you can give. Thanks again for such a great plugin. Until I upgraded, it really made my site fly and I really hope I can get this working again soon. =)

    http://wordpress.org/extend/plugins/w3-total-cache/

Viewing 15 replies - 16 through 30 (of 31 total)
  • Hi i am having an issue with minify using W3TC. I can get everything else to work(apc and memcached) but when i try to use minify, I can not get it to work at all. I am using wordpress 2.8.6 with W3TC .8.

    I tried different forms of paths for the css/js files but none of it made any difference at all. The settings show the files have been added correctly(or i think its correct, not installed this plugin before so i do not know if its right or not).

    Is there possibly something i am missing? I can not really find anyone else who is/has had this issue before which makes me think i may be doing something wrong.

    I saw some mention an issue with adding js and css files to the minify section, but i found that after adding them and clicking on minify section again a time or 2 that it showed the files i added.

    Did you click “Verify URI” to make sure everything was ok?

    Did you check the wp-content/w3tc/ directory to make sure that the cache files were being created?

    Did you try to open the minify files found in your updated source code?

    It verifies ok, but when i go to load my home page or any other page, it wont load any of the css files i put in for it to minify. It wont create any files even though it has permissions to do so. It does create my cache files perfectly fine as all the cache stuff works(apc and memcache). It just wont do anything with minify.

    If you select disk as the method. When you open the created files in your browser what happens?

    same as before, it will just return a 404 with bad request and wont load the css files anymore until i remove them from the minify section and still wont create any minified files.

    Then I’m 100% sure that even though you have a scripts entered correctly, there is one that does not like to be minified. So you can either, try “combine only” for those scripts and see if it works then or you can remove scripts one by one until you original minification preferences work.

    No matter which css/js file i used to get it to work with, it just gave me back the same results and unsure where its breaking as its not writing anything out to the log file(i recreated it where its supposed to be with the correct file name as someone else suggested).

    I also am trying scripts one at a time so i can try to find any that may not work as well. Also trying different settings with no change to what it does.

    Sorry to double post but after a lucky guess, found out a plugin i use is the cause of the minifying to not work.

    I use a plugin called vbridge to let wordpress work with vbulletin and i guess something it does is breaking the ability for the W3 Total Cache plugin to minify the files properly as after i turn it off the minify settings work instantly without any issues aside from it not minifying jquery.

    Got a copy of the new version of W3TC and it works a lot better but i now have an issue with adding css and js files to the minify list. i even tried to manually add the files to the config and it than only shows 1 character of the url and if i hit save in the configuration it removes the changes i made to the config file.

    Please backup your settings file, deactivate the plugin, remove the plugin, re-download, activate and restore your settings file. Sorry for the trouble.

    I’m was having the same problem as swatgod. I followed your advice Frederick, a complete reinstall of W3TC, and the minify now works but has introduced a new problem:

    My page source still requests the original CSS file along with the new minified file.

    <link rel=”stylesheet” type=”text/css” href=”http://assets.urbanmainframe.com/wp-content/w3tc/min/default.include.css&#8221; media=”all” />

    <link rel=”stylesheet” href=”http://assets.urbanmainframe.com/wp-content/themes/options/styles/light/light.css&#8221; type=”text/css” media=”screen” />

    All that “default.include.css” contains at the moment is the minified version of “light.css” but the request for “light.css” remains in the source of the page. This didn’t happen with the previous version of W3TC.

    Any ideas?

    I know this might sound silly, but are you sure light.css is in your settings? Can you humor me and double check? Additionally the settings file changed a bit due to some core changes, so your groupings if any might require a check and re-save.

    Hi Frederick. I just double-checked and light.css is definitely in my Minify settings. “Verify URI” result is positive too.

    Ok, I don’t have enough information to trouble shoot. Did you re-populate your settings after upgrade or reuse your old settings file? Can you submit a bug report (in the plugin) please?

    Hi Frederick. I reused my old settings file. Is that the problem?

Viewing 15 replies - 16 through 30 (of 31 total)
  • The topic ‘Trouble with javascript and css after latest upgrade of W3 Total Cache’ is closed to new replies.