Xenforo on NFO website

Connect with other users about what to run on your webhosting (and how to run it) here.
User avatar
TacTicToe
This is my homepage
This is my homepage
Posts: 848
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Feb 18, 2011 1:08 pm
Location: USA
Contact:

Xenforo on NFO website

Post by TacTicToe »

Any users here familiar with Xenforo?

I have installed Xenforo on our site hosted with NFO. Everything works fine. I installed the Steam Integration addon, but can not create a new account. I have 2 separate hosting packages here. One I pay for, and one that came with a game server I rent.

I have installed Xenforo on both NFO servers and get the same error. When trying to create a new account with Steam signup, it fails with a "Lost Steam ID" error. This only occurs on the sites hosted here.

I created the exact same setup locally using xampp, and it works flawlessly. I installed a web server on a vds from here as well, using linux and installed Xenforo there with the Steam addon and it worked flawlessly.

The only common denominator for the fails are the NFO hosted servers. The developer said he doesnt think it is the addon, and at this point I agree.

Has anyone else installed the addon successfully on a NFO hosted web server? Did you haved to change any settings?
IcEWoLF
This is my homepage
This is my homepage
Posts: 1192
Joined: Thu Aug 10, 2006 9:41 pm
Contact:

Re: Xenforo on NFO website

Post by IcEWoLF »

I don't use NFo for my web hosting needs, I have a managed vds server elsewhere and never had an issue with Steam integration.

There are two steam addons over at XenForo, at your using this one? http://xenforo.com/community/resources/ ... tion.1336/
Image
Image
User avatar
TacTicToe
This is my homepage
This is my homepage
Posts: 848
Joined: Fri Feb 18, 2011 1:08 pm
Location: USA
Contact:

Re: Xenforo on NFO website

Post by TacTicToe »

That would be the one.

If I could figure out how to make my domain name point to my vds here I would just stick with my vds setup and drop the NFO web hosting. I'm pretty good with Windows, but am weak with Linux. I can get by, but it takes me longer than someone that knows what they are doing. VDS is quite fast, site loads amazingly fast.

http://192.223.24.238/index.php

Then I'm thinking I have to go thru all the headaches of setting up a mail server as well.
IcEWoLF
This is my homepage
This is my homepage
Posts: 1192
Joined: Thu Aug 10, 2006 9:41 pm
Contact:

Re: Xenforo on NFO website

Post by IcEWoLF »

TacTicToe wrote:That would be the one.

If I could figure out how to make my domain name point to my vds here I would just stick with my vds setup and drop the NFO web hosting. I'm pretty good with Windows, but am weak with Linux. I can get by, but it takes me longer than someone that knows what they are doing. VDS is quite fast, site loads amazingly fast.

http://192.223.24.238/index.php

Then I'm thinking I have to go thru all the headaches of setting up a mail server as well.
I went to that site and registered using the steam option and it worked just fine.
Image
Image
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Xenforo on NFO website

Post by soja »

Where did you buy your domain? Do they have an option to host DNS there? If they do just setup an "A" record to point your domain to your VDS's IP, and you're good to go.
Not a NFO employee
User avatar
TacTicToe
This is my homepage
This is my homepage
Posts: 848
Joined: Fri Feb 18, 2011 1:08 pm
Location: USA
Contact:

Re: Xenforo on NFO website

Post by TacTicToe »

IcEWoLF wrote:I went to that site and registered using the steam option and it worked just fine.
Yes. That IP is my VDS, it works flawlessly. It also works for me on my local machine. Doesnt wortk on my NFO host.

http://www.thekillingcrew.com
soja wrote:Where did you buy your domain? Do they have an option to host DNS there? If they do just setup an "A" record to point your domain to your VDS's IP, and you're good to go.
They do not. Hosted at https://www.ultrawebhosting.com/
Last edited by TacTicToe on Thu Aug 21, 2014 12:14 am, edited 1 time in total.
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Xenforo on NFO website

Post by Edge100x »

We don't have a firewall that should be getting in the way. Does it give any better error message anywhere? What site/IP is it trying to contact and how is it trying to do it? Does it require some specific library or language feature that might not be installed?

The webhosting here is quite powerful and versatile.
User avatar
TacTicToe
This is my homepage
This is my homepage
Posts: 848
Joined: Fri Feb 18, 2011 1:08 pm
Location: USA
Contact:

Re: Xenforo on NFO website

Post by TacTicToe »

I agree, but there is something or some setting that is causing this addon to not work. The only errors I can get it to make are...

"This action is available via POST only. Please press the back button and try again."

and

"Lost Steam ID"

This is the response from the addon developer.
When you get POST errors, You're getting from this:
$this->_assertPostOnly();

It's checking if your request was a POST request from the headers, which for some reason it wasn't.

When you get the lost SteamID error it was dealing with this:
$session = XenForo_Application::get('session');

For some reason it wasn't able to get your XenForo session information. That's where it stores your steam id when using the addon to register or login.

