Website not viewable on Mac

Permalink
One of my websites is suddenly not viewable on Macs. It appears to load, but only displays the background color. This has happened without any intervention on our part. Meaning I have not worked on, edited, changed the website at all, when this error occurred. It had been several weeks, since anyone had done anything on the website except view it.

If I change the UserAgent to iOS, Android, Windows, anything that is not Mac, the website is perfectly viewable. Switch back to a Mac UserAgent and the problem returns. It is not isolated to one browser, we have tried multiple. Cleared our local caches. And have tried multiple devices from our IP address, the problem is only with the Macs.

It also appears to be related to the theme we are using. We have other parts of the website that uses different themes and they work perfectly.

The website is:http://www.wichitamag.com

Any help would be GREATLY appreciated! I have been troubleshooting for a couple days and have had no luck. I feel like the problem is right in front of me. Hopefully some fresh eyes will help.

drumrby
 
MrKDilkington replied on at Permalink Best Answer Reply 1 Attachment
MrKDilkington
Hi drumrby,

Just to clarify, you saw these errors?
<b>Warning</b>:  simplexml_load_string(): Entity: line 8: parser error : Opening and ending tag mismatch: P line 6 and BODY in <b>/home1/wichitc9/public_html/ictmag_v1/blocks/metro_weather/templates/header/view.php</b> on line <b>24</b><br />
<br />
<b>Warning</b>:  simplexml_load_string(): </BODY> in <b>/home1/wichitc9/public_html/ictmag_v1/blocks/metro_weather/templates/header/view.php</b> on line <b>24</b><br />
<br />
<b>Warning</b>:  simplexml_load_string():        ^ in <b>/home1/wichitc9/public_html/ictmag_v1/blocks/metro_weather/templates/header/view.php</b> on line <b>24</b><br />
<br />
<b>Warning</b>:  simplexml_load_string(): Entity: line 9: parser error : Opening and ending tag mismatch: BODY line 3 and HTML in <b>/home1/wichitc9/public_html/ictmag_v1/blocks/metro_weather/templates/header/view.php</b> on line <b>24</b><br />
<br />
<b>Warning</b>:  simplexml_load_string(): </HTML> in <b>/home1/wichitc9/public_html/ictmag_v1/blocks/metro_weather/templates/header/view.php</b> on line <b>24</b><br />
<br />
<b>Warning</b>:  simplexml_load_string():        ^ in <b>/home1/wichitc9/public_html/ictmag_v1/blocks/metro_weather/templates/header/view.php</b> on line <b>24</b><br />
<br />
<b>Warning</b>:  simplexml_load_string(): Entity: line 10: parser error : Premature end of data in tag HTML line 1 in <b>/home1/wichitc9/public_html/ictmag_v1/blocks/metro_weather/templates/header/view.php</b> on line <b>24</b><br />
<br />
<b>Warning</b>:  simplexml_load_string():  in <b>/home1/wichitc9/public_html/ictmag_v1/blocks/metro_weather/templates/header/view.php</b> on line <b>24</b><br />

These errors start right after this section of code.
<div id="secondary-info-mobile">
    <div>
        <div>
            <br />

I have a feeling the problem is related to the metro_weather block.

If you compare the differences in the source code of the working and non-working versions. This is the beginning of the diff. Which is where the metro_weather block outputs to the page.
-                        <div class="forecast-plugin"><div class="forecast-header" style="background:        transparent     ; color: #ffffff;"><div class="forecast-padding color">
-            <div class="forecast-header-left">
-                Wichita, KS<br />
-            </div>
-            <div class="forecast-header-middle">77°</div>
-            <div class="forecast-header-right"><img src="/packages/metro_weather/blocks/metro_weather/images/white/28.png" /></div>
-         </div></div></div>                    </div>
-                
-                    <p>March 16, 2015</p>
-                
-                </div>
-            
-            </div>
-        
-        </div>

I would clone the site and try removing the metro_weather block and see if that fixes the problem.

If removing the block fixes the problem, then you can dig around in the block to see if it does any user agent detection and go from there.
drumrby replied on at Permalink Reply
drumrby
Wow. Thank you, thank you!

Those errors were not coming through on my end. Nothing about that came up, even in the debugger.

I removed that block and everything appears to be back to normal. Now I can poke around and see what the problem now that I know where to look. When I get it figured out I will post it, in case anyone has a similar problem.

I so appreciate your help!! Thank you again!