JSConnect stopped working after some months
Using 2.1.11
I successfully installed and configured JsConnect to my site. It was working at that time and separate sign in option was showing for that.
It worked for some months like that.
Around 15 days ago, I checked my website and found that it is not working and separate sign in option is not showing.
I checked and updated JsConnect to 1.5.3 but still it is not working.
This issue may not be related to above issue : Around 15 days ago I tried to login as admin but I got "Access Denied, try again" error.
I checked user table in database and found banned column was set to 1 for admin. I edited it to 0 and then successfully logged in.
Today again when I tried to login as admin I got the same error and found banned was set to 1.
I don't know why this is happening by its own.
Comments
Can't understand, It is working in Firefox but not in Chrome and Opera.
Why??
Plugins, JS parse errors, many other reasons?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
I am not getting errors either in chrome or in firefox. It is working in firefox but not in chrome and opera.
And if there will be any errors then it will be valid for all not only for chrome and opera!
And what is the error? How to check and how to solve??
Are you running any plugins in Chrome, Firefox, or the Opera browsers?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
I disabled all the plugin in chrome still there is problem even I tried on incognito. Same with Opera also.
Working fine in Firefox!
You should be able to trace the requests that are not working properly via your browser's network tools.
I am afraid I can't directly help you without you figuring what is failing.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
I got this error when checked through Inspect Elements Network Tools
Refused to execute script from 'http://mywebsite.com/jsconnect.php?client_id=502700000&Target=/&callback=jQuery11020945805671159178_1455118826424&_=1455118826425' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
How to resolve this problem?
I would google it: https://www.google.com/search?q=Refused+to+execute+script+because+its+MIME+type+('text/html')+is+not+executable,+and+strict+MIME+type+checking+is+enabled
Looks like the MIME type is mismatched.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
@hgtonight
When I disabled cloudflare, the script started executing and Sign in with button started showing...
But I am not able to login... When clicked on Sign in via... it loads and says connecting but not log in and again show the same button sign in via...button.
I have updated the version to latest one...!
any help?
I disabled all the plugin and started enabling them one by one then got to know that YAGA was the cause. In that YAGA, If I am allowing tags creation permission to First or Second level Rank then the user is not able to log in through jsConnect. That's why I set them to default instead of Grant and now the user is able to login through jsConnect...
@Irfanalam123 What perks are you using?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
I didn't understand. Can you, please tell again??
What perks in Yaga did you have configured?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
What is perks?
I only imported default yaga transport file and edited some ranks and reaction...
When you edit a rank, there is a section called perks. These dole out (or take away) permissions and configurations.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
For Level 1
For Level 2
These two level only causing the problem....!
If I am setting tags as Grant then it is not logging the user in.
I'm experiencing the same issue with 'refused to execute script' on Chrome. However I don't have any extra vanilla plugins installed other than the jsConnect ones. Has anyone got anywhere with this?
Do you use CloudFlare?
My guess is you're sending the wrong MIME type with your jsConnect endpoint's response.