Notifications
Clear all

[Closed] Login Problem

37 Posts
4 Users
2 Likes
1,642 Views
Posts: 61
 shl
Topic starter
(@shl)
Trusted Member
Joined: 4 years ago

@chris thanks for your response.

We have actually checked in the htaccess, and there are no redirects.
Also, to be absolutely sure we have deactivated our spam plugins and 404 redirect on the page.
However, the problem did not resolve. 
(Note: We are on a multisite install with subfolders, wp foro however is on the main site livetube.tv)

We have actually not changed anything on our page, but there were updates to The7 theme, WPML and the WP Foro plugin. Since these latest updates, the redirects are no longer working.

We have been paying customers for ALL WP Foro plugins since several years and I would hope for some support with this. I can provide you with login for our backend as well as FTP.

As a note: The login URLs 

https://www.livetube.tv/forum/sign-up
https://www.livetube.tv/forum/sign-in

and %wpforo-logout%/  are working.

Someone above advised to use the correct links instead of
https://www.livetube.tv/sign-up
https://www.livetube.tv/sign-in

But not sure where and how we should change this.

Please advise on next steps

Bear in mind, when there was the WP Foro upgrade to 2.0.2 we had the same problem and it was then fixed with a bug fix in version 2.0.4 We dealt with @Robert for this particular issue. Here is the link to the forum post https://wpforo.com/community/postid/68287/

Could it potentially be that a similar thing happened this time with the latest plugin upgrade? 

Thanks
Sven

1 Reply
 shl
(@shl)
Joined: 4 years ago

Trusted Member
Posts: 61

Just to add something , when I click login the link in the browser leads here - you can check in the browser URL yourselves:
https://www.livetube.tv/sign-in?redirect_to=https%3A%2F%2Fwww.livetube.tv%2Fforum

dimalifragis
Posts: 2554
(@dimalifragis)
Famed Member
Joined: 4 years ago

Why people INSIST to use caching plugins with wpForo, is beyond me.

Against what gVectors says.

<!-- This website is like a Rocket, isn't it? Performance optimized by WP Rocket. Learn more:  https://wp-rocket.me  - Debug: cached@1679428343 -->
6 Replies
 shl
(@shl)
Joined: 4 years ago

Trusted Member
Posts: 61

@dimalifragis Thanks for your help with this, we do appreciate. 

We are not using WP Foro as a standalone but inside a larger multisite, where we of course need a caching plugin. We have been doing this since 5 years. As per the link shared earlier in the posts, it is about excluding WP Foro from being cached, what we did. If you know any better solution let me know. But we have been clearly following WP Foro guidance and there should be no need to deactivate the caching plugin entirely. 

If perhaps exclusions are no longer working properly in WP Rocket this is something to investigate with @Chris and @Robert

Happy to hear any other thoughts.

dimalifragis
(@dimalifragis)
Joined: 4 years ago

Famed Member
Posts: 2554

@shl Never said to remove any caching plugin. There are clear instructions on how to exclude wpforo. Also you got a WARNING in your dashboard about it.

Why don't you check your html source page in forum pages, to see if it is active or not.

Anyways, i'm already off topic, so ......

 

 shl
(@shl)
Joined: 4 years ago

Trusted Member
Posts: 61

@dimalifragis Thanks for the response. But we have exactly done what is described in the WP Foro description. See image 

https://app.screencast.com/mGiSAkGl4qWg5

We have this set up exactly as described, no warning message and no change over what worked for the past year. 

If you are aware of any other better method please let me know. 
The much I appreciate you trying to help I would also appreciate your insight if you have any information we might be missing.

 
To be absolutely sure we have added the following exceptions and cleared caches with WP Foro, WP Rocket and Cloudflare. But still it is not working

/forum/community/(.*)
/forum/participant/(.*)
/forum/sign-up/(.*)
/forum/sign-in/(.*)
/forum/change-password/(.*)
/forum/(.*)
/community/(.*)
/participant/(.*)
/sign-up/(.*)
/sign-in/(.*)
/change-password/(.*)

dimalifragis
(@dimalifragis)
Joined: 4 years ago

Famed Member
Posts: 2554

@shl Maybe this topic will help you on how to exclude it, @tutrix has provided the solution. Apparently the gVectors FAQ should be UPDATED.

https://wpforo.com/community/how-to-and-troubleshooting-2/performance-insert-update-new-post/

Still how to exclude something is an issue for the caching plugins devs and not of gVectors.

 shl
(@shl)
Joined: 4 years ago

Trusted Member
Posts: 61

@dimalifragis Thanks, as per the other thread I changed the exclusion strings (without backslash). We can no longer see any WP Rocket caching mentioned in the page source view-source: https://www.livetube.tv/forum  

However, I am afraid, login is still not working.
What now? Or are we missing anything?

 shl
(@shl)
Joined: 4 years ago

