mybb user ip problem
techu Offline
Member
***
Posts: 154
Joined: Sep 2010
Post: #5
RE: mybb user ip problem
yes that is the forum.
Thanks for the help..


I asked my host they said
Quote:The Server is running as Nginx Server in front-end and Apache Server is running at Back-end.

I was getting an error undeclared T_VARIABLE if I put this $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_REAL_IP']; at the start of init.php.

So I modified the function.php and included the line at the start of get_ip function.

Every thing is working fine now.
Thanks again.

[Image: banner.png]
(This post was last modified: 04-30-2011 08:21 PM by techu.)
04-30-2011 07:10 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
mybb user ip problem - techu - 04-30-2011, 02:19 PM
RE: mybb user ip problem - ZiNgA BuRgA - 04-30-2011, 03:23 PM
RE: mybb user ip problem - techu - 04-30-2011, 05:32 PM
RE: mybb user ip problem - ZiNgA BuRgA - 04-30-2011, 06:41 PM
RE: mybb user ip problem - techu - 04-30-2011 07:10 PM
RE: mybb user ip problem - ZiNgA BuRgA - 04-30-2011, 10:21 PM
RE: mybb user ip problem - techu - 04-30-2011, 10:41 PM

 Standard Tools
Forum Jump: