Jump to content
SubSpace Forum Network

Recommended Posts

Posted
Meh... chrome requires Android 4.0 :( Anyone knows if/how I can update my Samsung Galaxy SII X with something better than 2.3.5 Woot nevermind, just checked Telus website, and the update is available since like.. 2 months ago.
Posted (edited)

@Xog: try signing in to Facebook in another tab of the same browser window and then navigating to dotproduct. The server is always running.

 

@Sama: Android and iOS will require native apps. Mobile browsers lag behind desktop browsers in both features and performance. A mobile version would also need to rethink the input system to be touch-based. In short, there's a fair amount of work involved to make dotproduct available on mobile devices.

 

it still didn't work

 

http://i.imgur.com/IeLX7.png

 

 

and i checked to make sure it was reading the page by going thru the page source in chrome.. everything looks like it should be working. i dont understand

 

<!doctype html>
<html>
<head>
<link rel="stylesheet" href="css/main.css" type="text/css" />
<script>
(function(d){
 var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
 if (d.getElementById(id)) {return;}
 js = d.createElement('script'); js.id = id; js.async = true;
 js.src = "//connect.facebook.net/en_US/all.js";
 ref.parentNode.insertBefore(js, ref);
 }(document));
 // Init the SDK upon load
 window.fbAsyncInit = function() {
 FB.init({
	 appId	 : '409286079118102',
	 channelUrl : '//'+window.location.hostname+window.location.port+'/channel',
	 status	 : true,
	 cookie	 : true,
	 xfbml	 : true
 });
 FB.getLoginStatus(function(response) {
	 if (response.status === 'connected') {
	 window.location.href = './#accessToken=' + response.authResponse.accessToken;
	 } else if (response.status === 'not_authorized') {
	 document.getElementById('content').style.display = 'block';
	 } else {
	 document.getElementById('content').style.display = 'block';
	 }
 });
 // listen for and handle auth.statusChange events
 FB.Event.subscribe('auth.statusChange', function(response) {
	 if (response.authResponse) {
	 window.location.href = './#accessToken=' + response.authResponse.accessToken;
	 } else {
	 document.getElementById('content').style.display = 'block';
	 }
 });
 };
</script>
</head>
<body>
<div class="title"><span class="dot">dot</span>product</div>
<div class="content" id="content" style="display:none">
 <div class="signin">Sign in with Facebook</div>
 <div class="fb-login-button"></div>
</div>
</body>
</html>

 

edit:

i also looked in the Local Storage, Session Storage, the page's cookies, and the application cache: all of it is completely empty

 

http://i.imgur.com/r9yMW.png

Edited by Xog
Posted

here is a quick screenshot of it

 

I'll take some shots of the setup in action when I find my compact camera.

 

I haven't forgotton about this, I decided that mountain biking was more important yesterday and didnt have time.

 

I will get this done tonight.

Posted

It doesn't work for me anymore using Firefox. I just get a black screen as Xog described.

 

Looking at the source reveals a spelling mistake:

<script langauge="text/javascript">_main()</script>

 

And here's the error returned by Firebug:

Timestamp: 15/08/2012 4:56:33 PM
Error: ReferenceError: _main is not defined
Source File: http://dev.nanavati.net:8000/#accessToken=.............................
Line: 34

Posted
Thanks for catching that, Hakaku. I've fixed the typo but I doubt that'll fix the black screen problem. I'm not sure what's going on but I'm pretty sure it's unrelated to the typo. Which OS/Firefox version are you running?
Posted (edited)

@Xog: My guess is either because you have a firewall behind you that is blocking ports, or running something like NoScript. ;o

 

EDIT: Nevermind, read it works in Firefox. Definitely neither. You might try completely uninstalling Chrome and then installing the latest public stable Chrome from scratch. I had used one of the least stable developer Chrome versions and it didn't work until I reinstalled it as public stable.

 

EDIT2: Blah, I don't know if that is it seeing Hakaku is having the same symptoms but with Firefox. :D I don't think I'm offering useful advice.

Edited by L.C.
Posted

Yeah, I figured it was unrelated to the actual problem. I'm running Firefox 14.0.1 (the latest version). The black screen problem started occurring at around the same time as Xog pointed it out.

 

I also have the same problem attempting to log in from Opera Mobile (12) and the default Android browser. I assume it has something to do with our specific logins/tokens getting messed up.

 

Edit: Debugging further, the connection keeps resetting when attempting to load /js/Application.js.

Posted
Actually, I was having that one problem since the thread was made. I just figured the server was offline the majority of the time and didnt bother posting. You experiencing it at roughly the same timeframe as my post mentioning it, is just pure coincidence.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...