Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6921519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:17:15+00:00 2026-05-27T10:17:15+00:00

While creating a mobile web app with the Facebook javascript SDK, I have one

  • 0

While creating a mobile web app with the Facebook javascript SDK, I have one iphone (4, ios5) that is receiving a QUOTA_EXCEEDED_ERR during FB.init. My FB.init looks like:

var channel = '//'+(window.location.hostname+((~[80,443].indexOf(window.location.port))?'':(':'+window.location.port))+'/channel.html');
var APP_ID = 'MYAPPIDXXX';
alert('before FB.init');
FB.init({
  appId: APP_ID,
  channelUrl: channel,
  status: true, 
  cookie: true,
  xfbml: true,
  oauth: true
});
alert('after FB.init');

This error seems to be related to localStorage, however after clearing cache on the phone the error still occurs.

I can reproduce (only on that one phone) with an html page that only has the fb-root element and the ‘//connect.facebook.net/en_US/all.js’ script followed by the script above. I am using the html5 doctype and including the facebook namespace in the html tag. It never reaches the second alert. My channel file exists and is being served correctly.

Any ideas as to why this is happening?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:17:16+00:00Added an answer on May 27, 2026 at 10:17 am

    Found the answer here:
    http://frederictorres.blogspot.com/2011/11/quotaexceedederr-with-safari-mobile.html

    Turns out that iphone in question had “Private Browsing” enabled in the Safari settings. You can detect private browsing by trying to set an empty string to local storage and checking for a QUOTA_EXCEEDED_ERR as shown here:
    http://m.cg/post/13095478393/detect-private-browsing-mode-in-mobile-safari-on-ios5

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating an iPhone app that I feel needs to have a receipt
While creating JavaScript with ASP.NET MVC I noticed several scope warnings and realized that
While creating a Google Chrome extension, I have code that must remain in a
This relates somewhat to: InvalidOperationException while creating wcf web service instance I have a
I am creating a mobile web application using asp.net. The application must support iPhone,
While creating classes in Java I often find myself creating instance-level collections that I
I just noticed while creating a RESTful WCF service that the Method parameter on
in this answer he said that i can use RIA services while creating my
any specific browser will support for html5 and jquery mobile application? While creating mobile
While creating a (custom) content in Drupal, I have three vocabularies. But these make

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.