Ask Your Question
1

Facebook login javascript error

asked 2010-11-08 01:50:03 -0500

graeme gravatar image graeme
317 16 5 15
http://investmentqa.com/

updated 2010-11-10 11:52:38 -0500

Evgeny gravatar image Evgeny flag of Chile
11009 50 84 182
http://askbot.org/

If I configure askbot with Facebook API key and secret key, the Facebook logo shows, but there is a Javascript error on loading the page, and clicking on the logo does nothing.

The same problem seems to affect this site itself.

delete close flag offensive retag edit

Comments

could you try to catch the error message and post it? Evgeny ( 2010-11-08 11:12:14 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2010-11-08 11:08:25 -0500

Evgeny gravatar image Evgeny flag of Chile
11009 50 84 182
http://askbot.org/

updated 2010-11-08 14:19:58 -0500

Facebook login works for me here. Maybe you have a stale script in cache, try to purge it an log in again. You can also try to sign out of facebook first.

Regardless, these problems should be addressed of course, please post and update on what happens.

Also, when you upgrade your own site - increment the script serial number "settings"->"user interface"->"skin media revision number", that should force the browsers to load new scripts.

This needs to be fixed for real of course by setting up a build process for the media and have script names change when they upgrade. Right now the pages load the original sources of javascript and css and the number in the URL parameter is incremented.

link publish delete flag offensive edit
0

answered 2010-11-08 20:43:42 -0500

graeme gravatar image graeme
317 16 5 15
http://investmentqa.com/

updated 2010-11-08 20:44:55 -0500

Sheer stupidity on my part. It was all browser settings preventing the script from loading - different problems in FF and Chrome.

Sorry to waste your time.

I still have the problem that none of the authentication methods work.

link publish delete flag offensive edit

Comments

is this a javascript issue or python? You can try setting DEBUG=True in settings.py. If I could see the error message, probably I'd suggest something. Btw, right now this site runs on the latest development version. I'll finish the twitter/facebook sharing buttons and make a new release, probably by Wednesday. Evgeny ( 2010-11-08 21:01:07 -0500 )edit
Current issue is not javascript. Python or something in the config I would guess because it affects all login methods - its essentially similar problems to the authentication denied error I asked about in another question. Sharing buttons nice addition. Incidentally, responses button did not show up in my profile here today. graeme ( 2010-11-08 22:10:17 -0500 )edit
Yes, I've changed the way "responses" works. It only lights up when there are new responses, and you can delete or mark seen/new any of the response "memos" Evgeny ( 2010-11-08 22:12:46 -0500 )edit
In addition to DEBUG=True, it will be necessary to add IP address to the list of internal IP's in the settings.py Evgeny ( 2010-11-08 22:15:51 -0500 )edit
maybe your settings.py does not have AUTHENTICATION_BACKENDS setting? It must contain 'askbot.deps.django_authopenid.backends.AuthBackend' in addition to any others that you might use. Evgeny ( 2010-11-08 22:19:47 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2010-11-08 01:50:03 -0500

Seen: 171 times

Last updated: Nov 10 '10