Author |
Message |
Dawg
RavenNuke(tm) Development Team
Joined: Nov 07, 2003
Posts: 928
|
Posted:
Sat Apr 20, 2019 3:20 am |
|
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 |
|
|
|
|
neralex
Site Admin
Joined: Aug 22, 2007
Posts: 1774
|
Posted:
Sat Apr 20, 2019 4:25 am |
|
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 |
|
|
|
Dawg
|
Posted:
Fri Apr 26, 2019 2:11 pm |
|
This is on my site. Just about any cellphone connection will do it.
Dawg |
|
|
|
|
neralex
|
Posted:
Fri Apr 26, 2019 2:49 pm |
|
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
|
Posted:
Tue May 21, 2019 1:44 pm |
|
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? |
|
|
|
|
neralex
|
Posted:
Tue May 21, 2019 10:48 pm |
|
Sounds strange but I will test it in the next days with RPS. |
|
|
|
|
Doulos
|
Posted:
Wed May 22, 2019 3:43 am |
|
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
|
Posted:
Wed May 22, 2019 3:53 am |
|
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
|
Posted:
Wed May 22, 2019 11:27 am |
|
Thanks for reporting this. Edit: fixed. |
|
|
|
|
|