Author |
Message |
mike1985
Nuke Cadet


Joined: Dec 18, 2006
Posts: 6
|
Posted:
Tue Dec 26, 2006 7:12 am |
  |
This is a heads up to nukecops for the following errors that show when the upgrade was made.
cannot post, cannot send private messages. all members admins and mods get this message in a box on top of the content they are viewing.
Quote: |
Invalid Session. Please resubmit the form |
I am running PHPNUKE 7.8 with BBtonuke 2.0.21
BBtoNuke Mods:
Birthday mod
Buddy List
Topic Description
Topic Ratings
Approval Mod
etc, etc, etc
I use Beyond Compare to help me upgrade the forum and site to a newer version all the time, and have done it in the past with great success. i guess i will just stick to BBtoNuke 2.0.21 for now.
PS:
I do not know if i missed something before downloading this update, but i never noticed the post made in the announcement section that this update was not meant to be used for a production site  |
|
|
   |
 |
sixf00t4
Sergeant


Joined: Oct 16, 2003
Posts: 123
|
Posted:
Wed Dec 27, 2006 10:57 pm |
  |
same thing here, ravennuke, no additional mods. |
_________________ Legend of Six is an RPG, lots of fun.
free, no email registration required, text/browser based, lots of players, and looking for developers! |
|
    |
 |
XenoMorpH
Lieutenant


Joined: Aug 24, 2003
Posts: 187
Location: Coevorden, Netherlands
|
Posted:
Thu Dec 28, 2006 10:13 am |
  |
I'm not really good with sessions, but it seems to be that in posting.php
Code: |
$hidden_form_fields .= '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; |
which is beeing sent along with the posting. is different than the check:
Code: |
if ($sid == '' || $sid != $userdata['session_id'])
|
So the check is always negative and the script will stop.
I replaced
Code: |
if ($sid == '' || $sid != $userdata['session_id'])
{
$error_msg .= (!empty($error_msg)) ? '<br />' . $lang['Session_invalid'] : $lang['Session_invalid'];
}
|
with
Code: |
if ($sid == '' || $sid != $userdata['session_id'])
{
$error_msg .= '<br />'.$sid.'<br>'.$userdata['session_id'].'';
} |
Both values are different...
Does any1 has a solution for this? |
_________________ http://www.tdi-hq.com
MSN- status:  |
|
   |
 |
mike1985
Nuke Cadet


Joined: Dec 18, 2006
Posts: 6
|
Posted:
Thu Dec 28, 2006 6:19 pm |
  |
Take note the problem also exists in the forum profile page, when ever someone tries to update there info, the same thing happens.
Thanks.  |
|
|
   |
 |
FcUK_A
Nuke Cadet


Joined: Oct 26, 2003
Posts: 2
|
Posted:
Fri Dec 29, 2006 10:19 am |
  |
Getting the same thing with my site after upgrade. I can post but i am admin, everyone else goes to post and the screen refreshes but says Invalid Session. Please resubmit the form.
Thanks
A. |
|
|
   |
 |
FcUK_A
Nuke Cadet


Joined: Oct 26, 2003
Posts: 2
|
Posted:
Fri Dec 29, 2006 11:36 am |
  |
And i have no mods bar the bb code one.
A. |
|
|
   |
 |
Vanquish
Nuke Cadet


Joined: Jan 01, 2007
Posts: 2
|
Posted:
Mon Jan 01, 2007 10:26 am |
  |
I am getting the same error.
I am running
PHP-Nuke Platinum 7.6.b.2
BBNuke 2.0.22 with no mods (only thing done was the fix group script)
Normal members get invalid session when trying to post or reply. They also can not send private messages
Administrators and Moderators of the forums can post, reply and send private messages. They do not get the message.
We do not get the profile page problem because we use PNC from phpnuke-clan |
|
|
   |
 |
diveanx
Nuke Cadet


Joined: Sep 06, 2003
Posts: 9
Location: Florida
|
Posted:
Mon Jan 01, 2007 6:41 pm |
  |
I got this message when i upgraded as well.
I am running Nuke version 7.9.3.2c. I posted this problem in the PCN site and Hammer and TCBnc have been trying to help out as well.
I ended up changing back to version.21 The only thing the upgrade does is change some files, the only database change it makes is to the version.
I just used my backup files to restore and then went into the database and eidt the bbconfig file to reflect version .21 and all my troubles were gone.
I even posted on the phpBB site and I was basically told it was my problem and they were not going to help |
|
|
       |
 |
WL
Nuke Cadet


Joined: Jan 02, 2007
Posts: 1
|
Posted:
Tue Jan 02, 2007 8:20 am |
  |
I've got the same problem (Nuke 7.9 w/BBtoNuke2022). Some of our forum users report that the error appears in IE but not Firefox. |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12482
|
Posted:
Thu Jan 04, 2007 6:08 pm |
  |
|
     |
 |
Vanquish
Nuke Cadet


Joined: Jan 01, 2007
Posts: 2
|
Posted:
Sat Jan 06, 2007 1:52 pm |
  |
This is what I learned from the guys over a www.phpnuke-clan.net
You have to change the cookie settings.
"I made new accounts, tried admins, groups, everything and i can post with all of them.
I have found that the cookie name itself doesn't need to be chnaged but you can change it if you want. The thing that really matters is the domain name. For sites in a sub-domain it has to be set like this "pnc4.phpnukeclan.net" and for a site like this one it has to be set to ".phpnuke-clan.net"(notice the dot in the begining). As for the cookie path if the site is not in a sub folder like "www.phpnuke-clan.net/html/" it shoudl be set to "/". Now if it is set in a sub folder or folders it has to be set to "/html/" (it need to fill in the gap between the domain name modules.php)."
I only know this works with there there package hope this helps. |
|
|
   |
 |
stcloudscoots
Nuke Soldier


Joined: Feb 03, 2006
Posts: 26
|
Posted:
Sat Jan 06, 2007 4:47 pm |
  |
That did not seem to work for me unless I am typing my cookie info wrong.
But thanks for the info. Any other ideas. I wish I could help solve the prob. but I have tried everything I can think of which is not much compared to some.
--------------------------------------------------------------------------------
Any more word on this any place? |
|
|
    |
 |
stcloudscoots
Nuke Soldier


Joined: Feb 03, 2006
Posts: 26
|
Posted:
Tue Jan 09, 2007 4:21 pm |
  |
I was typing my cookie info wrong. No spaces in the cookie name |
|
|
    |
 |
sixf00t4
Sergeant


Joined: Oct 16, 2003
Posts: 123
|
Posted:
Mon Jan 29, 2007 2:55 pm |
  |
so I have 2 domain names used for the same site. I am only able to enter 1 domain name for the cookie, which means the forums are only accessible through that domain name else they get the invalid session. Am i stuck with having to edit the code to allow both sites? |
_________________ Legend of Six is an RPG, lots of fun.
free, no email registration required, text/browser based, lots of players, and looking for developers! |
|
    |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12482
|
Posted:
Mon Jan 29, 2007 10:16 pm |
  |
|
     |
 |
|