Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke Mods
Author Message
tauhid
Hangin' Around



Joined: Apr 11, 2009
Posts: 48

PostPosted: Wed Dec 09, 2009 2:33 am Reply with quote

Hello,


I made precise as you explained it here, so cookie settings. not. I get Invalid Session. Please resubmit the form

please help
 
View user's profile Send private message
Dawg
RavenNuke(tm) Development Team



Joined: Nov 07, 2003
Posts: 928

PostPosted: Wed Dec 09, 2009 6:03 am Reply with quote

Long Reply....
http://www.phpbb.com/community/viewtopic.php?t=69493

Short Reply....
The problem is that for users whose session is forever being renewed due to their IP changing this extra level of checking can cause issues. For many ISPs the noted changing of 6 to 4 in the IP validation check will be sufficient ... however AOL crops up (as per usual in nearly all similar situations with all software ...) as the sore thumb.

You can try this...

In rnconfig.php change this setting
FROM:
$bypassNukeSentinelInvalidIPCheck = false;
TO:
$bypassNukeSentinelInvalidIPCheck = true;




A few more reads...
http://www.ravenphpscripts.com/postxf17944-0-0.html

http://www.ravenphpscripts.com/posts17656-highlight-invalid+session.html

There is another edit that you can change it from checking the full IP address to just the first 4#'s in the IP address....but I can not remember where it is at the moment. Someone help me out here...

Dawg


Last edited by Dawg on Wed Dec 09, 2009 6:14 am; edited 1 time in total 
View user's profile Send private message
tauhid







PostPosted: Wed Dec 09, 2009 7:22 am Reply with quote

when I login as admin, everything works. But as a normal user not.
 
Dawg







PostPosted: Wed Dec 09, 2009 7:36 am Reply with quote

So the problem is that you can not post as a normal user is that correct?

How about a link to the site.

Dawg
 
tauhid







PostPosted: Wed Dec 09, 2009 7:46 am Reply with quote

That's right, just as an admin I can send forum posts or PM.

this is my page: www.amchum.de
 
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Wed Dec 09, 2009 7:55 am Reply with quote

Have you tried to clear your cookies?

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
tauhid







PostPosted: Wed Dec 09, 2009 8:05 am Reply with quote

unfortunately still not
 
tauhid







PostPosted: Wed Dec 09, 2009 8:34 am Reply with quote

it works, thank you dear Dawg. but what did you do?
 
Dawg







PostPosted: Wed Dec 09, 2009 9:00 am Reply with quote

Nothing...

I went in and made a couple of posts....Looked over your cookie settings and then posted back to you about about changing the number from 6 to 4 in the IP check.

Dawg
 
Dawg







PostPosted: Wed Dec 09, 2009 9:01 am Reply with quote

One more thing...BE SURE to remove my admin account.

Dawg
 
tauhid







PostPosted: Wed Dec 09, 2009 9:56 am Reply with quote

I thank you for everything you have given me
 
Dawg







PostPosted: Wed Dec 09, 2009 9:35 pm Reply with quote

No Problem happy to help!

Dawg
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Thu Dec 10, 2009 11:50 am Reply with quote

RavensScripts
 
View user's profile Send private message Send e-mail
efinstorm
New Member
New Member



Joined: Jul 17, 2009
Posts: 5

PostPosted: Mon Dec 28, 2009 12:24 am Reply with quote

where do i make the edit for the ip check?


thanks
 
View user's profile Send private message
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Mon Dec 28, 2009 6:38 am Reply with quote

It is right in this topic reread the first couple posts.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
Dawg







PostPosted: Mon Dec 28, 2009 8:01 am Reply with quote

efinstorm wrote:
where do i make the edit for the ip check?


thanks


Pablin,

I think he is talking about this....

/includes/sessions.php

Line 330
Code:
         $ip_check_s = substr($userdata['session_ip'], 0, 4);

         $ip_check_u = substr($user_ip, 0, 4);


Change your 6's to 4's.

I have a lot of AOL users and I have to do this so they can post.

Dawg
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke Mods

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 ©