It could be a permission issue on your host with sessions, or something is messing with the headers on your cURL or file_get_contents call. I can't replicate it on my dev install.

Honestly I'm not sure what's exactly causing it, but I highly doubt it's the addon itself.
I have enabled php logging, and there is nothing. There is also nothing appearing in the Xenforo logs. The addon contacts Steam and allows you to create an account on our forums using your Steam login credentials.
User avatar
TacTicToe
This is my homepage
This is my homepage
Posts: 848
Joined: Fri Feb 18, 2011 1:08 pm
Location: USA
Contact:

Re: Xenforo on NFO website

Post by TacTicToe »

I wonder if I should just do a php info dump of the working and the non working site, and do a line by line comparison.
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Xenforo on NFO website

Post by Edge100x »

Also, you have applied the workaround mentioned at http://www.nfoservers.com/forums/viewto ... 419#p56419 already, correct? XF has known issues with APC that have strange effects (it's the only application that I have seen customers run which has such problems with APC).
IcEWoLF
This is my homepage
This is my homepage
Posts: 1192
Joined: Thu Aug 10, 2006 9:41 pm
Contact:

Re: Xenforo on NFO website

Post by IcEWoLF »

Did you change the URL key to the proper link on the steam dev site? You can only use one active key per site.

http://steamcommunity.com/dev/apikey

I think the following are already enabled on NFo's end:

Additional Requirements:
BCMath, allow_url_fopen = 1 (cURL recommended), OpenSSL, Steam Web API Key
Image
Image
User avatar
HowIChrgeLazer
A regular
A regular
Posts: 55
Joined: Wed Mar 23, 2011 6:43 am

Re: Xenforo on NFO website

Post by HowIChrgeLazer »

TacTicToe wrote:I agree, but there is something or some setting that is causing this addon to not work. The only errors I can get it to make are...

"This action is available via POST only. Please press the back button and try again."

and

"Lost Steam ID"

This is the response from the addon developer.
When you get POST errors, You're getting from this:
$this->_assertPostOnly();

It's checking if your request was a POST request from the headers, which for some reason it wasn't.

When you get the lost SteamID error it was dealing with this:
$session = XenForo_Application::get('session');

For some reason it wasn't able to get your XenForo session information. That's where it stores your steam id when using the addon to register or login.

It could be a permission issue on your host with sessions, or something is messing with the headers on your cURL or file_get_contents call. I can't replicate it on my dev install.

Honestly I'm not sure what's exactly causing it, but I highly doubt it's the addon itself.
I have enabled php logging, and there is nothing. There is also nothing appearing in the Xenforo logs. The addon contacts Steam and allows you to create an account on our forums using your Steam login credentials.
Hello TicTacToe,

Didn't realize you were also a customer of NFO. I'm the developer of that addon. I do host my website and dev box on NFO as well, however, it's on an unmanaged Linux VDS running nginx so my dev box won't match your current hosting settings.

Current setup:
PHP 5.4.31
APC and XCache enabled

The above is working fine. And just like Icewolf has mentioned, as other users who use the addon have no problems. So I'm not exactly sure what setting might be configured on the web hosting here that's causing problems, I've never used it before. :(

I have seen other instances of your error on XenForo installs by googling "This action is available via POST only. Please press the back button and try again." Every search I found seemed to indicate a client side issue or a server side issue.
[RAGE CAGE] Gaming
Because video games FAIL at making you happy.
http://ragecagegaming.com/
User avatar
HowIChrgeLazer
A regular
A regular
Posts: 55
Joined: Wed Mar 23, 2011 6:43 am

Re: Xenforo on NFO website

Post by HowIChrgeLazer »

Awww, fiddlesticks. I can't edit my post any longer.

Meant to say I have apc.enabled OFF and Xcache ON. I also think XenForo needs to be configured to use APC as well

https://xenforo.com/help/cache/

But I would agree with John and say try disabling it first just to see what happens.
[RAGE CAGE] Gaming
Because video games FAIL at making you happy.
http://ragecagegaming.com/
User avatar
TacTicToe
This is my homepage
This is my homepage
Posts: 848
Joined: Fri Feb 18, 2011 1:08 pm
Location: USA
Contact:

Re: Xenforo on NFO website

Post by TacTicToe »

**Just tried that work around. Seems dis-abling the APC cache took care of it, it NOW works!

I had a feeling that APC might be the culprit. Thanks John as always youre awesome!!!
IcEWoLF
This is my homepage
This is my homepage
Posts: 1192
Joined: Thu Aug 10, 2006 9:41 pm
Contact:

Re: Xenforo on NFO website

Post by IcEWoLF »

TacTicToe wrote:**Just tried that work around. Seems dis-abling the APC cache took care of it, it NOW works!

I had a feeling that APC might be the culprit. Thanks John as always youre awesome!!!
APC use to cause issues for us too..we decided to disable it.
Memcached is much better, NFo should consider it.
Image
Image
Post Reply