I've just finished creating a sub-theme of Omega utilizing a normal, narrow, and mobile layout. Separate CSS files for each... all sharing global.css. So far I've been testing on my MacBook (OS X 10.6.7) in varying browsers set at different dimensions. All works well.
Unfortunately, when I visit the site on my iPhone, the site loads to about 90% and then the Safari app crashes. I have ensured the crash is caused somewhere on the theme level by testing the site with different themes enable. The crash only happens when my Omega sub-theme is set as default.
I've also used the iPhone debug console and cannot trace back the problem to any JS issues. Even with JS disabled in my theme, the crash still occurs. Tested on iPhone 3G, 3GS. The crash does NOT occur on an iPad.
Any ideas? Or at least suggestions as to where to start investigating further?
Comments
Comment #1
fubhy CreditAttribution: fubhy commentedPlease try enabling the "CSS Aggregation" feature on your Admin => System => Performance settings page and see if that solves the issue. Omega loads quite a bunch of CSS files when aggregation is turned off.
Comment #2
kccmcck CreditAttribution: kccmcck commentedGreat idea, @fubhy, but unfortunately it didn't resolve the problem. I've selected compress cached pages, aggregate and compress CSS files, and aggregate JavaScript files in the site's performance settings & cleared the history, cookies, and cache in my iPhone. No luck. Yet...
Comment #3
fubhy CreditAttribution: fubhy commentedPlease visit http://omega.developmentgeeks.com and see if the crash occurs there aswell
Comment #4
kccmcck CreditAttribution: kccmcck commentedJust tested the Omega site, and Safari did NOT crash. This isolates the problem to something specific with my sub-theme. I will continue testing and surely document the issue *when* it's discovered. The URL is www.kmubusinesspartner.ch.
Any additional ideas in the meantime are appreciated. :) Thanks again.
Comment #5
kccmcck CreditAttribution: kccmcck commentedAs a temporary update, I *think* the problem is occurring only on iPhones that aren't operating on up-to-date software. My team has tested on their iPhones (including 3GS, and 4) and the issue is not occuring. The two phones I had previously tested on have not been updated in a very long time. I plan to run an update this evening and re-test. Hopefully I can confirm and the bug will be eliminated after an update.
Comment #6
Argus CreditAttribution: Argus commentedComment #7
Jumoke CreditAttribution: Jumoke commentedAny updates? I am working on an Omega subtheme that seems to never finish loading safari - crashes on iphone but works perfectly on the ipad/and everything else, including blackberry.
Comment #8
dhalbert CreditAttribution: dhalbert commentedJust a thought, but have you tried validating your CSS files with some online validator (e.g., http://jigsaw.w3.org/css-validator/) to make sure there are no CSS errors?
If there are none, I would then start removing/disabling the various CSS files one at a time until it stops crashing, and then start commenting out stuff in that file to further isolate the problem. Or, start with a fresh clean subtheme that does not crash and add your CSS one file at a time.