Support Forum

Something blocking user logged in check

MW Mike Whitney
Mike Whitney
Member

I decided to install Simple-Press on another one of my sites.  Have to say love it better than any forums I’ve tried so far.

However on this site something is stopping the user logged in check?  Not sure what happened.  Mingle forum was working and I imported everything over to Simple-Press.  Not sure if it is something conflicting with OneAll log-in and Simple press?

 

But this page does not check to see if the user is logged in anymore.  If you try to log-in nothing happens.  Just brings you back to page as guest.  http://www.zestyvegan.com/forum/

24 Answers

New Answer

MP Mr Papa
Mr Papa
Member

Its because you are caching the page with w3 total cache…

<!– Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 17/95 queries in 0.583 seconds using memcached
Object Caching 2004/2041 objects using disk: basic

Served from: www.zestyvegan.com @ 2012-04-14 10:51:41 –>

you cannot cache the wp page the forum is on since its dynamically generated and all content appears on a single wp page…  please go into the w3tc options and for EVERY type of caching  you are using, put your wp page the forum is on in the exclusions list (ie dont cache)

all caching for the forum is done internally…

MW Mike Whitney
Mike Whitney
Member

Thanks Papa,

Could you look one more time?  I turned off caching on this page.

It looks like something else?

MP Mr Papa
Mr Papa
Member

doesnt look turned off… still getting:

<!– Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (Requested URI is rejected)
Database Caching 16/81 queries in 0.326 seconds using memcached
Object Caching 2018/2021 objects using disk: basic

Served from: www.zestyvegan.com @ 2012-04-14 11:08:56 –>

for forum page loads…

if you disabled caching for forum page, you would still need to clear the cache since pages were cached…

also, I see you are running yoast seo…  please check the options and make sure the ugly permalinks option is turned off…

MW Mike Whitney
Mike Whitney
Member

Ok I turned off page caching, minify, and browser cache.

It does not show the cache in page source now.

 

I don’t get it.  If I’m logged in on any other page it shows my admin bar and that I’m logged in.  As soon as I hit the forum page it’s acting like I’m not logged in.

 

Also disabled WordPress SEO.

I also disabled Login lockdown and social login.  Same thing, so I re-enabled.

MP Mr Papa
Mr Papa
Member

there is something odd going on…  your page slug is forum… yet on the forum itself, the page slug is forum-2…

which page do you want the forum on?  go to forum – integration – page and permalink and pick the one… update the permalink on that panel too…

MW Mike Whitney
Mike Whitney
Member

Yes that was because I already had Mingle forum installed and when I installed Simple-Press it created another forum page.  Then my mistake of importing the data from Mingle before dealing with the extra page.

I did what you said, went to forum integration and fixed the permalink.  The links work now.

 

So any ideas on the page user log-in issue?

 

Also another strange seems issue in Admin-Back end.  When I try to edit certain Simple-Press settings it wants me to log-in again.  So I do again but I am not able to edit the setting.  See my SS.

denied_800x450-1.jpg
MP Mr Papa
Mr Papa
Member

are you using standard wp logins?  or do you have other login protection or membership plugin?

so the ajax stuff is failing… does your server run the dreaded mod_security?

