Closed adambiggs closed 13 years ago
Doing a few searches on the net shows that this is a common problem that isn't specific to jQuery Mobile. I did see a Black Berry representative point someone at this page in one of the forum posts I saw:
I should mention that my PhoneGap application consists of only an index.html file, which includes all the pages. Why would these connection limits affect loading local pages in the same HTML file?
I'm also seeing this error on jquerymobile.com/test in the Storm2 9550 (5.0.0.469) and Bold 9700 (5.0.0.469) simulators. But in the 9700 simulator it actually does load the new page after dismissing the alert.
I'm trying to find another OS5 device to test this on.
Surly someone else must have encountered this... Or am I doing something wrong to cause this?
Hi Adam - I just tried this and can reproduce the issue too. This was working recently so there must have been a recent regression on BB5. We're on it!
It could be that your index page is just too large to start with, esp if there are multiple pages in it. It's odd that our demos are getting this now tho.
That's what I thought too but if the size of my index page were the issue, I don't think the first page of my app would be displayed and initialized by jQM would it? My index page is around 500 lines which doesn't seem massive to me, but I'll try to do some tests with smaller page sizes and report back
@adambiggs - So backtracking though the dailies, I can see on my 9330 Curve that things worked great up to the 12th of June: http://code.jquery.com/mobile/nightlies/20110612/demos/
And I see this error on the 13th forward: http://code.jquery.com/mobile/nightlies/20110613/demos/
We're looking thru the commits but can you confirm these results on your side?
_t
@toddparker I'm seeing the same thing on my test device. Page transitions are working fine before the 13th.
Ok, try this: open the 13th, click a link then dismiss the error. The link is still blue and apparently focused. Open the BB menu and select "open link". The page will load! The plot thickens.
haha yep that works... BB5 is the new IE6 :(
@toddparker - FYI I tested my PhoneGap app with a much smaller index file (only 2 pages - < 100 lines) and got the same result.
Digging deeper, the path.makeUrlAbsolute of the Ajax nav re-factor is causing it to freak out. Getting closer...
Great work guys! I can confirm this is now fixed on my BB5 test device.
awesome!
When visiting jquerymobile.com/test on a BlackBerry 9000 running v5.0.0.900, the front page loads fine, but as soon as I try to navigate to any other page, this error pops up:
"The page you requested could not be loaded; it is too large for the device."
I also see the same thing when trying to load my PhoneGap application onto the device. My first page loads fine, but as sonn as I try to navigate to another page the app fatally crashes with the following error:
"Error displaying content for
local:///index.html
Error message: The page you requested could not be loaded; it is too large for the device."