( CALL FOR COMMUNITY HELP)
I am facing this small yet irritating issue since I installed Newspaper theme. This is related to Newspaper’s ajax based Login option. I created a thread around 9 days back to seek for help . Amazing Tagdiv team tried to solve it by giving many suggestions but none of them work.
Here is the gif representation of my issue: https://imgur.com/a/43NCy
Do any of you have experienced this issue. There is no issue in loggin but after login, once I try to visit Backend WordPress dashboard or edit user profile. It redirects to a login page again. I mean it asks for reauhorisation:
Here is the reauthorisation URL:
https://mydomain.com/wp-login.php?redirect_to=https%3A%2F%2Fmydomain.com%2Fwp-admin%2F&reauth=1
I have already tried deactivating all plugins, replacing htaccess with defaults, deleting all unusued plugins and themes and many other suggested things based on various threads/posts I could read on internet.
I don’t know if Tagdiv team really understood my problem but they tried to solve it for sure. Please let me know if any of you is experiencing this issue? what should I do now.
Please help 🙁
Thank you.
-
This topic was modified 9 years by
Nano.
Hello,
You could try to create a testing platform for such errors. Create a sub-domain and a fresh install of wp and the theme and test there to see if the error is still present. We have not encountered such issue before so i assume it’s some sort of a redirect issue. Try to restore the theme to it;s default code after you make a back-up of course and remove any modifications made to the theme and disable all plugins.
if you still cannot get it to work please contact us via email at contact@tagdiv.com and provide wp-admin so we can login and investigate this issue.
Thank you!
Update: I see my colegue already replied via email and provided a few suggestions. please follow them and create a fresh install as I also suggested. And then try to remove modifications afetr backing up to get the theme as close to default as possible.
Hi Bogdan,
Yes we already had conversations through email ( and that’s why I mentioned that TagDiv has already tried) but I have already tried each and everything except fresh installation.)
But then what does it mean by the fresh installation. This is already a new theme and has been freshly installed 2 weeks back and I am facing this issue since the new theme installation.
I have tried installing default theme or previous theme and all works totally fine because there is no Ajax based login on any other theme. And as far mydomain.com/wp-admin login is concerned , it’s working very fine.
So, either there is some conflicting code in ajax login.php or it’s getting some redirection command from somewhere ( means by any old unused deleted plugin codes). Though I have already repaired, optimized my database and have deleted old Wordfence plugin related files and many other files using grabage collector plugin.
In the very first solution to this issue , TagDiv support has told me to check with Hosting provider because they noticed ( see this image that the theme can’t access admin-ajax.php . When ajax pagination is used the theme makes many requests at this file and server security module may treat it as a thread and it will be banned.
I asked about this my hosting provider, they replied that they can’t see any issue from server side and-and A 403 error is normally linked to how you have file permissions setup and the theme might have changed a few permission while activating.
Can you please check if any such 403 errors are still coming? Where should I look for file permission? then I also tried following method suggested under many threads to stop redirection:
One possible solution, I found to the similar problem is this:
Go into PhpMyAdmin to your WordPress database
Find the table named wp_usermeta
Find the rows titled session_token
Delete the value associated with it
(Mind you the value is huge and your browser might freak out. I did it by clicking ‘edit’ for that record first, then toggling the null value for the field on and off, selecting the empty field and pressing delete a couple of times to make sure, and then hit save)
But it didn’t work either. I am not sure if it’s the theme issue or not , but it happens only with this theme and only when using Ajax login. Can you tell me where will I find this Ajax login.php file to see if there are any redirection option?
Can’t we stop this redirection by writing some code? I have also changed/renew the SALT security codes under WPconfig.php but nothing worked till now.
I am just waiting for one angel who can look and rectify this issue.
Thank you.
Hi,
By fresh install we mean to create a sub-domain and install an unmodified version of wordpress and an unmodified version of the theme. No plugins just the default state. It will be a new install on the same domain, well sub-domain but the same hosting. This will rule out any custom code, plugin conflict or any other trace of external interference. It will be just the theme and the hosting. No extra influence. If the problem is still there on the sub-domain, there then there is definitely something hosting related, either file permissions, setup, or the admin ajax issue Alin mentioned as the login does not redirect on our end at all. So it;s clearly something local, related to your case in particular. Please create this sub-domain because i’m afraid Angels do not exist in the real world, not ones that can fix your site for you anyway :)) We do our best to help out but we have our limitations unfortunately.
Here is a guide to set up file permissions for Wp: https://codex.wordpress.org/Changing_File_Permissions
I hope this helps.
Thank you!
Sometimes, even a single smiley in a message can turn a normal human into an angel 🙂 ( Don’t know if it really mean something! )
Anyways, since I am using a managed wordpress hosting in which new wordpress for domain/subdomain will need extra subscription per month for that. So, I won’t be able to do that.
So, I will keep fighting to find any soultion for it. I totally understand your limitation and have nothing but respect for the whole TagDiv community.
Let’s see when I will actually be able to find any soultion.
Thank you very much.
nano2408: You might wanna take a look here:
https://forum.tagdiv.com/topic/ajax-login-over-https-failing/#post-147474