Topic-icon SCLogin Modal popup error

Active Subscriptions:

None
10 years 10 months ago #33502 by Yozies
I am using the default configuration (Login button with modal popup).

When I click login, it scrolls me to the bottom of the page, where the SCLogin module was rendered, where I was expecting it to appear fixed positioning with darked out background etc.

It is as if it is missing a style sheet or something, though I see no 404 errors in the network log.

Could it need re-configuring or re-installing?

I hope I have provided enough information.

Regards,
James
The topic has been locked.
Support Specialist
10 years 10 months ago #33504 by alzander
Replied by alzander on topic SCLogin Modal popup error
The modal view definitely has a few quirks that we're diagnosing and debugging. They're almost all template-specific so we need to see the issue happening on site. Can you post, or Private Message, a URL where we can see the problem happening? Once we can see it, we should be able to determine an appropriate fix.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 10 months ago #33559 by Yozies
Replied by Yozies on topic SCLogin Modal popup error
Thanks for your quick response.

*Groan*! push it online?? It is currently only on localhost, but I will see what I can do.

I am using a Rocket Theme: Hexeris. Do you normally get this issue with Rocket Themes?

If i knew it normally works fine for most Rocket Themes, I'd be happy to hack it to make it work for Hexeris, as it is probably not that far off... (famous last words)
The topic has been locked.
Support Specialist
10 years 10 months ago #33567 by alzander
Replied by alzander on topic SCLogin Modal popup error
We haven't heard of any RocketTheme specific issues. Like I mentioned, the modal popup is new and can be finnicky on some templates, but there isn't a magic bullet yet (though we're making things better with every release).

As for going online with the site, that will definitely help, but not trying to give you a heart-attack. Can you describe the problem a little more. We may be able to provide some suggestions if you're looking to diagnose it yourself. Mainly, you said:

where I was expecting it to appear fixed positioning with darked out background etc.

Are you seeing the darkened background but just no login module? If so, that means there's a z-index issue where the component output is too high compared to where the modal popup is trying to be. Again, this is easy for us to debug if we can see it, but that may help you as well. The good news is if this is what's happening, it means things are working and just a pesky style somewhere is getting in the way.

Hope that all helps,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 9 months ago - 10 years 9 months ago #33976 by Yozies
Replied by Yozies on topic SCLogin Modal popup error
Hi Alzander,

Here is the site, where I am experiencing the problem: yozies.dyndns.tv/coasite/index.php?optio...r&Itemid=323&lang=en

The SCLogin button is at the top right, labelled: "Login".

I am seeing no darkened background and it seems not to be a z-index issue.

Hope this helps.

James
Last edit: 10 years 9 months ago by Yozies.
The topic has been locked.
Support Specialist
10 years 9 months ago #33982 by alzander
Replied by alzander on topic SCLogin Modal popup error
The problem looks to be that there are multiple Javascript errors on your page. All of them look to be coming from the coa-main.js file. I'm not sure what that is, but here's a list of the errors I see:
Uncaught TypeError: Object function (e,t){return new v.fn.init(e,t,n)} has no method 'widget' coa-main.js:127
Uncaught TypeError: Object [object Object] has no method 'sheeted' coa-main.js:61
Uncaught TypeError: Object [object Object] has no method 'vAlign' coa-main.js:124
Javascript errors can prevent further code execution, and that's my only guess as to what's going wrong on that page. Everything else looks to be setup correct from what I checked and so those errors are my best guess as to what needs investigation.

I hope that helps, but if not, let us know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 9 months ago #33986 by Yozies
Replied by Yozies on topic SCLogin Modal popup error
Hi Alzander,

Good call, but having fixed those errors (caused by the absence of jQuery UI), the problem persists.

I am however still getting 1 JavaScript related error: Uncaught SyntaxError: Unexpected end of input jquery.min.js:2

I believe this may be caused by a 3rd party extension.

Is this something that could be causing the issue?

Regards,
James Mugford
The topic has been locked.
Support Specialist
10 years 9 months ago #33994 by alzander
Replied by alzander on topic SCLogin Modal popup error
The site doesn't look to be up right now, so I can't test again. The error you mention could definitely be a Javascript-stopper. It's indicating that the file ends incorrectly, which means the whole file can't be parsed and therefore, jQuery likely isn't being loaded at all. That's definitely necessary for the SCLogin module to function.

I'd look into what may be wrong with that jQuery file or even enabling the Include jQuery setting within SCLogin.

I hope that helps, but keep us posted on how things go.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 9 months ago #34026 by Yozies
Replied by Yozies on topic SCLogin Modal popup error
Hi Alzander,,

You've been great so far, but I am still tearing my hear out over this issue.

I now have no JS errors, but I still experience the issue.

I have uninstalled and freshly installed SCLogin 3.0.1, and toggling "Load JQuery", but no dice.

It may simply missing a SCLogin CSS style sheet (and maybe a SCLogin JS file) that may be being stripped out by a 3rd party component.

Note, I am using jQuery Easy, Universal Ajax Live Search, WidgetKit and K2. WidgetKit + K2 should be fine. It is the others that I am concerned about.


I will see if SCLogin dependencies are being stripped out, though if you have any other suggestions, they would be very welcome.

Apologies that the site was down before. I will keep it online from now on.

Regards,
James Mugford
The topic has been locked.
Support Specialist
10 years 9 months ago #34033 by alzander
Replied by alzander on topic SCLogin Modal popup error
The site's not loading for me right now. Is it up?

Sorry that fixing the JS issues didn't correct the problem. We have to take things one step at a time though to narrow stuff down, and getting rid of those was definitely step #1. Once we can see the site, hopefully we can tackle the next issue and get you going.

Thanks,
Alex
The topic has been locked.