Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2016
    Posts
    15
    Plugin Contributions
    0

    Default My item pages "SOMETIMES" does not load on mobile browser

    Hi all,

    I am having a hardtime trying solve the bug of my product page "sometimes" not loading on android mobile.

    This is my webpage url: https://www.diyhotspot.com/index.php...roducts_id=502

    It works perfectly on pc/notebook, please try to refresh the page a few times on andriod mobile. I really hope that someone would be able to guide me to solve the problem. I tried countless times, but i have no idea how to solve it.

    These are the errors from the browser
    1. Access to font at 'https://www.diyhotspot.com/includes/templates/responsive_classic/images/fonts/beginning.otf' from origin 'http://www.diyhotspot.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.


    2. VM78:1 Uncaught TypeError: Cannot read property 'style' of null
    at eval (eval at <anonymous> (jscript_jquery-1.7.1.min.js:2), <anonymous>:1:31)
    at eval (<anonymous>)
    at jscript_jquery-1.7.1.min.js:2
    at Function.globalEval (jscript_jquery-1.7.1.min.js:2)
    at HTMLScriptElement.bp (jscript_jquery-1.7.1.min.js:2)
    at Function.each (jscript_jquery-1.7.1.min.js:2)
    at init.domManip (jscript_jquery-1.7.1.min.js:4)
    at init.append (jscript_jquery-1.7.1.min.js:3)
    at init.wrapAll (jscript_jquery-1.7.1.min.js:3)
    at e.<computed>.setPage (jquery.mmenu.min.all.js:20)

    3.default:254 Uncaught TypeError: Cannot read property 'contentWindow' of null
    at Ta (default:254)
    at default:254
    Ta @ default:254
    (anonymous) @ default:254
    setTimeout (async)
    Ta @ default:254
    (anonymous) @ default:254
    setTimeout (async)
    Ta @ default:254
    (anonymous) @ default:254
    setTimeout (async)
    Ta @ default:254
    gb @ default:253
    toggleEmojiAction @ default:528
    buildView @ default:521
    buildView @ default:556
    (anonymous) @ default:176
    B.begin @ default:618
    (anonymous) @ default:735
    setTimeout (async)
    X.bootStrap @ default:735
    X.init @ default:734
    X.load @ default:732
    (anonymous) @ default:748
    (anonymous) @ default:748
    (anonymous) @ default:750


    I hope someone give me some hints on how to solve this problems?
    Thank you

  2. #2
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    904
    Plugin Contributions
    12

    Default Re: My item pages "SOMETIMES" does not load on mobile browser

    Quote Originally Posted by thymine View Post
    Hi all,

    I am having a hardtime trying solve the bug of my product page "sometimes" not loading on android mobile.


    I hope someone give me some hints on how to solve this problems?
    Thank you
    Not having any issues loading or refreshing the pages..
    Galaxy A50
    android version 9
    Firefox for android v68.1.1
    Dave
    Always forward thinking... MySite..

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    6,747
    Plugin Contributions
    263

    Default Re: My item pages "SOMETIMES" does not load on mobile browser

    Re: 1. Access to font at 'https://www.diyhotspot.com/includes/templates/responsive_classic/images/fonts/beginning.otf' from origin 'http://www.diyhotspot.com' has been blocked by CORS policy ...

    Make both "https". Right now one is https, the other http.

    if "diyhotspot.com" does not load as https, then set up your .htaccess file to do this.
    That Software Guy, Plugin Moderator. Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  4. #4
    Join Date
    Jun 2016
    Posts
    15
    Plugin Contributions
    0

    Default Re: My item pages "SOMETIMES" does not load on mobile browser

    Quote Originally Posted by swguy View Post
    Re: 1. Access to font at 'https://www.diyhotspot.com/includes/templates/responsive_classic/images/fonts/beginning.otf' from origin 'http://www.diyhotspot.com' has been blocked by CORS policy ...

    Make both "https". Right now one is https, the other http.

    if "diyhotspot.com" does not load as https, then set up your .htaccess file to do this.
    Thank you very much everyone for replying. I followed your advise and forced the https, solved the font problem, however a few of this similar error still exist.

    Uncaught TypeError: Cannot read property 'style' of null
    at eval (eval at <anonymous> (VM212 jscript_jquery-1.7.1.min.js:2), <anonymous>:1:31)
    at eval (<anonymous>)
    at VM212 jscript_jquery-1.7.1.min.js:2
    at Function.globalEval (VM212 jscript_jquery-1.7.1.min.js:2)
    at HTMLScriptElement.bp (VM212 jscript_jquery-1.7.1.min.js:2)
    at Function.each (VM212 jscript_jquery-1.7.1.min.js:2)
    at init.domManip (VM212 jscript_jquery-1.7.1.min.js:4)
    at init.append (VM212 jscript_jquery-1.7.1.min.js:3)
    at init.wrapAll (VM212 jscript_jquery-1.7.1.min.js:3)
    at e.<computed>.setPage (VM231 jquery.mmenu.min.all.js:20)

    The problem still exist, sometimes my webpage only load pictures instead of the proper responsive webpage (only on responsive mobile) (as picture attached)
    Name:  error.jpg
