• Hi,

    I read a bunch of topics here and also went to the FAQ page to see if there was something about what I fighting, no success.

    Environment Context
    I have the latest Autoptimize and also W3 Total Cache. In W3 Total Cache I have only Page/Browser Cache enabled (therefore Minifying is disabled). In Autoptimize I have only JSS Minifying enabled (with all sub-items disabled) and I exclude “seal.js, js/jquery/jquery.js”.

    The issue
    When I enable CSS Minifying and hard refresh my page it loads until I get an error. PageSpeed Insights and GTMetrix get an error as well. I did troubleshoot to see which one exactly was causing the error (meaning that I deactivated W3 Total Cache, testes Autoptimize only and isolated the issue around CSS Minifying. Currently I have everything else ON and CSS Minifying OFF and the site is working fine)

    Attempt to resolve
    Out of the many things I searched for, I tried enabling the legacy minifying in wp-config.php, per FAQ suggestion, but that didn’t work. Tried re-enabling it again and again with no success.

    Below my system configuration

    
    ### WordPress Environment ###
    
    Home URL: https://armazemconnect.com.br
    Site URL: http://armazemconnect.com.br
    WC Version: 3.0.7
    Log Directory Writable: ✔
    WP Version: 4.7.5
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: pt_BR
    
    ### Server Environment ###
    
    Server Info: Microsoft-IIS/8.0
    PHP Version: 7.0.19
    PHP Post Max Size: 8 MB
    PHP Time Limit: 60
    PHP Max Input Vars: 1000
    cURL Version: 7.54.0
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.23
    Max Upload Size: 8 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.0.7
    WC Database Prefix: wp_
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    woocommerce_shipping_zones: ✔
    woocommerce_shipping_zone_locations: ✔
    woocommerce_shipping_zone_methods: ✔
    woocommerce_payment_tokens: ✔
    woocommerce_payment_tokenmeta: ✔
    MaxMind GeoIP Database: ✔
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (31) ###
    
    Akismet Anti-Spam: por Automattic – 3.3.2
    Autoptimize: por Frank Goossens (futtta) – 2.1.0
    Better Font Awesome: por MIGHTYminnow & Mickey Kay – 1.6.0
    Blog Designer: por Solwin Infotech – 1.7.2.1
    Custom Post Type UI: por WebDevStudios – 1.5.3
    Display Widgets: por Strategy11 – 2.05
    Google XML Sitemaps: por Arne Brachhold – 4.0.8
    Livemesh SiteOrigin Widgets: por Livemesh – 1.4.9
    MailChimp for WooCommerce: por MailChimp – 2.0.0
    Mobile Menu: por Takanakui – 2.4
    Ninja Forms: por The WP Ninjas – 3.1.2
    Packages Configuration for WooCommerce: por Jason Judge jason@academe.co.uk – 1.2.5
    Redirection: por John Godley – 2.6
    Relevanssi: por Mikko Saari – 3.5.10
    Shortcodes Ultimate: por Vladimir Anokhin – 4.9.9
    Page Builder da SiteOrigin: por SiteOrigin – 2.5.3
    SMTP Mailer: por naa986 – 1.0.3
    SiteOrigin Widgets Bundle: por SiteOrigin – 1.8.6
    SSL Insecure Content Fixer: por WebAware – 2.4.0
    Title Toggle for Storefront Theme: por Wooassist – 1.2.3
    Storefront Top Bar: por Wooassist – 1.1.1
    W3 Total Cache: por Frederick Townes – 0.9.5.4
    WooCommerce - Social Login: por WPWeb – 1.5.0
    WooCommerce Extra Checkout Fields for Brazil: por Claudio Sanches – 3.6.0
    WooCommerce Min/Max Quantities: por WooThemes – 2.3.13 – 2.3.16 está disponível
    WooCommerce PagSeguro: por Claudio Sanches – 2.12.5
    WOOF - WooCommerce Products Filter: por realmag777 – 1.1.7
    WooCommerce Local Pickup Plus: por WooThemes / SkyVerge – 1.13.1 – 1.14.1 está disponível
    WooCommerce: por Automattic – 3.0.7
    Yoast SEO: por Equipe da Yoast – 4.8
    Easy Forms for MailChimp: por YIKES
    Inc. – 6.3.19
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: BRL (R$)
    Currency Position: left
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Base da loja: #4 - /index.php/loja/
    Carrinho: #5 - /index.php/loja/carrinho/
    Finalizar compra: #6 - /index.php/loja/finalizar-compra/
    Minha conta: #7 - /index.php/minha-conta/
    
    ### Theme ###
    
    Name: Storefront Blank Child Theme
    Version: 1.0
    Author URL: http://www.pootlepress.com
    Child Theme: ✔
    Parent Theme Name: Storefront
    Parent Theme Version: 2.2.3
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: storefront-child/woocommerce/emails\customer-completed-order.php
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    first of all; thanks for really reading the FAQ and applying that info! seriously, you don’t know how many times I have to tell people to do just that … 😉

    now I had a look at your site and it seems you have Autoptimize active now and all works OK? if you still have problems you’ll have to try excluding CSS-files one by one until you find the one that breaks the optimizer.

    (not related to AO, but that designer_css.php CSS file is linked as stylesheet, but it contains CSS wrapped in HTML <style type="text/css"></style> so that might result in the CSS not being applied).

    Thread Starter fenosc

    (@fenosc)

    Hi, thanks for the quick answer!
    Now, I am not a pro (and I know you read this a lot), so I’d like to know if you could be a bit more specific on how I can approach this.

    1) “Excluding CSS-files one by one” – How would you approach that without breaking the website? I do know how to get into the FTP, find those files and delete them but I don’t even know what those CSS files are doing. I mean, they were created by so many plugins that I can’t tell what they specifically do. Would it be like renaming them and turning Autoptimize on and check whether it breaks or not?

    2) Funny you mentioned that “designer_css.php” file which is a pain in the ***. It is pointed as an “above the fold” error and it was created by a plugin. Do you have any idea on how to fix it? I have no idea what is the problematic relation you have with “linked as stylesheet” and “contains CSS wrapped in HTML <style type=”text/css”></style>”.

    Thanks!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    re (1); don’t remove any files from your server @fenosc ! what you want to do is go to your site with AO disabled (just add ?ao_noptimize=1 to the URL to do that) and then view source that page. in the resulting HTML you’ll see the CSS-files referenced, which you can then try to exclude (cfr. FAQ for info how to exclude).

    re (2); you’ll have to check with the plugin developer. the problem I tried to point out is that a CSS-file should never contain those HTML tags, it should just be CSS.

    frank

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Internal Server Error when Minifying CSS (yes I checked FAQ)’ is closed to new replies.