btw, you have an incredibly narrow amount of width for the forum…   you will need to adjust your sp template files for this… take a look at a post (ie http://www.zestyvegan.com/forum/food-for-thought/food-for-thought/#p22) and you will see post content pushed down…  its because its too narrow for all the elements…

so sp theme template file spTopicView.php find the spPostSection column and adjust that width to like 82%… might be other oddities because of the extreme narrowness, but those kind of tweaks will get it fixed up…

MW Mike Whitney
Mike Whitney
Member

Sorry went to Singapore for a few days.

I have somebody checking out the site.

I noticed a few errors in the error log.  Any ideas?

Date Type Description
April 21, 2012
12:14 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2007
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:14 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2006
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:14 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2005
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:14 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2004
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:14 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2058
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:14 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2057
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:14 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2056
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:14 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2055
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:14 pm
php file: /simple-press/sp-api/sp-api-timezone.php
line: 29
function: date_default_timezone_set
Notice | date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID ‘UTC -7’ is invalid
April 21, 2012
12:12 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2007
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:12 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2006
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:12 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2005
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:12 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2004
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:12 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2058
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:12 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2057
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:12 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2056
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:12 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2055
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:12 pm
php file: /simple-press/sp-api/sp-api-timezone.php
line: 29
function: date_default_timezone_set
Notice | date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID ‘UTC -7’ is invalid
April 21, 2012
12:11 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2007
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:11 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2006
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:11 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2005
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:11 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2004
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:11 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2058
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:11 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2057
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:11 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2056
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:11 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2055
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:11 pm
php file: /simple-press/sp-api/sp-api-timezone.php
line: 29
function: date_default_timezone_set
Notice | date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID ‘UTC -7’ is invalid
April 21, 2012
12:10 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2058
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:10 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2057
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:10 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2056
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:10 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2055
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:10 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2007
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:10 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2006
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:10 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2005
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:10 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2004
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:09 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2007
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:09 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2006
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:09 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2005
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:09 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2004
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:09 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2058
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:09 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2057
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:09 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2056
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:09 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2055
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:09 pm
php file: /simple-press/sp-api/sp-api-timezone.php
line: 29
function: date_default_timezone_set
Notice | date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID ‘UTC -7’ is invalid
April 21, 2012
12:07 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2007
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:07 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2006
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:07 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2005
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:07 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2004
function: sp_ForumStats
Notice | Trying to get property of non-object
April 21, 2012
12:07 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2058
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:07 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2057
function: sp_MembershipStats
Notice | Trying to get property of non-object
April 21, 2012
12:07 pm
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 2056
function: sp_MembershipStats
Notice | Trying to get property of non-object
MW Mike Whitney
Mike Whitney
Member

Also getting these errors:

 

Date Type Description
April 21, 2012
12:23 pm
php file: /simple-press/sp-api/sp-api-plugins.php
line: 82
function: Unavailable
Warning | closedir() expects parameter 1 to be resource, null given
April 21, 2012
12:23 pm
php file: /simple-press/sp-api/sp-api-plugins.php
line: 82
function: closedir
Warning | closedir() expects parameter 1 to be resource, null given
April 21, 2012
12:22 pm
php file: /simple-press/sp-api/sp-api-plugins.php
line: 82
function: Unavailable
Warning | closedir() expects parameter 1 to be resource, null given
April 21, 2012
12:22 pm
php file: /simple-press/sp-api/sp-api-plugins.php
line: 82
function: closedir
Warning | closedir() expects parameter 1 to be resource, null given
MP Mr Papa
Mr Papa
Member

most of these are old… are you sure you are running 5.0.5 and the latest plugins…

if you are then, please clear the log and see what comes back and what steps you did on front end…

EK Edward Koon
Edward Koon
Member

Personally Speaking, I quit using Cache with WordPress. Too many problems with old pages getting cached into search, stats not displaying correctly, etc. I even experienced back end issues running cache.

MW Mike Whitney
Mike Whitney
Member

I turned off cache completely, cleared error log.

Errors still coming in.  I attached text file in zip.

Environment
Simple:Press
Version: 5.0.5
Build: 8289
Release: Release

 

The log-in issue really appears to be non related to SP however I would like to fix the source of the errors.  Can I remove and re-install SP without deleting the forum data (posts)?

MP Mr Papa
Mr Papa
Member

I have kind of lost the bubble here…  just the notices now?

so what do you get when you go to forum – integration – storage locations?  all good?  it seems that you are having problems reading plugins and thus the sp-resources directory…  can you check the permissions and owner (ie uid and guid) of that dir?  and compare it to wp-content?

MW Mike Whitney
Mike Whitney
Member

Well after much tinkering I gave up on figuring out why the “Forum” page was having issues.  Turns out something was filtering the URI so anything like “for**” would not function correctly.  Pluggable.php or usercheck was not working.

 

So all I did is create a new page called gabfest and changed permalinj/page in SP to that page.

Everything is functioning fine, log-in etc.

 

I’m sure I’ll have more questions but for now it’s good.  Thanks for the help!