• Resolved iivanov58

    (@iivanov58)


    Hi,

    On our site we were using an web app which is hosted on another domain (also owned by us) so it was set up in an iFrame. Everything was working until few days ago, unfortunatelly don’t know the exact time when problems started.
    Now the iFrame just isn’t working anymore. There are no errors (or I am unable to see them).
    I have tried with loading the web app from some iFrame checkers and it is working ok, so it must be something in our site which is preventing it.
    Recently we have added google adsense and site tool and a few plugins but I couldn’t find anything suspicious.
    What should I do to troubleshoot the situation and found out what’s going on?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Carike

    (@carike)

    You could install this to see if anything pops out:
    https://wordpress.org/plugins/health-check/

    Thread Starter iivanov58

    (@iivanov58)

    I already installed it and checked but nothing showed up, just few recommendations, PHP version (we are on 7.2) and imagick.

    MarkRH

    (@markrh)

    Looking at the source, I see a messed up IFRAME tag:

    
    <div class="wpb_wrapper">
    <iframe  width="100%" height="500" align="center" frameborder="1"</iframe data-src="https://inventasoft.com/pojmovnik" class="lazyload" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
    </div>
    

    I guess it should be:

    
    <div class="wpb_wrapper">
    <iframe  width="100%" height="500" align="center" frameborder="1" data-src="https://inventasoft.com/pojmovnik" class="lazyload" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="></iframe>
    </div>
    

    Notice it has lazyload. Try temporarily disabling your lazyload plugin/option and see what happens.

    Thread Starter iivanov58

    (@iivanov58)

    This is really weird, as something messed up with my iFrame.
    In wordpress for the page I have this:
    <iframe src="https://inventasoft.com/pojmovnik" width="100%" height="500" align="center" frameborder="1"</iframe>
    No lazyload, no data-src, no giff
    Where did it came from?

    Thread Starter iivanov58

    (@iivanov58)

    And I don’t have lazyload plugin installed.

    MarkRH

    (@markrh)

    Change your code to this:

    
    <iframe src="https://inventasoft.com/pojmovnik" width="100%" height="500" align="center" frameborder="1"></iframe>
    

    Missing a > after "1".

    Lazyload is most likely from a plugin. I have the Lazy Load by WP Rocket which does something similar with images. General it’s good to have as it makes the initial page load faster and only loads the images as your scroll down.

    The data-src stuff is made by WordPress so that different devices can load appropriate image sizes.

    Thread Starter iivanov58

    (@iivanov58)

    Mark,

    Your suggestion works!
    Thank you very much!

    I didn’t look at the usual suspects (me) instead was looking for the ghosts.
    Will try your suggestion with Lazy Load by WP Rocket.

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

The topic ‘iFrame just stopped working’ is closed to new replies.