Home › Forums › Calendar Products › Community Events › Login redirects to homepage
- This topic has 8 replies, 2 voices, and was last updated 10 years, 11 months ago by
George.
-
AuthorPosts
-
May 20, 2015 at 6:13 am #963816
erionmedia
ParticipantI recently noticed that when I try to get to the WordPress admin area of my website (hardairmagazine.com) I get redirected to the homepage. During troubleshooting of this issue I discovered that the cause is the Community Events add-on.
I have gone through the normal troubleshooting process of reverting to twentyfifteen theme with no plugins (except Events Calendar and Community Events add-on) enabled and I can regularly reproduce this issue. With the default theme and no other plugins active if I disable Community Events I can successfully navigate to the admin log and if I re-enable Community Events I get redirected to the homepage.
I’ve seen other forum posts about issues with getting redirected to the homepage but I didn’t see any resolution for any of them. Most were eventually closed for inactivity.
Any help with this would be greatly appreciated. Our events calendar relies heavily on audience submissions so this is an important feature to keep working. However I also obviously need access to the WordPress admin on a regular basis.
This site does have a staging area where you can experiment with this. I’ve left the twentyfiften theme active there with only the Events Calendar and Community Events add-on active so you can see the issue.
What other information do you need from me to troubleshoot?
May 20, 2015 at 6:15 am #963819erionmedia
ParticipantDerp…here is the staging URL: http://c74.49f.myftpupload.com/ (I have temporarily deactivated the offending add-on at the licensed domain)
May 20, 2015 at 1:20 pm #963986George
ParticipantHey Michael,
Sorry about some of these problems you’ve been having – there are indeed occasional issues with Community Event’s redirection, and indeed several types of sources of the problem that make it hard to pin down sometimes.
For your specific issue here, for now, can you start by posting a screenshot or something of your “Access Control” settings for Community Events? Here’s a screenshot of mine, for example → https://cloudup.com/cs4Ex4EzQuY
Also, could you head to Events > Settings > Help, then pasted your whole block of “System Information” info into a Gist at http://gist.github.com? Once you do this, you can share a link to that Gist with us here and we’ll take a look at it.
Thank you!
GeorgeMay 20, 2015 at 2:32 pm #964020erionmedia
ParticipantThis reply is private.
May 21, 2015 at 10:16 am #964216George
ParticipantThanks for both pieces of information Michael – I’m curious about those restriction settings, it’s possible that your admin account is either at one of those User Roles, or is being mistaken for belonging to one of them…
If you disable all “restriction” options there, so that it looks basically like my version of those settings, how do things behave? I’m just curious, and if so then we can at least narrow down the source of the problem to some weirdness with the configuration of these settings.
Let me know what you find!
Thank you for your patience with this issue, too 🙂
May 21, 2015 at 12:09 pm #964277erionmedia
ParticipantHi George,
Good instinct. When I complete turned off restrictions I was able to access the admin area without getting redirected. When I enabled again and blocked Contributor and Subscriber roles the redirect started again. You probably don’t need it but here’s a screenshot with all access control disabled http://gyazo.com/6f4105c35070a8f5fdefa0d779153aa2
I’m assuming since the community add-on allows for events to be submitted by visitors that we probably want some sort of access control in place. Is that correct?
May 22, 2015 at 9:05 am #964520George
ParticipantHey Michael,
Thanks for your patience with your issues and for playing around with things here. One thing you mentioned in your last reply was this:
When I enabled again and blocked Contributor and Subscriber roles the redirect started again.
What happens if you only enable one of these roles, and try everything out again? Note what happens with one checked, then try the other option, and see what you find. This might reveal that your admin account, for some reason, is erroneously set to one of these “lower”-access User Roles, instead of being a full-access administrator.
I’m assuming since the community add-on allows for events to be submitted by visitors that we probably want some sort of access control in place.
This is totally your call – you can make the submission form open to anyone who visits your site, logged-in or not, but you’re right that most of the time people want some sort of blocking and requiring of users to log in to your site. If you enable the access control and simply leave all “Roles to block” un-checked, then anyone who has a user account on your site can use the form, but anybody in the general public will still be unable to use your form (unless they, too, create their own account on your site, which you can regulate separately from Community Events altogether).
I hope this information helps! Thanks again for your persistence with the issue 🙂
Cheers,
GeorgeMay 23, 2015 at 5:05 pm #964678erionmedia
ParticipantHi George,
Thanks for all the hard work on this. I appreciate it.I think we actually do want anybody to be able to submit events. If spam submissions become an issue then we can revisit. So I think we’ll just leave access control totally disabled for now and that should solve the problem.
-MRMMay 25, 2015 at 3:44 pm #964929George
ParticipantSounds like a good plan Michael! If spam does become a problem, note that we have a “ReCaptcha” feature right within Community Events that requires a Captcha-solving to submit the form, and there other plugins like Akismet and “honeypot”-style solutions to help further if things get there 🙂
I’ll close up this ticket for now since it seems like you’ve found a decent workable solution here, but if any other issues/questions/concerns arise, come back and open a thread any time!
Best of luck with your site,
George -
AuthorPosts
- The topic ‘Login redirects to homepage’ is closed to new replies.
