Forum Replies Created

Viewing 15 replies - 61 through 75 (of 99 total)
  • Thread Starter juslintek

    (@juslintek)

    Hi, it works properly, add it to mu-plugins dir as it is as described must use plugin. It will remove actions with original functions and add actions with modified functions, which check if site is not main and then suffixes its id to name of manifest.json like this manifest_5.json, superpwa-sw_5.js. As well it currently deletes only main file on deactivation of main plugin and creates same file on activation. Basically it creates site specific files when you save changes on that specific site.

    P.S. As I said I’ve added header function to action.

    Thread Starter juslintek

    (@juslintek)

    Ah sorry forgot that one. Just updated to working ?? I can actually modify your code in a branch and then create a pull request ??

    • This reply was modified 6 years, 9 months ago by juslintek. Reason: Changed message totally because saw my mistake myself
    Thread Starter juslintek

    (@juslintek)

    Hi, I’ve create mu-plugin for this purpose, you can use it to update, just let me know when changes are in the plugin so I would disable mine.

    https://github.com/juslintek/super-pwa-multisite

    Thread Starter juslintek

    (@juslintek)

    criticalcss.com doesn’t properly extract the critical css. After using what it returns I get twitches, font changes and so on. So I better write manually per template and add it to head and disable your plugins critical css.

    Thread Starter juslintek

    (@juslintek)

    Can I somehow add custom critical css per template, for example just load its contents from css files via php per template?

    Thread Starter juslintek

    (@juslintek)

    Hm, have no idea if that is a bug. But on main page it gives me 99, because same problem doesn’t repeat itself even if code is the same any ideas?

    [Fri Sep 15 12:14:47.592317 2017] [fcgid:warn] [pid 27144] (32)Broken pipe: [client 172.31.1.119:53682] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

    even after changing nginx proxy configs to:
    send_timeout 3000;
    proxy_connect_timeout 9000;
    proxy_send_timeout 9000;
    proxy_read_timeout 9000;

    Something is really messed up. ??

    • This reply was modified 7 years, 2 months ago by juslintek. Reason: Added extra info

    Here are my data. Please help.

    Wordpress 4.8.1 Multisite subdirectory based, with WordPress MU Domain Mapping.

    Me three, here is the log, increased timeout limit to 300:

    [Fri Sep 15 08:38:54.240623 2017] [fcgid:warn] [pid 16120] (32)Broken pipe: [client 172.31.1.119:45758] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: https://website.local/wp-admin/network/sites.php?page=multisite-clone-duplicator&id=1

    Here are apache configs:

    
    <VirtualHost 172.31.1.119:8443>
    
        ServerName website.local
        ServerAlias www.website.local website1.local website2.local website3.local www.website1.local www.website2.local www.website3.local
        ServerAdmin [email protected]
        DocumentRoot /home/admin/web/website.local/public_html
        ScriptAlias /cgi-bin/ /home/admin/web/website.local/cgi-bin/
        Alias /vstats/ /home/admin/web/website.local/stats/
        Alias /error/ /home/admin/web/website.local/document_errors/
        SuexecUserGroup admin admin
        CustomLog /var/log/apache2/domains/website.local.bytes bytes
        CustomLog /var/log/apache2/domains/website.local.log combined
        ErrorLog /var/log/apache2/domains/website.local.error.log
        <Directory /home/admin/web/website.local/public_html>
            SSLRequireSSL
            AllowOverride All
            Options +Includes -Indexes +ExecCGI
            php_admin_value open_basedir /home/admin/web/website.local/public_html:/home/admin/tmp
            php_admin_value upload_tmp_dir /home/admin/tmp
            php_admin_value session.save_path /home/admin/tmp
            <Files *.php>
              SetHandler fcgid-script
            </Files>
            FCGIWrapper /home/admin/web/website.local/cgi-bin/fcgi-starter .php
        </Directory>
        <Directory /home/admin/web/website.local/stats>
            AllowOverride All
        </Directory>
        php_admin_value open_basedir none
        SSLEngine on
        SSLVerifyClient none
        SSLCertificateFile /home/admin/conf/web/ssl.website.local.crt
        SSLCertificateKeyFile /home/admin/conf/web/ssl.website.local.key
        SSLCertificateChainFile /home/admin/conf/web/ssl.website.local.ca
    
        IncludeOptional /home/admin/conf/web/sapache2.website.local.conf*
    
    </VirtualHost>
    

    Config from /home/admin/conf/web/sapache2.website.local.conf.mod_fcgid

    
    <IfModule mod_fcgid.c>
     FcgidMaxRequestLen 67108864
     FcgidOutputBufferSize 0
     MaxRequestLen 15728640
     FcgidMaxRequestsPerProcess 1000
     FcgidIOTimeout 300
    </IfModule>
    

    Here is my plugins list:

    
    +---------------------------------------+----------------+--------+------------+
    | name                                  | status         | update | version    |
    +---------------------------------------+----------------+--------+------------+
    | accelerated-mobile-pages              | inactive       | none   | 0.9.61     |
    | accordion-shortcodes                  | active-network | none   | 2.3.3      |
    | acf-content-analysis-for-yoast-seo    | active         | none   | 2.0.0      |
    | github-mcguffin-acf-quick-edit-fields | active         | none   | 2.0.1      |
    | codepress-admin-columns               | inactive       | none   | 3.0.3      |
    | admin-menu-editor                     | inactive       | none   | 1.8        |
    | github-nlemoine-acf-country           | active         | none   | 1.1.0      |
    | advanced-custom-fields-pro            | active         | none   | 5.6.2      |
    | advanced-wp-reset                     | active-network | none   | 1.0.1      |
    | affiliate-links                       | inactive       | none   | 2.2        |
    | ajax-search-pro                       | active         | none   | 4.11.4     |
    | all-in-one-schemaorg-rich-snippets    | inactive       | none   | 1.5.1      |
    | amazon-web-services                   | active-network | none   | 1.0.3      |
    | amp                                   | inactive       | none   | 0.5.1      |
    | autoptimize                           | inactive       | none   | 2.2.2      |
    | better-search-replace                 | active-network | none   | 1.3        |
    | browser-shots                         | active         | none   | 1.5.2      |
    | cloudflare                            | active-network | none   | 3.3.1      |
    | cloudflare-flexible-ssl               | active-network | none   | 1.2.2      |
    | contact-form-7                        | inactive       | none   | 4.9        |
    | custom-post-type-ui                   | inactive       | none   | 1.5.5      |
    | disqus-comment-system                 | inactive       | none   | 2.87       |
    | duplicate-post                        | active-network | none   | 3.2        |
    | easy-affiliate-links                  | active         | none   | 2.4.1      |
    | easy-social-share-buttons3            | active         | none   | 40.3       |
    | enlighter                             | inactive       | none   | 3.5        |
    | ewww-image-optimizer                  | active-network | none   | 3.6.1      |
    | sem-external-links                    | active-network | none   | 6.8.1      |
    | fresh-favicon                         | active         | none   | 1.1.2      |
    | fresh-framework                       | active         | none   | 1.9.17     |
    | glue-for-yoast-seo-amp                | inactive       | none   | 0.4.2      |
    | gmail-smtp                            | active         | none   | 1.1.5      |
    | google-analytics-dashboard-for-wp     | active-network | none   | 5.1.1.1    |
    | hide_my_wp                            | inactive       | none   | 5.5.2      |
    | invisible-recaptcha                   | inactive       | none   | 1.1        |
    | jetpack                               | inactive       | none   | 5.3        |
    | lc-googlemaps                         | active         | none   | 1.1.6      |
    | lc-menu-pro                           | active         | none   | 1.0        |
    | lc-templatesforcpt                    | active         | none   | 1.0        |
    | loco-translate                        | active-network | none   | 2.0.15     |
    | masterslider                          | inactive       | none   | 30.1.3     |
    | megamenu                              | inactive       | none   | 2.3.8      |
    | mega_main_menu                        | active         | none   | 20.1.4     |
    | meta-box                              | active         | none   | 4.12.3     |
    | multisite-clone-duplicator            | active-network | none   | 1.4.1      |
    | multisite-post-duplicator             | active-network | none   | 1.7.2      |
    | nginx-helper                          | active         | none   | 1.9.10     |
    | ninja-forms                           | active         | none   | 3.2.1      |
    | ninja-forms-conditionals              | active         | none   | 3.0.17     |
    | ninja-forms-uploads                   | active         | none   | 3.0.15     |
    | ninja-forms-style                     | active         | none   | 3.0.21     |
    | ninja-forms-mailchimp-optins          | active         | none   | 3.0.0      |
    | ninja-forms-multi-part                | active         | none   | 3.0.20     |
    | ninja-forms-paypal-standard           | active         | none   | 3.0.0      |
    | optinmonster                          | active         | none   | 1.2.2      |
    | live-composer-page-builder            | active         | none   | 1.3.5      |
    | wp-purge-pagespeed-button             | active-network | none   | 1.0.1      |
    | password-protected                    | inactive       | none   | 2.0.3      |
    | post-type-switcher                    | active-network | none   | 3.0.0      |
    | query-monitor                         | inactive       | none   | 2.14.0     |
    | regenerate-thumbnails                 | active-network | none   | 2.2.6      |
    | related-posts-for-wp                  | active         | none   | 2.0.1      |
    | responsive-lightbox                   | active         | none   | 1.7.2      |
    | rock-the-slackbot                     | active-network | none   | 1.1.2      |
    | schema                                | active         | none   | 1.6.9.2    |
    | schema-default-image                  | active         | none   | 1.0        |
    | schema-review                         | active         | none   | 1.1        |
    | addthis                               | inactive       | none   | 6.1.1      |
    | shortpixel-image-optimiser            | inactive       | none   | 4.6.0      |
    | show-hidecollapse-expand              | active         | none   | 1.1        |
    | simple-sitemap                        | active         | none   | 2.2        |
    | revslider                             | inactive       | none   | 5.4.5.1    |
    | table-of-contents-plus                | inactive       | none   | 1601       |
    | tablepress                            | inactive       | none   | 1.8        |
    | theme-check                           | active-network | none   | 20160523.1 |
    | tinymce-advanced                      | active-network | none   | 4.6.3      |
    | uptime-robot-monitor                  | inactive       | none   | 2.2.2      |
    | very-simple-password                  | inactive       | none   | 1.7        |
    | video-embed-thumbnail-generator       | active         | none   | 4.6.17     |
    | widget-importer-exporter              | active-network | none   | 1.5.1      |
    | widget-logic                          | inactive       | none   | 5.8.2      |
    | wordpress-importer                    | active         | none   | 0.6.3      |
    | wordpress-mu-domain-mapping           | active-network | none   | 0.5.5.1    |
    | wp-mail-smtp                          | inactive       | none   | 0.10.1     |
    | wpfw_menus_management                 | active         | none   | 1.5        |
    | wp-security-audit-log                 | inactive       | none   | 2.6.7      |
    | wp-video-lightbox                     | inactive       | none   | 1.8.4      |
    | wordpress-seo-premium                 | active-network | none   | 5.4        |
    +---------------------------------------+----------------+--------+------------+
    
    
    PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.0.22-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies
    [PHP Modules]
    calendar
    Core
    ctype
    curl
    date
    dom
    exif
    fileinfo
    filter
    ftp
    gd
    gettext
    hash
    iconv
    imap
    intl
    json
    ldap
    libxml
    mbstring
    mcrypt
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    Phar
    posix
    pspell
    readline
    Reflection
    session
    shmop
    SimpleXML
    soap
    sockets
    SPL
    standard
    sysvmsg
    sysvsem
    sysvshm
    tokenizer
    wddx
    xml
    xmlreader
    xmlwriter
    xsl
    Zend OPcache
    zlib
    
    [Zend Modules]
    Zend OPcache
    
    ***************
    mysql  Ver 14.14 Distrib 5.7.19, for Linux (x86_64) using  EditLine wrapper
    ***************
    
    Server version: Apache/2.4.18 (Ubuntu)
    Server built:   2017-07-27T14:34:01
    Server's Module Magic Number: 20120211:52
    Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
    Compiled using: APR 1.5.2, APR-UTIL 1.5.4
    Architecture:   64-bit
    Server MPM:     prefork
      threaded:     no
        forked:     yes (variable process count)
    Server compiled with....
     -D APR_HAS_SENDFILE
     -D APR_HAS_MMAP
     -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
     -D APR_USE_SYSVSEM_SERIALIZE
     -D APR_USE_PTHREAD_SERIALIZE
     -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
     -D APR_HAS_OTHER_CHILD
     -D AP_HAVE_RELIABLE_PIPED_LOGS
     -D DYNAMIC_MODULE_LIMIT=256
     -D HTTPD_ROOT="/etc/apache2"
     -D SUEXEC_BIN="/usr/lib/apache2/suexec"
     -D DEFAULT_PIDLOG="/var/run/apache2.pid"
     -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
     -D DEFAULT_ERRORLOG="logs/error_log"
     -D AP_TYPES_CONFIG_FILE="mime.types"
     -D SERVER_CONFIG_FILE="apache2.conf"
    
    Loaded Modules:
     core_module (static)
     so_module (static)
     watchdog_module (static)
     http_module (static)
     log_config_module (static)
     logio_module (static)
     version_module (static)
     unixd_module (static)
     access_compat_module (shared)
     alias_module (shared)
     auth_basic_module (shared)
     authn_core_module (shared)
     authn_file_module (shared)
     authz_core_module (shared)
     authz_host_module (shared)
     authz_user_module (shared)
     autoindex_module (shared)
     deflate_module (shared)
     dir_module (shared)
     env_module (shared)
     fcgid_module (shared)
     filter_module (shared)
     mime_module (shared)
     mpm_prefork_module (shared)
     negotiation_module (shared)
     php7_module (shared)
     rewrite_module (shared)
     rpaf_module (shared)
     ruid2_module (shared)
     setenvif_module (shared)
     socache_shmcb_module (shared)
     ssl_module (shared)
     status_module (shared)
     suexec_module (shared)
    
    Thread Starter juslintek

    (@juslintek)

    Hi, when is the next generation coming out and will it support current generation data structure?

    Same, here tried to walkaround this manually, can’t you somehow just override it with wp_editor? Istead of this massive manual hassle?

    Thread Starter juslintek

    (@juslintek)

    Thank you, this fixed the issue ??

    Thread Starter juslintek

    (@juslintek)

    Cool thanx ??

    Thread Starter juslintek

    (@juslintek)

    Thread Starter juslintek

    (@juslintek)

    There was quick buy on product page. For some reason, paypal express on submit, submits both quick buy and add to cart. Even though quick buy class is ‘wc_quick_buy_form’, and paypal express button onclick performs ‘form.cart’ submit. Seems that IE is ignoring class and submitting all forms… Why is that? jQuery needs to be fixed, or there is other problem.

    Paypal Express html:
    <input name="express_checkout" class="single_variation_wrap_angelleye paypal_checkout_button button alt single_variation_wrap_angelleye_561" style="float:left;margin-left:10px;" onclick="jQuery('form.cart').attr('action','/shop/runescape-3-gold/?express_checkout=1');jQuery('form.cart').submit();" type="submit" value="Express Checkout" data-action="/shop/runescape-3-gold/?express_checkout=1">, or because input type is submit. It doesn’t do e.preventDefault(); on click and as an outcome submits form two times.

    Thread Starter juslintek

    (@juslintek)

    Jeff Farthing, maybe you can help me identify what wrong I have done to prevent it from working? Because you know how your code works and probably could guide me or give some tips which parts to look at. Can it be that it is conflicting with CF7 recaptcha integration and Wordfence?

Viewing 15 replies - 61 through 75 (of 99 total)