PHP Loading Issue | Mobile View

    • 201 posts
    October 2, 2018 7:47 AM EDT
    Yes actual devices. Not occurring with the “send message” smoothbox but the “add or remove friends” “block member” “remove block” types so far. My cache is APCu but I disabled it to verify. My folder permissions are exactly as SE recommends. Mod_sec is disabled and I have tried with captcha disabled. The only reason I haven’t used support is if it’s not tested on a live iPhone 7 or iPad you wouldn’t see it. So not sure that’s within their scope. Could be an iOS version thing but still there’s my site demo site thing - it’s a mystery
    • 201 posts
    October 7, 2018 9:08 PM EDT

    Update still trying to understand this.  In my console it is occurring immediately after the activity loop starts, stops, completes. Then the CSS breaks on loading.  Validated all permissions are as per SE optimization. Only so far only on friend requests & events joining types of activities.  I also saw this error in my console and trying to break it down if anyone can help.

    GET https://mywebsite/application/modules/User/externals/images/xnophoto_user_thumb_icon.png.pagespeed.ic.wBPLnxa1h9.webp 404 (Not Found)

    As well when my website loads always this error is returned in firefox but not on demo SE site. linking the javascript error here

    unreachable code after return statement[Learn More] core.js:596:4

     

    • 201 posts
    October 7, 2018 9:30 PM EDT

     And this is the core.js at line 596:4

    if( DetectMobileQuick() || DetectIpad() ) { return false;
    • Moderator
    • 6923 posts
    October 8, 2018 4:46 AM EDT

    What is that pagespeed thing? Check that error there because it shows pagespeed attached to your image. Perhaps you have some optimizations or something for page speed that is interfering with that device.

    • 201 posts
    October 8, 2018 8:30 AM EDT

    Update: This was a conflict between caching & my APCu and Googles Server Side mod_pagespeed. I have disabled _mod, server wide, and all those pesky errors are gone.

    GET https://mywebsite/application/modules/User/externals/images/xnophoto_user_thumb_icon.png.pagespeed.ic.wBPLnxa1h9.webp 404 (Not Found)

    This was an unrelated issue to my broken CSS on certain mobile devices.

     

    • 201 posts
    October 8, 2018 8:31 AM EDT

    Still working on this 

     

    _supportsContentEditable : function() { // contenteditable support broken in mootools 1.3 return false; if( $type(window.DetectMobileQuick) && $type(window.DetectIpad) ) { if( DetectMobileQuick() || DetectIpad() ) { return false; } }
    • Moderator
    • 6923 posts
    October 8, 2018 8:44 AM EDT

    try commenting out the return false

    • 201 posts
    October 8, 2018 2:34 PM EDT

    Nope not that one. It's also the chat script producing that so I disabled chat plugin so the script wouldn't load and the CSS issue was still there.  Someday I will figure it out

    • 201 posts
    October 8, 2018 2:49 PM EDT

     This is my current script suspect. The CSS breaking only occurs with a few specific types of activity loops and the only activities that are producing the "TypeError" or maybe a shockwave or flash thing conflicting with my apple devices. I used the flash enabled puffin browser on my devices and the CSS was good.

    unreachable code after return statement[Learn More] core.js:596:4 activity update loop start core.js:658:9 TypeError: "this.checkFeedUpdate(...) is undefined" loophttps://demo.socialengine.com/application/modules/Activity/externals/scripts/core.js?c=1:633:7ihttps://demo.socialengine.com/externals/mootools/mootools-core-1.4.5-full-compat-yc.js?c=1:141:70starthttps://demo.socialengine.com/application/modules/Activity/externals/scripts/core.js?c=1:502:5ihttps://demo.socialengine.com/externals/mootools/mootools-core-1.4.5-full-compat-yc.js?c=1:141:70<anonymous>https://demo.socialengine.com/profile/jack:948:1 core.js:658:9 activity update loop stop core.js:658:9 This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https://developer.mozilla.org/docs/Mozilla/Performance/ScrollLinkedEffects for further details and to join the discussion on related tools and features! jack Navigated to https://demo.socialengine.com/profile/jack unreachable code after return statement[Learn More] core.js:596:4 activity update loop start core.js:658:9 activity update loop stop core.js:658:9 activity loop req complete core.js:658:9
    This post was edited by Miami Shade at October 8, 2018 7:01 PM EDT
    • 201 posts
    October 17, 2018 7:30 PM EDT

    I can now say this is occuring on iphone 8 & X along with some galaxies.  Also occurs when sending messages.

    DO you think this is this something SE support can look at ?

    • 201 posts
    October 17, 2018 10:35 PM EDT
    I’ve found the same broken css issue on a mobile device when making administration changes from the admin area such as changing member levels and networks.
    • Moderator
    • 6923 posts
    October 18, 2018 4:31 AM EDT

    I don't have an iphone 8 or x to test that with. If any clients have those devices, perhaps they can test the demo or is it not happening at the demo still?

    • 201 posts
    October 18, 2018 10:35 AM EDT

    laughing @Donna 

    I found the cause now how to resolve to a solution.

    All css breaking resolves in all devices in all occasions when g-zip compression is disabled. 

    Thoughts on where to begin?

    Update:  After disabling I went here and its says my site is using G-Zip.  So maybe my server is defaulted to g-zip and maybe I don't need to have it enabled.


    This post was edited by Miami Shade at October 18, 2018 11:13 AM EDT
    • Moderator
    • 6923 posts
    October 18, 2018 12:10 PM EDT

    Thanks for posting your solution. I don't see gzip on the list of requirements unless I missed it in the list lol. Since I have limited net atm, it's easy to miss stuff.

    • 201 posts
    October 18, 2018 12:24 PM EDT

    Wild weather - I hope things get back to normal soon for you.