Forum Replies Created

Viewing 15 replies - 31 through 45 (of 70 total)
  • This seems to be related to no favicon being set for the site.
    When you don’t set up a ‘Site Icon’ in Customizer, WP loads its own logo from /wp-admin/images/w-logo-blue.png

    Naturally, if your /wp-admin/ directory is password protected, a password prompt appears on the frontend when the browser tries to load the default favicon.

    Why this doesn’t happen on Chrome and other Chromium based browsers (and they do show the WP logo favicon) is a mystery to me.

    I filed a bug report on this at https://core.trac.www.ads-software.com/ticket/50131
    The solution, for now, is to either set up a favicon in Customizer or to allow access to /wp-admin/images/w-logo-blue.png in your /wp-admin/.htaccess file.

    If this doesn’t help, check the Console output in Firefox to see when exactly the password prompt appears and which request gets a ‘401 Unauthorised’ response when you click on ‘Cancel’ in the password prompt.

    • This reply was modified 4 years, 6 months ago by somePaulo.
    Thread Starter somePaulo

    (@finomeno)

    Thanks for the swift reply. Pity about the APNG support. I was hoping you guys used ffmpeg in the backend for conversion.

    Here’s the markup injected by Optimole instead of the <img> tag with the GIF:

    
    <video autoplay="" muted="" loop="" playsinline="" poster="https://ml36uokvajfm.i.optimole.com/WpAG6B4.ohP0~11fb/w:auto/h:auto/q:eco/https://slimbyapriori.global/media/uploads/2020/04/slim-black-gold-cw.gif" original-src="https://ml36uokvajfm.i.optimole.com/WpAG6B4.ohP0~11fb/w:auto/h:auto/q:85/https://slimbyapriori.global/media/uploads/2020/04/slim-black-gold-cw.gif" class="vc_single_image-img attachment-full wp-post-image" alt="SLIM by Apriori black & gold disposable toothbrush" title="SLIM by Apriori" width="1024" height="1024"><source src="https://ml36uokvajfm.i.optimole.com/WpAG6B4.ohP0~11fb/w:auto/h:auto/q:85/f:mp4/https://slimbyapriori.global/media/uploads/2020/04/slim-black-gold-cw.gif" type="video/mp4"></video>
    

    So when I first add the GIF to a page and save the page, the video appears on the page replacing the GIF just fine. Trying to load the source URL from the above markup on its own also shows the video.

    Then I load the page up from a different window, where I’m not logged in into WP, and I get a blank square instead of the video. The <video> tag remains unchanged.

    Then I reload the page in the original logged in window, and the video is gone, showing the blank square instead, with the <video> tag unchanged. And loading up the source URL on its own now doesn’t show the video either…

    Hope this makes sense.

    • This reply was modified 4 years, 6 months ago by somePaulo.
    • This reply was modified 4 years, 6 months ago by somePaulo. Reason: code formatting

    Same thing.
    I have two WooCommerce taxonomies based in the /catalog folder (which is also the shop page). So my product_cat and pwb-brand taxonomy terms are all nested inside /catalog.
    The first page for any product category or brand archive shows just fine with the amount of products defined. But pagination doesn’t work and any page from 2 upward redirects to a 404.

    On a side note, there’s a setting in Clearfy to load Font Awesome asynchronously. It puts the loading into a footer script like so:

    <script type='text/javascript'>
    /* <![CDATA[ */
    var wbcr_clearfy_async_links = {"wbcr_clearfy-font-awesome":"https:\/\/use.fontawesome.com\/releases\/v5.9.0\/css\/all.css","wbcr_clearfy-google-fonts":"https:\/\/fonts.googleapis.com\/css?family=Montserrat:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic,400,400italic|Playfair+Display:100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic"};
    /* ]]> */
    </script>

    When that’s enabled, FA styles get messed up somehow, and only .fa icons appear, but .fas ones, like Instagram, don’t. I guess I should report it to Clearfy developers. Or is there something you can do to mitigate this?

    Thank you @mlwilkerson for such quick action.
    Problem solved for me now.
    I can get to the settings page now with both Retina 2x and Clearfy enabled.

    PHP Version - 7.3.5
    output_buffering - 4096
    output_handler - no value
    implicit_flush - Off
    This is a shared hosting environment, so I can only change the PHP version and a limited amount of PHP options. None of the three options above are available in cPanel’s PHP Slector Options section.

    For some reason all my comments on a similar conflict (as well as the author’s replies) were removed along with author’s replies. So here’s a brief recap.

    I get the same conflict not only with Retina 2x, but also with Webcraftic Clearfy.
    The error in console is different from what @stuartmorrisau posted:

    react-dom.production.min.js:3744 TypeError: Cannot read property 'lockedLoadSpec' of undefined
        at t.value (FontAwesomeAdminView.js:121)
        at Yi (react-dom.production.min.js:3357)
        at Qi (react-dom.production.min.js:3348)
        at eo (react-dom.production.min.js:3507)
        at No (react-dom.production.min.js:4486)
        at zo (react-dom.production.min.js:4505)
        at sa (react-dom.production.min.js:4826)
        at fa (react-dom.production.min.js:4800)
        at Ro (react-dom.production.min.js:4681)
        at Object.enqueueSetState (react-dom.production.min.js:2796)

    The response to the REST config call on the Font Awesome plugin settings page changes when either Retina 2x or Clearfy are activated.
    With both offending plugins disabled I get this: https://pastebin.com/T20pfviM
    With either Retina 2x or Clearfy (or both) enabled I get this: https://pastebin.com/D0w0MTk8

    Thread Starter somePaulo

    (@finomeno)

    Hello,

    Thanks for the tip. Didn’t work. I even added the login page to the cache exclusions.

    Nevertheless, I found what was causing it. You might want to warn other users or mitigate the underlying issue. This site uses the iThemes Security plugin that has the option to Filter long URL strings (under System Tweaks). The password error URL is really long because of the error code. I disabled the option in iThemes and now the login error displays correctly.
    Solved!

    • This reply was modified 5 years, 8 months ago by somePaulo. Reason: typo and link
    Thread Starter somePaulo

    (@finomeno)

    Hi,

    Thank you for the reply.

    Unfortunately, this is a production site, so I can’t easily disable plugins to check for issues. Some of these will lose settings if I do.

    I was fiddling with optimization plugins, so you might have tried it in a moment none was present, and somehow it worked. Currently, I’m still getting a blank page.

    Now the site only has WP Fastest Cache working since Autoptimize and Clearfy break the code and their exclusions don’t work. WP Fastest Cache (free version) is set to minify HTML and CSS only. Not touching JS. But disabling WP Fastest Cache does not solve the issue.

    I’ll try disabling stuff overnight in the next few days to see if the cause is in some other plugin.

    Thread Starter somePaulo

    (@finomeno)

    Solved.
    Please ignore this issue. Sorry. It was a roles mismatch. My bad. The plugins work fine together, redirection and all.

    Thread Starter somePaulo

    (@finomeno)

    For now I installed the Woo Related Products plugin. But it doesn’t play very nicely in terms of integration, and needs heavy CSS modification (at least with the theme being used on this project). Would appreciate a simpler way of doing it through the child theme’s functions.php or a modded Woo template, as it was done before. Thanks for any leads!

    Thread Starter somePaulo

    (@finomeno)

    Found a way with transparent images and lots of CSS.
    Client decided to go back to pins instead of text.

    Thread Starter somePaulo

    (@finomeno)

    Hello @ampforwp

    Regarding https://performance360.ru/amp – I’m getting blank pages on four different browsers (including Tor) on a Linux desktop and on three different browsers on an Android phone, through different providers, with and without a VPN.

    When I use a browser extension like the one in your screenshots, I can see the amp pages. But not natively, unlike the first site from my post, where everything works fine.

    Thread Starter somePaulo

    (@finomeno)

    Thanks for the suggestions, the plugin manager worked for the first site.
    Had to disable category base in AMP as well. Thought that should be picked up automatically from the main site permalink structure, but no.

    But the second site – https://performance360.ru/amp – still doesn’t work. Even with all plugins disabled but the essential ones.

    Notice the structure of those lines. They create an HTTP query string with values for php variables to be passed to flowpaper. Such query strings have one question mark after the actual address of the php file being invoked. This question mark indicates the start of an array of variables in the form of variable=value separated by an ampersand & sign to form a URL that looks like https://example.com/script/?var1=foo&var2=bar&var3=foobar

    In the case of your plugin, you’re currently passing the question mark twice – the first time with the flowpaper.com/flipbook/?pdf variable at the start of lines 330 & 332, and the second time with the ?wp-hosted=1 variable at the end of those lines. So the final URL ends up looking like so:

    https://flowpaper.com/flipbook/?pdf=https://example.com/wp-content/uploads/2017/10/19/file.pdf?wp-hosted=1&title=Book&header=Author&theme=dark&thumbs=1

    This means that those values are not passed to flowpaper, but interpreted by it as part of the url, sending them to the pdf file and eventually returning an error to flowpaper.

    Changing the ? to an & before wp-hosted makes this variable and all the others after it be passed to flowpaper and understood by it.

    • This reply was modified 7 years, 1 month ago by somePaulo.
Viewing 15 replies - 31 through 45 (of 70 total)