Views: 25
Size:  41.0 KB

    We really hope someone can provide me some advise on where to start solving this issue.
    Thank you!

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    6,747
    Plugin Contributions
    263

    Default Re: My item pages "SOMETIMES" does not load on mobile browser

    On the Reviews tab on the product info page you have a stray comment block that's outside of PHP. It looks like this:

    //


    Other than that everything looks fine to me; I can't repro your issue in Chrome using the iPhone 6/7/8 simulator in Inspect.
    That Software Guy, Plugin Moderator. Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    6,747
    Plugin Contributions
    263

    Default Re: My item pages "SOMETIMES" does not load on mobile browser

    Having said that, I would not use the tabs in the mobile view - they're too squeezed together.
    That Software Guy, Plugin Moderator. Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  7. #7
    Join Date
    Jun 2016
    Posts
    15
    Plugin Contributions
    0

    Default Re: My item pages "SOMETIMES" does not load on mobile browser

    Quote Originally Posted by swguy View Post
    Having said that, I would not use the tabs in the mobile view - they're too squeezed together.
    Thank you for spending time with me. I really appreciate it very much. All your comments are noted down.

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    6,747
    Plugin Contributions
    263

    Default Re: My item pages "SOMETIMES" does not load on mobile browser

    One thing about your javascript issue: that version of jQuery is quite old. Have you tried it with a newer version?
    (I would try it with 1.12 (highest v1) then the highest v2 then v3, and see if any of those work.)
    That Software Guy, Plugin Moderator. Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  9. #9
    Join Date
    Jun 2016
    Posts
    15
    Plugin Contributions
    0

    Default Re: My item pages "SOMETIMES" does not load on mobile browser

    Quote Originally Posted by swguy View Post
    One thing about your javascript issue: that version of jQuery is quite old. Have you tried it with a newer version?
    (I would try it with 1.12 (highest v1) then the highest v2 then v3, and see if any of those work.)
    I am so glad you mentioned the jscript version. I updated it to 1.12.4 and the error is gone!! Although new error arises from the update but at least they dont look buggy and stop loading the pages. I cant thank enough.

    This is the new error i found which i am not sure if it really does anything as my web pages looks intact.
    (Errors only appear on mobile view)
    https://www.diyhotspot.com/index.php...roducts_id=502

    1. Uncaught TypeError: Cannot read property 'id' of null
    at qa.B.addOverflowScroll (default:642)
    at qa.B.begin (default:618)
    at default:735

    2. default:224 Uncaught TypeError: this.getBrowserData is not a function
    at Oa.handleError (default:224)
    at g.onerror

    Really appreciate the help, comments & suggestion given.
    Last edited by thymine; 10 Feb 2020 at 10:12 AM.

 

 

Similar Threads

  1. Quantity Discount box and "add to cart" button does not show up in "Category" view
    By petro in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Nov 2013, 09:48 PM
  2. order confirmation does not contain item number or name, just "store receipt"
    By melissamiller8 in forum Managing Customers and Orders
    Replies: 2
    Last Post: 23 Sep 2011, 04:30 PM
  3. Replies: 16
    Last Post: 21 Apr 2010, 07:38 PM
  4. Why does my browser still display: "Zen Cart, The Art..."
    By Lunabu in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 14 Mar 2009, 12:42 AM
  5. Replies: 1
    Last Post: 31 Aug 2008, 11:18 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR