• Resolved emmsee51

    (@emmsee51)


    I’ve been a Tablepress user for 7 years and not seen this issue previously.
    On iPhones, the results in the link about won’t open, but they will on a PC, Android phone or Surface tablet.
    I’ve had several iPhone users try, all failed – caches cleared; tried different browsers.
    Very weird behaviour for what is normally a very stable plugin.
    Any clues?
    regards
    Mike

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter emmsee51

    (@emmsee51)

    Further investigations tells me that all mobile phone variants have this problem.
    cheers

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Unfortunately, I can’t see the page with your table, I only get a HTTP 403 error when visiting that link…

    Regards,
    Tobias

    Thread Starter emmsee51

    (@emmsee51)

    G’day Tobias,
    That is very strange.
    I had similar problems (403 error) recently and eventually spoke to my host provider.
    They suggested turning off my VPN as the IP address they were using was in a list of banned IP addresses in my .htaccess file.
    See what result you get with VPN off.
    Also, try going to adventuresportnq.info and use the menu to access the results/2020.
    Try that and let me know how it goes.
    If necessary I will temporarily replace my .htaccess file to see if this works.
    The issue iPhone users are having is unrelated to your issue as they can all access the page OK but table press is not allowing the table to open.
    Get back to me Tobias.
    Regards
    Mike

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    ok, now I was able to see the page and see what you mean. This behavior of the sections not expanding is not caused by TablePress.
    Instead, there’s a problem in on of the JavaScript files that are loaded, presumably one that’s coming from your theme as it deals with font loading.
    That file has the line

    request.open('get_bloginfo( 'stylesheet_directory' )', '/lato-noto.css', true);
    

    which is incomplete (that get_bloginfo() call should have been PHP code).
    This is causing a JavaScript error, due to which the browser does not evaluate the JS code that is responsible for these collapsable sections.

    Unfortunately, I can’t see which exact JS file has the error, due to the Siteground Optimizer plugin that is active right now, and that’s concatenating all JS files into one.

    Regards,
    Tobias

    Thread Starter emmsee51

    (@emmsee51)

    G’day Tobias,
    I have de-activated the plugin; perhaps you can now see which JS is causing the issue.
    cheers
    Mike

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Mike,

    thanks for that! It actually looks like the relevant JS code is directly in the HTML page, i.e. it’s not loaded from a separate file.
    As it’s trying to enqueue a CSS file from within the theme folder, I can only guess that the theme is also adding that JS code.

    Regards,
    Tobias

    Thread Starter emmsee51

    (@emmsee51)

    G’day Tobias, This problem is not resolved, contrary to the green button above!
    I have sent you an email attaching information that I would not display on an open forum. Please have a look and offer your advice as to why this problem exists/has not been resolved.
    regards
    Mike

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Mike,

    unfortunately, I haven’t received an email yet.

    Regardless, everything seems to be working fine more me now on an iPad (I don’t have an iPhone to test). The sections are expanding, when I tap them.

    Regards,
    Tobias

    Thread Starter emmsee51

    (@emmsee51)

    G’day Tobias,
    That’s because I’ve again disabled the SG Optimiser plugin.
    I have sent you another email to your …..ovgu.de address, that details the AMP rejected Tablepress scripts.
    I’d appreciate you having a look for a possible explanation to the problem.
    regardsMike

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Mike,

    thanks! I have received the email and just replied. Unfortunately, this is a shortcoming of the AMP format, which does not allow for sophisticated JavaScript code.

    Regards,
    Tobias

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

The topic ‘Tablepress table not opening for iPhone’ is closed to new replies.