Notifications
Clear all

wpForo 1.x.x [Solved] Help in understanding error file

37 Posts
4 Users
4 Reactions
2,682 Views
Posts: 26
Topic starter
(@ozoneprof)
Eminent Member
Joined: 3 years ago

IT resolved almost all issues, however we are stumped with one issue left. Our site is a membership site using BeTheme as a theme, Restrict Pro to hide membership area, however the forum is open to all. We want the log in to stay on the main log in page but it keeps taking users to admin console and at times does not allow log in. Using WP Optimize as a cache and have isolated what we believe to be the forum files but yet after a day, I need to clear the cache so that folks can log in.

The question is two fold, how do I stop it from continuing to log in to admin panel and which cache plug in works well with WPForo? I recognize that this may not be a Forum issue, just following and asking support from all three, thank you, would appreciate and direction...

Robert
Posts: 10549
Admin
(@robert)
Support Team
Joined: 8 years ago
Posted by: @ozoneprof

We want the log in to stay on the main log in page but it keeps taking users to admin console and at times does not allow log in.

wpForo doesn't send users to admin area. This is the default WordPress working login. You can try to enable the following options in Forums > Settings > Features Tab, they may help users to redirect to forum login page:

  • Replace Registration Page URL to Forum Registration Page URL
  • Replace Login Page URL to Forum Login Page URL
  • Replace Reset Password Page URL to Forum Reset Password Page URL

BTW, this will the same way for administrators, you'll be able to go to /wp-admin/ after a successful login in forum login page. Otherwise, the /wp-admin/ will always be redirected to front-end.

 

Posted by: @ozoneprof

The question is two fold, how do I stop it from continuing to log in to admin panel and which cache plug in works well with WPForo?

There is no any smart cache solution which can understand that the whole forum is working in one page, the cache plugins only recognize post type based content. wpForo is not based on post types. wpForo generates all forums and topics in the same forum page. That's why wpForo comes with its own powerful cache system. It does very well caching for the forum page. You should make sure the forum page is excluded from your cache plugin and all will be fine. Don't let unintuitive cache plugins to kill your forum dynamic data.

15 Replies
(@ozoneprof)
Joined: 3 years ago

Eminent Member
Posts: 26

@robert Reply to the first, I had wanted it to stay in the front end where we have a log in already, it did do that at first but for some reason switched to admin, log in, will keep looking must be somewhere....thank you anyway, did not want log in to forum, just to site.

Second answer, We have isolated all of what we think in the cache,

/membership-login/*
/register/*
/membership-login/?rcp_action=lostpasswordmembership-login/
/MedicalOzoneForum/*

Still, I need to clear cache before log in is functional? It is ok for a day so I clear cache every 24 hours?

dimalifragis
(@dimalifragis)
Joined: 4 years ago

Famed Member
Posts: 2615

@ozoneprof What kind of cache are we talking about? If wpForo cache, no need to clear anything. If other caching, exclude it totally from wpForo.

(@ozoneprof)
Joined: 3 years ago

Eminent Member
Posts: 26

@dimalifragis The Cache is WP-Optimize and what I put above is the exclusion in the cache, am I missing something?

dimalifragis
(@dimalifragis)
Joined: 4 years ago

Famed Member
Posts: 2615
Posted by: @ozoneprof

@dimalifragis The Cache is WP-Optimize and what I put above is the exclusion in the cache, am I missing something?

No you got it right, just why clear the cache if wpForo is excluded? What is the point?

 

(@ozoneprof)
Joined: 3 years ago

Eminent Member
Posts: 26

@dimalifragis That's what I am trying to tell you all. If I do not clear the cache, the log in does not work, it does not accept the log in and will keep asking for it. Once I clear the cache it returns to normal. This is what I do not understand, mind you I can clear the cache every 24 hours but that defeats the purpose of a cache, does it not and why should I  there must be an issues somewhere?

dimalifragis
(@dimalifragis)
Joined: 4 years ago

Famed Member
Posts: 2615

@ozoneprof Ok, what happens if you disable WP-Optimize for a while? Everything is solved?

 

(@ozoneprof)
Joined: 3 years ago

Eminent Member
Posts: 26

@dimalifragis Yes and I assume the next step is to find another cache but wanted to see if anyone has any idea why this one would not want to work or rather play nice with forum.

dimalifragis
(@dimalifragis)
Joined: 4 years ago

Famed Member
Posts: 2615
Posted by: @ozoneprof

@dimalifragis Yes and I assume the next step is to find another cache but wanted to see if anyone has any idea why this one would not want to work or rather play nice with forum.

Remove WP-Optimize and use WP Super Cache and Autoptimize. Just exclude wpForo page from the cache. Autoptimize doesn' t need anything to exclude related to wpForo, still test it.

 

(@ozoneprof)
Joined: 3 years ago

Eminent Member
Posts: 26

@dimalifragis Ok, all installed and being monitored. Just a question on the cache, dont see cache duration anywhere?

dimalifragis
(@dimalifragis)
Joined: 4 years ago

Famed Member
Posts: 2615
Posted by: @ozoneprof

@dimalifragis Ok, all installed and being monitored. Just a question on the cache, dont see cache duration anywhere?

You mean how long a cached pages exists before expired?

 

 

(@ozoneprof)
Joined: 3 years ago

Eminent Member
Posts: 26

@dimalifragis Yes, but that is what I dont understand, normally what should a cache be set at, we work on the site daily, so there are changes daily?

dimalifragis
(@dimalifragis)
Joined: 4 years ago

Famed Member
Posts: 2615
Posted by: @ozoneprof

@dimalifragis Yes, but that is what I dont understand, normally what should a cache be set at, we work on the site daily, so there are changes daily?

it doesn't matter what you set, because posts/pages are updated when changed or new added. Just set it to a week and cleanup once a day. Also clean it manually when updating a new version of Wordpress or a plugin or a theme.

(@ozoneprof)
Joined: 3 years ago

Eminent Member
Posts: 26

@dimalifragis Perfect, thank you so much, all of you, it is truly appreciated!

dimalifragis
(@dimalifragis)
Joined: 4 years ago

Famed Member
Posts: 2615
Posted by: @dimalifragis
Posted by: @ozoneprof

@dimalifragis Yes, but that is what I dont understand, normally what should a cache be set at, we work on the site daily, so there are changes daily?

it doesn't matter what you set, because posts/pages are updated when changed or new added. Just set it to a week and cleanup once a day. Also clean it manually when updating a new version of Wordpress or a plugin or a theme.

By "clean up once i day" i mean set the garbage collector to run once a day. Not manually cleanup up.

 

(@ozoneprof)
Joined: 3 years ago

Eminent Member
Posts: 26
Posts: 26
Topic starter
(@ozoneprof)
Eminent Member
Joined: 3 years ago

Ok, thanks to all of you now all working fine.

Two more questions. Can I restore a deleted topic or post?

How do I move a topic, post reply to the right Forum Area?

1 Reply
Moderator
(@martin)
Joined: 8 years ago

Support Team
Posts: 988

@ozoneprof,

No you cannot.

All tools to merge, split and move topics are located on the top blue bar of the first post:

Posts: 26
Topic starter
(@ozoneprof)
Eminent Member
Joined: 3 years ago

Much appreciated...

Page 2 / 2