Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 24 Oct 2020, 23:26
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Real name: Daniel
OpenResty Error on logout Need some help please

For a few months now I keep getting an error on logout. It's the same issue with a totally stock install. When I click logout I get the following.

I have noticed that my IP logs for all new members are exactly the same. For some reason, VB is recording my host servers IP as all members IP.

Anyway here is the message I get.
Attached Images
File Type: png error-vb.png (8.7 KB, 5 views)
Reply With Quote
  #2  
Old 25 Oct 2020, 01:21
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Ok lets do this, disable plugins via the includes/config.php file.

To do that open your includes/config.php file and below <?php add the following.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So it looks like this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


If the same problem persists, it may be the php version.
If there is no problem, one of the products is faulty or likewise there is a php version mismatch.
Reply With Quote
  #3  
Old 25 Oct 2020, 08:14
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Location: Lancashire, UK
Did you speak to your host?

When I looked at your site last week openresty was the server that browser console tools say your site is being served from and I know you said you used Apache, so from a little Googling it looks like your host has put an opentrsy/nginx reverse proxy server in front of your site which would explain the IP problem.

It would be worth checking admincp -> left column -> Maintenance -> View PHP info if $_SERVER['HTTP_X_FORWARDED_FOR'] or any other variable in the "PHP variables" section shows your real IP when viewing it, to see if the proxy is forwarding a real IP.
__________________
Better VB.org search

Last edited by z3r0; 25 Oct 2020 at 08:22.
Reply With Quote
  #4  
Old 25 Oct 2020, 19:40
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Real name: Daniel
I see the offending IP under (_SERVER["REMOTE_ADDR"]) Ill call the host and see if it can be changed. Thanks for the help.
Reply With Quote
  #5  
Old 26 Oct 2020, 08:52
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Location: Lancashire, UK
No, can you see your connecting IP in any of the variables in the "PHP variables" section? that way we know the real IP's are being forwarded through the proxy, if they are then something should be able to be done to sort the problem.
__________________
Better VB.org search
Reply With Quote
  #6  
Old 29 Oct 2020, 23:31
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Real name: Daniel
Yeah I see mine under
_SERVER["HTTP_X_FORWARDED_FOR"]

_SERVER["HTTP_X_REAL_IP"]
Reply With Quote
  #7  
Old 30 Oct 2020, 08:35
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Location: Lancashire, UK
So it is a nginx reverse proxy in from of your site.

in your config.php try this near the end and see if correct IPs start showing in who's online.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Better VB.org search
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logout Button replacing Logout text TheMusicMan vBulletin 3.5 Template Modifications 14 25 Dec 2007 19:33



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:24.

Layout Options | Width: Wide Color: