We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Login Error: Ongoing issue >6 months -- Need help! | Forum

Lisa
Lisa Jan 17 '13

I've been trying to get help from the Oxwall development/tech folks on this for over six months now and could really use some help. I suspect it's a simple fix...

 

When some users (including me from one particular computer, only) try to log in to our site, they get a plain red "error" message and the little wheel next to sign in shows it clocking/spinning but it happens immediately (not after clocking for a while). Once that happens, even when refreshing and going back, you can't log in at all. Only some users are affected but it prevents them from logging in.

 

HOWEVER - when logging in from our sitename.com/sign-in, the error NEVER comes up, even immediately after experiencing the error on the primary sign-in page.

 

I checked javascript console in chrome and this is the error I got:

 

XMLHttpRequest cannot load https://www.sitename.com/base/user/ajax-sign-in/. Origin http://www.sitename.com is not allowed by Access-Control-Allow-Origin.

Uncaught error ow.js:1415

XMLHttpRequest cannot load https://www.sitename.com/base/ping/index/. Origin http://www.sitename.com is not allowed by Access-Control-Allow-Origin."

 

I put in a ticket with my server host and they replied with the following:

 

"This looks to be an issue with scripting. We do not currently provide support for this. Here is some documentation I found that may help you to resolve this. You will need to work with a developer for support. 

http://stackoverflow.com/questions/10143093/origin-is-not-allowed-by-access-control-allow-origin"

 

Can anyone help me with this?

The Forum post is edited by Lisa Jan 22 '13
Lisa
Lisa Jan 17 '13

This might help too (unfortunately I don't understand it because I don't code!):

 

http://vimeo.com/forums/topic:29587

 

Lisa
Lisa Jan 22 '13

It seems that it might be device specific as when I sign in from some computers the problem seems to *never* happen, but from my one laptop it happens quite regularly. If it's a non-oxwall fix I need to do, I just need to figure out what that is so that I can make the necessary update and instruct my members on how to make the updates themselves too.

 

Does anyone out there understand the javascript console error and what it means? :)

Lisa
Lisa Jan 23 '13
Is anyone able to assist with this? If someone could even just help me to interpret what this all means that would be a big help.
Lisa
Lisa Jan 29 '13
I could really use someone's help... please?
Lisa
Lisa Jan 31 '13
My host has told me this is a scripting error - I really need assistance from the OW folks who do the scripting. I can't do it on my own. Please can someone help me? Even just some help to understand what it all means would be great.
Lisa
Lisa Feb 20 '13

Hi All! Just wanted to circle back in case anyone has a similar issue and can't figure it out.

 

As it turns out, this was a redirect error - but it was specific to a particular browser on a particular computer. When I'd first launched my site, it was as http. Then we transitioned to https. However, the login issue was happening whenever we used an outdated bookmark pointing to http to get to the site. Something about going to http://www.sitename.com  and then connecting to https://www.sitename.com was causing a conflict.

 

Once the bookmark was updated, the problem stopped happening. So now we're able to tell our members who have problems to update their bookmarks! Can't believe it turned out to be so simple!