Author Topic: Off line mission error  (Read 20392 times)

Chuck_butler

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: Off line mission error debug update
« Reply #15 on: March 18, 2014, 08:28:01 PM »
Hi,
Sorry to take so long to get back to you.  Billable work today.
Below is a dump of the console.  I hope this helps.
At least we can consistently reproduce the error.  That makes it a bit easier.

"progress" UtilitiesOffline.js:56
20:20:14.926 "error" UtilitiesOffline.js:56
20:20:14.927 "{"isTrusted":true}" UtilitiesOffline.js:55
20:20:14.927 "Cache manifest not found, must be offline" UtilitiesOffline.j

Thanks
Chuck

Radishworks

  • Hero Member
  • *****
  • Posts: 1318
    • View Profile
Re: Off line mission error
« Reply #16 on: March 19, 2014, 07:48:44 PM »
Thanks for trying again.  Well... darn... that's no real help.  Unfortunately the HTML5 offline cache stuff is almost impossible to debug.  When something bad happens like this case, pretty much all it says "error", with little to no other information  :(.  I was really hoping for some sort of file name or something (the UtilitiesOffline.js is just the program file name, not the file its having trouble downloading). 

Does both Chrome and FF output the same nothing burger for us?

Chuck_butler

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: Off line mission error
« Reply #17 on: March 19, 2014, 09:28:25 PM »
I have news.
I upgraded my firefox.  I then re cleared the caches and off line stuff.
I logged in as cmd and downloaded the sample mission no errors.  :)
I then logged out and logged back in as myself(admin) and downloaded one of our missions and sync'd it.  No errors :)
Now the problem is how do I get to it with fire fox.   When I disconnect my internet, I can't get to mission manager, let alone the mission.
I think we're getting close.
Thanks for all of your help.
Chuck

Radishworks

  • Hero Member
  • *****
  • Posts: 1318
    • View Profile
Re: Off line mission error
« Reply #18 on: March 20, 2014, 07:48:06 AM »
Great news!! 

Getting to MM offline should work once you have cache/synced a mission.  The way you do it is simply point your browser to: https://www.radishworks.com/MissionManager/Login.php.  I know this seem odd to point your browser to a Web address to work offline, but this is what makes the magic happen inside the browser.  When the browser detects that you are not connected to the Web for a particular page it will fallback to what's in its appcache for that site and use those files instead. 

Thanks again for sticking with this, nice work on finding a solution!  ;D

Chuck_butler

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: Off line mission error
« Reply #19 on: March 20, 2014, 08:20:28 PM »
Well I found a solution for my win8 box, but my win7 is still having a little trouble.
I have tried using both firefox(fresh upgrade) and chrome(fresh install)
I cleared all of the cache and buffers, but I am still having problems. 
Below is a dump when I try and create a using firefox.
I hope this helps, I hate to be a pain.
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead. jquery-1.7.1.min.js:3
syntax error Missions.php:1
Use of getAttributeNode() is deprecated. Use getAttribute() instead. jquery-1.7.1.min.js:2
syntax error Missions.php:1
"progress" UtilitiesOffline.js:56
"error" UtilitiesOffline.js:56
"{"isTrusted":true}" UtilitiesOffline.js:55
"Cache manifest not found, must be offline" UtilitiesOffline.js:5
thanks
Chuck