This is duplicate post from here: http://groups.google.com/group/gears-users/browse_thread/thread/2bd791e14ec59fee?hl=en
On Aug 26, 8:32 pm, ravi181229 <[email protected]> wrote: > Hi, > > I have a problem accessing app offline (I am using Database > module). > Let me explain how am I doing it so that you can give me some idea: > I have two files (ggears_c.php and ggears_c.html). > > I have online file ggears_c.php which has php script (includes > > headers,some php script for other features,also has jquery,css files) > and gears script (checking if gears installed, activating my site, > sync using workerPool, listing data fetched from Local DB and Create > Desktop shortcut). > > When user clicks on ‘Create Desktop Shortcut’ it points to > ggears_c.html page (which works fine when I am online and which just > fetches data from local DB and display). > > Now when I go offline and click on shortcut, it shows ‘Failed to > connect'. > Is there any problem using two files. > > Is there a different way to get the offline version ? > Please explain getting the offline version for my app. > > Please guide me. > > Thanks, > Ravi
