Tabs in Settings redirect to LAN IP address | Support Questions | Support Forum

A A A

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Tabs in Settings redirect to LAN IP address
October 17, 2018
7:42 am
CaroBell
Member
Members
Forum Posts: 5
Member Since:
October 17, 2018
sp_UserOfflineSmall Offline

When I go to the admin panel, in the AWPCP settings, the tabs all direct to the ip address of the worpdress server. This seems to break little things here and there that only happen from this plugin (users cant register or create ad).

I have my wordpress server behind a reverse proxy so that it is available through https://example.org/classified
Wordpress itself works fine, tested before and after adding AWPCP.

So here are the tabs :

Image Enlarger

From googles inspect :

Image Enlarger

Trying to make an ad :

Image Enlarger

And it won't go through becasue LAN ip :

Image Enlarger

Another problem that might be becasue of the same thing, the AWPCP popup just wont go away. It just keeps coming back D:

Image Enlarger

October 17, 2018
8:38 am
AWPCP Support
Moderator
Members

Moderators
Forum Posts: 5202
Member Since:
September 4, 2013
sp_UserOfflineSmall Offline

Hi CaroBell,

Thank you for your post. Sorry that you ran into issues here!

We are happy to help troubleshoot this issue with you. Can you tell me a bit more?
- What version of WP are you running here?
- What exact version of AWPCP? (number, please)
- What exact version of any other AWPCP Modules? (number, please)
- Can you please send a link to the affected ad?
- Can you please provide screenshots of the error you are seeing?

We should also do a check for theme and plugin conflicts. Please conduct the test and let me know the results. Here is an article about how to test for theme and plugin conflicts with AWPCP, which may help pinpoint the issue: http://awpcp.com/forum/faq/how.....conflicts/

That will help us troubleshoot the issue a little faster. Please let me know.

October 17, 2018
9:33 am
CaroBell
Member
Members
Forum Posts: 5
Member Since:
October 17, 2018
sp_UserOfflineSmall Offline

Hello support, thank you for the fast answer! 

Wordpress Version 4.9.8
AWPCP Version 3.9.1
No modules
It's the whole plugin not just one ad because there are no ads since I can't create any.
Pictures are in original post, see image #4 where instead of sending me to https://example.org/classified/awpcp/place-ad/ it directs me to https://10.172.16.12/awpcp/place-ad/

The only plugin on the website is AWPCP and the theme is default.
This is a completely new webserver of wordpress made for this purpose. 

October 18, 2018
7:35 am
AWPCP Support
Moderator
Members

Moderators
Forum Posts: 5202
Member Since:
September 4, 2013
sp_UserOfflineSmall Offline

Hi CaroBell,

Thanks for that information. 

There are a few places to check for this information, as AWPCP doesn't have a setting for the IP address. 

First, check your WordPress General Settings. Here is an article that may help with this: https://serverpilot.io/docs/solution-to-wordpress-showing-ip-address-instead-of-domain

The other place to check is with your hosting company. There may be a setting in your site configuration that encourages the site to use the IP address over the domain name.

Please try those things and report back on what you find.

October 18, 2018
1:36 pm
CaroBell
Member
Members
Forum Posts: 5
Member Since:
October 17, 2018
sp_UserOfflineSmall Offline

Hello Support! 

The whole of the wordpress website works except for the plugin, for testing purposes I tried another (less "complicated") plugin for classified ads and it does not have the same ip problem. 

I am my own hosting service, wordpress is installed on a centos7 lemp and goes through an nginx reverse proxy. 

The code I added to my wp-config : 

// Faire fonctionner SSL (et CSS)
if ( (!empty( $_SERVER['HTTP_X_FORWARDED_HOST'])) ||
(!empty( $_SERVER['HTTP_X_FORWARDED_FOR'])) ) {
$_SERVER['HTTPS'] = 'on';
}

// subdirectory different
define('WP_SITE_URL', 'https://example.org/classified');
define('WP_HOME', 'https://example.org/classified');

The nginx reverse proxy code for the wordpress server :

location /classified/ {
proxy_pass http://10.172.16.12/classified/;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_redirect off;
}

October 19, 2018
1:14 pm
AWPCP Support
Moderator
Members

Moderators
Forum Posts: 5202
Member Since:
September 4, 2013
sp_UserOfflineSmall Offline

Hi CaroBell,

I'd like to have a developer take a look here. Can we get access to the site? We need the following information to debug the issue: 
- WP admin username
- WP admin password
- WP login URL
- FTP username
- FTP password
- FTP servername/IP address


Contact us with a link to this forum thread and that information here: https://awpcp.com/contact/

October 22, 2018
6:36 am
CaroBell
Member
Members
Forum Posts: 5
Member Since:
October 17, 2018
sp_UserOfflineSmall Offline

Sending the information that I have. 

November 7, 2018
11:43 am
CaroBell
Member
Members
Forum Posts: 5
Member Since:
October 17, 2018
sp_UserOfflineSmall Offline

For anyone that might come in, for my very specific situation there was no solution.

Was able to find a middle ground and without the subdirectory (wordpress at the root of the domain) and adding this bit of code to the reverse proxy, I was able to use awpcp fully :

proxy_set_header Host example.org;
November 8, 2018
8:01 am
AWPCP Support
Moderator
Members

Moderators
Forum Posts: 5202
Member Since:
September 4, 2013
sp_UserOfflineSmall Offline

Hi CaroBell,

Thanks for posting that! Please let me know if you have any other questions or issues!

Forum Timezone: America/Denver

Most Users Ever Online: 163

Currently Online:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Johnny B: 140

godie: 120

kerdezo: 99

laburke: 94

NAIN KHAN: 93

salvig67: 84

rude: 72

purplepaula: 72

WAYTOBAYWTB52: 71

gery: 71

Member Stats:

Guest Posters: 31

Members: 37864

Moderators: 2

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 6942

Posts: 30939

Newest Members:

Karin Bandarq, ubugitof, digi, Patty, pirin, tennillle, caramenggugurkanjanin, siyanda, Biruqq, Jheyson

Moderators: awpcp: 7530, AWPCP Support: 5202

Administrators: wpengine: 0, awpcp: 298

Skip to toolbar