Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
Dawg
RavenNuke(tm) Development Team



Joined: Nov 07, 2003
Posts: 928

PostPosted: Sat Apr 20, 2019 3:20 am Reply with quote

Greetings All,

I am getting "Invalid Session" when sending a PM. It is almost always vie Cellphones. So I am guessing it is a IP6 issue. The forums work as expected. It is just the PM's that seems to be the problem.

Anyone have any ideas on what it COULD be?

Dawg
 
View user's profile Send private message
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1774

PostPosted: Sat Apr 20, 2019 4:25 am Reply with quote

Here on RPS or on your own website?
Which browser you are using on your mobile device?
Did you checked the "Cookie settings" in the Forums administration?

_________________
Github: RavenNuke 
View user's profile Send private message
Dawg







PostPosted: Fri Apr 26, 2019 2:11 pm Reply with quote

This is on my site. Just about any cellphone connection will do it.

Dawg
 
neralex







PostPosted: Fri Apr 26, 2019 2:49 pm Reply with quote

Go to Forums-Administration: General Admin / Configuration and check...

Domainname: domain.tld
Cookie domain: .domain.tld (optional)
Cookie path: / (important)
 
Doulos
Life Cycles Becoming CPU Cycles



Joined: Jun 06, 2005
Posts: 732

PostPosted: Tue May 21, 2019 1:44 pm Reply with quote

I have one user (at least only one reported it) that is getting invalid session errors any time he tries to post a PM or forum post. In my case, I think it must have something to do with turning on secure cookie path. The site has been forcing https for quite awhile now, but I just turned on secure cookie path a couple days ago. When I turned it off again, the user was able to post again.

Any suggestions?
 
View user's profile Send private message
neralex







PostPosted: Tue May 21, 2019 10:48 pm Reply with quote

Sounds strange but I will test it in the next days with RPS.
 
Doulos







PostPosted: Wed May 22, 2019 3:43 am Reply with quote

I figured it out. Apparently, I had commented out the code to force HTTPS. So, thinking I was forcing HTTPS when in reality my desktop short cut was https I was seeing a secure site but no one else was. Therefore, when I enabled secure cookie path everthing was working fine for me, but others were getting the invalid session error.

Why only one person let me know this was the case is irritating, but once I re-enabled forcing HTTPS and secure cookie path everything is working fine.

Thanks, and sorry for hijacking the thread. I thought it might be related.
 
Doulos







PostPosted: Wed May 22, 2019 3:53 am Reply with quote

Oops, sorry for the multple posts, I was getting an error when I tried to post so I figured it wasn't posting. Here is the error:
Code:
Could not insert new word matches


DEBUG MODE

SQL Error : 1062 Duplicate entry '657' for key 'PRIMARY'

INSERT INTO nuke_bbsearch_wordmatch (post_id, word_id, title_match) SELECT 166302, word_id, 0 FROM nuke_bbsearch_wordlist WHERE word_text IN ('figured', 'issue', 'related', 'previous', 'problem', 'discovered', 'commented', 'code', 'force', 'https', 'enabled', 'secure', 'cookie', 'path', 'throwing', 'invalid', 'session', 'errors', 'anyone', 'connecting')

Line : 255
File : functions_search.php
 
neralex







PostPosted: Wed May 22, 2019 11:27 am Reply with quote

Thanks for reporting this. Edit: fixed.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©