Solved

Website crashing on iphone

Posted on 2014-02-13
3
286 Views
Last Modified: 2014-02-17
The provided URL below always crashes when viewed on my iPhone, but fine when view via a normal browser. Any idea why?

http://www.petewinter.com/portfolio/
0
Comment
Question by:petewinter
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 110

Assisted Solution

by:Ray Paseur
Ray Paseur earned 150 total points
ID: 39855790
0
 
LVL 2

Accepted Solution

by:
DualCool earned 350 total points
ID: 39860233
Validating your site should always be your first step as Ray Paseur pointed out

Going beyond validation I can only offer theory but I will share what I have found on sites I have built that have had the same problem of making my iphones crash.

1 - the javascript on scroll event - I think the onscroll event causes an infinite loop which causes the iphone safari browser to crash. my solution was to make the scroll event instantiate conditionally only to non mobile browsers.

2 - Form tags - When I navigated to pages with forms sometimes my browser would crash.
solution - remove the form tags - this kinda sucks but my site crashing sucked more.

after taking a quick look at your site it looks like you are rockin some wordpress so I don't know if you would be able to get to the bottom of this without reverse engineering the javascript and dissecting it line by line then experimenting with your phone.

hope this helps
0
 

Author Closing Comment

by:petewinter
ID: 39864150
Thanks for your advice on this. The original plugin developer is working to fix this issue.
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question