MyBB Community Forums

Full Version: Your IP address is not valid for this session
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
exactly what it says in the subject.

I get this error in admincp, a bit like the cookies keep logging you out error but with "Your IP address is not valid for this session" never used to get this on an older forum. Have done a fresh install and still getting the same. Anyone come across this problem. Please help someone.

Cheers
Is your IP dynamic?? Someone else had this when their IP kept changing and not matching with the admin session in the database.
(12-27-2009 06:08 PM)MattRogowski Wrote: [ -> ]Is your IP dynamic?? Someone else had this when their IP kept changing and not matching with the admin session in the database.

hi,

I'm not 100% sure, we run 3 computers off the same router using sky broadband (UK). We had it working perfect on the old server from the same hosting company but my brother took over the hosting and now the error keeps flagging up although the modcp and usercp work perfectly fine.

I've now done 4 fresh installs and tried a new location on the site. It's really starting to bother me now. I even logged in on my iphone over 3g so it had a different connection and it done exactly the same. is there any settings of permissions (CHMOD) that might be wrong or causing this?

http://www.backofthelandingnet.co.uk/forums

Thank you
I have this happen when I'm logged into the admin area and the DSL circuit resets. I just log back in.
SOLVED!!!!!

Okay, in the admin/index.php there is a line of script which asks how many segments of the ip needs to match in a session.

Code:
define("ADMIN_IP_SEGMENTS", 3);

All I've done is changed the number to a lower one after admin_ip_segments and it works like a charm!!
Interesting *makes mental note*, glad it's sorted Smile
Thanks a lot!!!! My problem is solved too by your method Big Grin

+rep
Sorry for knowingly bumping an old thread,

For me the above solution was not the case;

My website uses the Akamai CDN Cool to deliver content, so the PHP servers and MySQL servers were continually given different IP addresses as I was rerouted through various Akamai Edge Severs. Undecided

To work around this, view your site directly by telling the Akamai NameServers you wish to bypass the cache and load directly from your server; To do this, place the text origin- before your website, for example:
http://forum.dcscdn.com/
would become
http://origin-forum.dcscdn.com/
to view the website directly from your host's servers. Toungue

Hopefully this will resolve this issue for other users who use CDN's to deliver their content! Wink
Reference URL's