Invalid session on signup

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785

Invalid session on signup

Postby buckshot101 » Sun Dec 24, 2006 7:11 pm

New user are getting invalid sessions during registrations. I upgraded from 21 to 22 last night.

Any ideas?

Invalid Session. Please resubmit the form.
buckshot101
Registered User
 
Posts: 26
Joined: Fri Oct 27, 2006 5:47 pm

Postby karlsemple » Sun Dec 24, 2006 7:13 pm

how did you update? If you updated using the code changes method pleas go and double, treble check your edits to make sure they are all correct



Please fill out the Support Request Template
Image
User avatar
karlsemple
Former Team Member
 
Posts: 39802
Joined: Mon Nov 01, 2004 8:54 am
Location: Hereford, UK

Postby Yogesh Sarkar » Sun Dec 24, 2006 8:14 pm

getting the same error however it happens when some one tries to reply to a topic, doesnt happens when a topic is posted.

used easy mod to update via code change from 2.0.21
Yogesh Sarkar
Registered User
 
Posts: 28
Joined: Fri May 12, 2006 10:55 pm

Postby Yogesh Sarkar » Sun Dec 24, 2006 8:25 pm

well found a workaround to this issue, if i remove the following code from posting.php the problem is resolved!

// session id check
if ($sid == '' || $sid != $userdata['session_id'])
{
$error_msg .= (!empty($error_msg)) ? '<br />' . $lang['Session_invalid'] : $lang['Session_invalid'];
}
Yogesh Sarkar
Registered User
 
Posts: 28
Joined: Fri May 12, 2006 10:55 pm

Postby fuzzyworld3 » Sun Dec 24, 2006 8:32 pm

I had to do the same thing with my forum, though I suspect that the code is supposed to be in there for some good reason. Anybody got answers on this one?
(Also posted at http://www.phpbb.com/phpBB/viewtopic.php?t=489998)
User avatar
fuzzyworld3
Registered User
 
Posts: 134
Joined: Wed Dec 13, 2006 12:45 am
Location: Milwaukee, WI, USA

Postby Kellanved » Sun Dec 24, 2006 8:33 pm

That line is a security-relevant addition.
The error message should not appear frequently; during registration it doesn't really matter, as the captcha is also bound to sessions.
Nocando is in Idontwanna county. No support via PM
User avatar
Kellanved
Former Team Member
 
Posts: 2635
Joined: Wed Jan 26, 2005 2:48 pm
Location: Meta-level

Postby Yogesh Sarkar » Sun Dec 24, 2006 8:35 pm

you are right, if the code is there than its there for a reason. however i dont want to piss my members off so taking this particular code off for the time being.
Yogesh Sarkar
Registered User
 
Posts: 28
Joined: Fri May 12, 2006 10:55 pm

Postby Yogesh Sarkar » Sun Dec 24, 2006 8:38 pm

Kellanved wrote:That line is a security-relevant addition.
The error message should not appear frequently; during registration it doesn't really matter, as the captcha is also bound to sessions.

i am not facing this issue during registration, at that point it is working. its only when a user tries to post a reply this error occurs and it is happening every single time! doesnt matter if one uses quickreply or standard reply.

oh yes it doesnt happens when one tries to post a topic or send a pm.
Yogesh Sarkar
Registered User
 
Posts: 28
Joined: Fri May 12, 2006 10:55 pm

Postby Kellanved » Sun Dec 24, 2006 8:40 pm

That sounds like a glitch in the update of posting.php
Nocando is in Idontwanna county. No support via PM
User avatar
Kellanved
Former Team Member
 
Posts: 2635
Joined: Wed Jan 26, 2005 2:48 pm
Location: Meta-level

Postby buckshot101 » Sun Dec 24, 2006 8:42 pm

Discovered my issue. I had the VIPCODE Mod. I now need to figure out how to make it work with 22.

I no longer get the invalid session now that I have removed the vipcode mod.
buckshot101
Registered User
 
Posts: 26
Joined: Fri Oct 27, 2006 5:47 pm

Postby Yogesh Sarkar » Sun Dec 24, 2006 8:43 pm

i will try to manually update the posting.php backup and upload that, lets see if that works
Yogesh Sarkar
Registered User
 
Posts: 28
Joined: Fri May 12, 2006 10:55 pm

Postby Yogesh Sarkar » Sun Dec 24, 2006 8:52 pm

went ahead and manually updated the backup copy of posting.php file and got the same Invalid Session. Please resubmit the form. error while posting a reply
Yogesh Sarkar
Registered User
 
Posts: 28
Joined: Fri May 12, 2006 10:55 pm

Postby PrometheusKZ » Mon Dec 25, 2006 8:16 am

Did you find other solutions to this problem with sessions?

Thanks.
PrometheusKZ
Registered User
 
Posts: 76
Joined: Mon May 08, 2006 9:07 pm

Postby Yogesh Sarkar » Mon Dec 25, 2006 9:08 am

not yet, will try to manually edit files from the backup and see if that works. for now forum is working without that code.
Yogesh Sarkar
Registered User
 
Posts: 28
Joined: Fri May 12, 2006 10:55 pm

Postby PrometheusKZ » Mon Dec 25, 2006 9:21 am

Thank you. I'll wait. May be the developers can answer to this issue?
PrometheusKZ
Registered User
 
Posts: 76
Joined: Mon May 08, 2006 9:07 pm

Next

Return to 2.0.x Support Forum

Who is online

Users browsing this forum: No registered users and 2 guests