Clan Adverts

www.clanthemes.com :: View topic - Problem sending pm's

 Welcome To Clan Themes 

As the board grows please remember the Search Option

We also monitor Private Messages to stop members from abusing our sites system.

Note!! Anyone thinking of spamming or posting senseless threads to make up their post count will be permanently banned we have a zero tolerance spamming policy here, you've been warned.

Problem sending pm's

6 Replies / 1390 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » General PhpNuke

View previous topic :: View next topic


jase
Reputation: 2.8 Add RepSubtract Rep
Local time: 11:49 PM

uk.gif

Status: Offline
0.02 posts per day
Medals: 0

Joined: Dec 31, 2007
Last Visit: 08 Apr 2008
Posts: 17
Points: 861 

Post Problem sending pm's Posted: Tue Jan 22, 2008 7:24 pm   

Shop Purchases:
Call Of Duty 4 Technical Theme

Hi all,
A friend of mine has alerted me to an issue on my site.
basically when u try to send a private message it allows you
to enter all the details such as subject and the text that you
wish to send but when you try to send the message it comes back
with ..
"invalid session.please resubmit"

I tried this myself and got the same error..any ideas as to why ?

The site is a raven nuke install.
 

 
View user's profileSend private message Reply with quote

Soulast
Reputation: 404.5 Add RepSubtract Rep
Local time: 12:49 AM


Status: Offline
0.03 posts per day
Medals: 0

Joined: Oct 23, 2007
Last Visit: 04 May 2008
Posts: 29
Points: 100 

View user's profileSend private message Reply with quote

Soulast
Reputation: 404.5 Add RepSubtract Rep
Local time: 12:49 AM


Status: Offline
0.03 posts per day
Medals: 0

Joined: Oct 23, 2007
Last Visit: 04 May 2008
Posts: 29
Points: 100 

Post Problem sending pm's Posted: Wed Jan 23, 2008 11:51 pm   

Quote:
Open posting.php and add // before these lines:

// session id check
//if ($sid == '' || $sid != $userdata['session_id'])
//{
// $error_msg .= (!empty($error_msg)) ? '<br />' . $lang['Session_invalid'] : $lang['Session_invalid'];
//}


Open privmsg.php and add // before these lines:

// session id check
//if ($sid == '' || $sid != $userdata['session_id'])
//{
// $error = true;
// $error_msg .= ( ( !empty($error_msg) ) ? '<br />' : '' ) . $lang['Session_invalid'];
//}

Not the best solution, but for now I think it's all there is.

That did work for me!!!At last i did find!!:)
Any way always check in IE and Firefox...
any problems..go there http://www.phpbb.com/community/viewtopic.php?t=489890&postdays=0&postorder=asc&start=45
 

 
View user's profileSend private message Reply with quote




jase
Reputation: 2.8 Add RepSubtract Rep
Local time: 11:49 PM

uk.gif

Status: Offline
0.02 posts per day
Medals: 0

Joined: Dec 31, 2007
Last Visit: 08 Apr 2008
Posts: 17
Points: 861 

View user's profileSend private message Reply with quote

Soulast
Reputation: 404.5 Add RepSubtract Rep
Local time: 12:49 AM


Status: Offline
0.03 posts per day
Medals: 0

Joined: Oct 23, 2007
Last Visit: 04 May 2008
Posts: 29
Points: 100 

Post Problem sending pm's Posted: Sun Jan 27, 2008 9:36 pm   

Quote:
// session id check
if ($sid == '' || $sid != $userdata['session_id'])
{
$error = true;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Session_invalid'];
}

This is the best way to end invalid session..just remove that script from posting.php(u will finde this in modules/forums/)..
But remmeber this script is there for some reason and that is to protect from hacking to ur web...
 

 
View user's profileSend private message Reply with quote

DoC
Reputation: 76.7 Add RepSubtract Rep
votes: 5
Local time: 5:49 AM
Location: UK
uk.gif

Status: Offline
0.38 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
Forums Moderator
Forums Moderator
Joined: Feb 07, 2007
Last Visit: 27 Jan 2010
Posts: 428
Points: 4325 

View user's profileSend private messageSend e-mail Reply with quote




blackfox_us
Reputation: 283.7 Add RepSubtract Rep
votes: 1
Local time: 12:49 AM

blank.gif

Status: Offline
0.14 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)

Joined: Oct 04, 2007
Last Visit: 27 Nov 2008
Posts: 122
Points: 3979 

View user's profileSend private messageSend e-mail Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » General PhpNuke


 
6 Replies / 1390 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
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 cannot attach files in this forum
You can download files in this forum