Trusted Member
Posts: 61

@dimalifragis @chris @robert - Can you please provide further guidance The login is now not working for over 1 week. I would appreciate your input so that we can solve this. Cache is now deactivated but the problem consists. We are not aware of any other plugins redirecting things. We also have checked to deactivate WPML,but this also did not solve the issue. 

Chris
Posts: 3650
(@chris)
Famed Member
Joined: 3 years ago

Hi @shl ,

Please provide admin access to your website, send the credentials to info[at]gvectors.com, mention this topic in the email and let me know here that the email is sent.

Thanks

3 Replies
 shl
(@shl)
Joined: 4 years ago

Trusted Member
Posts: 61

@chris I provided all access via email as suggested. Do you have any feedback? Unfortunately we did not yet hear back. 

 

Thanks for an update

Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3650

@shl,

Waiting for the Dev response.

 shl
(@shl)
Joined: 4 years ago

Trusted Member
Posts: 61

@chris Thanks for the update!

Chris
Posts: 3650
(@chris)
Famed Member
Joined: 3 years ago

Hi @shl,

We have checked your website and got the following.

There is a plugin in your website or it can be from your server or something else, we couldn't find where the problem comes from. However, the issue is that the URL's get several redirections, before leading to the target page.

  Example with non wpForo page: https://www.livetube.tv/about

If you press on the link from the menu, it does 2 redirects before getting to the target page.

And if you add a variable next to the URL.

  Example: https://www.livetube.tv/about/?9 (9 is the variable) you won't go to

https://www.livetube.tv/about/?9 you go to https://www.livetube.tv/about  which is not how it should be and there is a plugin/server side or something else which affects on it.

But if you do the same with wpForo Website and Forum page, it works.

Example:

wpForo Page: https://wpforo.com/participants/?9

WordPress Page(none wpForo): https://wpforo.com/docs/?9  

 We have added a New Snippet in your Snippet plugin, which passes the redirection and leads to the login and reg pages, but this is not a full fix. The issue with the redirections happens in many places in the forum.

Example: If you go to Recent posts and press the Dropdown select other option, for example Unread Posts, the Forum gets redirected to Forum Homepage.

So after all the explanations, we can say that this issue is not from wpForo.

Contact the person who has created the structure of your website, who knows what's what in that huge website, it's a plugin theme or something else. As an option, you can also contact the server hosting(but we are not sure that it can be from them).

2 Replies
 shl
(@shl)
Joined: 4 years ago

Trusted Member
Posts: 61

Hi @chris,

many thanks for taking the time to look into the issue.

I am not aware of any redirections other than the ones in place from WPML but we will now take a closer look after your feedback in order to find out what's the root cause for these errors.

As I mentioned, the problem only started recently. So we need to check if any other plugin is initiating any redirects. I doubt it that it is server related but will check this way as well.

Just to double-check - you do not think that the multisite install and settings are playing a factor? 

Also, where would we deactivate the new snippet if we found and resolved the initial problem?

Again, appreciate your support and the time you spent looking into things.

Regards,

S

 

 shl
(@shl)
Joined: 4 years ago

Trusted Member
Posts: 61

Hi @Chris - what I have found in WP Rocket is below. We have excluded WP Foro from Rocket, but it could well be that such behavior is related.

For livetube.tv/about/?9 it would explain such behavior, or do I misunderstand anything?

Will check with them too

S

Ignored query string parameters with standard caching

For all of the parameters listed below, WP Rocket will ignore the query string and serve the standard cache file, regardless of any parameter values in the URL. Here’s what that means:

example.com/about-us/?gclid=something 
example.com/about-us/?gclid=somethingelse  

// will BOTH receive the cache file from:
example.com/about-us/
Posts: 61
 shl
Topic starter
(@shl)
Trusted Member
Joined: 4 years ago

Hi @Chris - now my team has looked into things again. Other than before our forum site NOW has three re-directs before a page opens. The behavior you shared above is normal because of WP Rocket striping livetube.tv/about/?9

Our logout pages as well as normal login was working correctly without any redirects. Now all forum pages seem to redirect before the pages open.

Could it be that there is any code issue with regards to redirect to https and www? Did you perhaps not redirect to www? Our site is set to strict www, so all non www is redirecting to www first and then to https if not set. 

# Force HTTPS and WWW
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.(.*)$ [OR,NC]
RewriteCond %{https} off
RewriteRule ^(.*)$ https://www.livetube.tv/$1 [R=301,L]

 

Also we have a re-write to force the backslash on our folder multisite pages not to appear

# BEGIN WordPress
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteRule ^news/$ /news [R=301,L]

 

Could it be that either of these, for our multisite, is effecting WP Foro rewrites?

Or could the use if php 8.1 be an issue?

And can you please tell us what you have added and where, so that we are able to change it if needed.

Thanks for clarification

S

Page 2 / 3