Local installation

Trying to install BNT? No guarantees we can help you (especially if you're hosting it on windows) but we''ll try.

User avatar
TheMightyDude
Site Admin
Posts: 311
Joined: Thu Apr 17, 2014 09:15 UTC

Re: Local installation

Post by TheMightyDude » Tue Dec 06, 2016 05:12 UTC

Well, I just noticed that I was editing the VM that was running PHP7.
Let me check on the other one.
TheMightyDude::Blacknova Development.
Development Blog YouTube Dev Channel Twitter Twitch

User avatar
TheMightyDude
Site Admin
Posts: 311
Joined: Thu Apr 17, 2014 09:15 UTC

Re: Local installation

Post by TheMightyDude » Tue Dec 06, 2016 06:22 UTC

Ok,

I have just re-setup Ubuntu 14.04 and re-uploaded BNT 0.663, I used the adodb-session.php fix I did, told it to use "mysqli" as the database type and created the universe and all went fine, no issues at all.

Well apart from this one:
Notice: Trying to get property of non-object in /var/www/virtual/bnt/html/global_cleanups.php on line 139
But you can ignore that if you get it, its due to I had already logged in on the same browser, so its not an issue.

Here is a quick fix for Setup Info which removed all the errors / warning message for me.

By the way all switches are enabled in setup_info.php

This is what Setup Info looks like for me: Image on my version.

Try that and let me know if it fixes it.

*** update ***
One sec, are you running BNT on the same OS?
Like you have installed Ubuntu Server and installed BNT on that, you are not actually trying to log onto the game via Ubuntu (Desktop) are you, that won't work.

Say you install VMware on your Mac, you install BNT on that VMware, you can access that game via your Mac using the IP of the VMware, that will work.
TheMightyDude::Blacknova Development.
Development Blog YouTube Dev Channel Twitter Twitch

Rincewind
Posts: 65
Joined: Thu Nov 03, 2016 05:16 UTC

Re: Local installation

Post by Rincewind » Tue Dec 06, 2016 08:34 UTC

Yup, that worked fine.. setup_info.php now works a lot better..

still having some issues, though.

It says creation of cookie 'PASSED' but Cookie test below fails, saying that my gamepath and gamedomain are incorrect, however it says it's correct at the very bottom of the page. :)

http://110.174.197.231:8081/bnt/setup_info.php

As for my setup:

I run stuff on my Macbook Air. I installed virtualbox and vagrant VM via packer. Forwarded port 80 from guest to 8081 on my Mac. Ubuntu is the VM where BNT, PHP, Apache2, MySQL are installed.

I hit the game server from my Mac and my desktop Win10 machine.

User avatar
TheMightyDude
Site Admin
Posts: 311
Joined: Thu Apr 17, 2014 09:15 UTC

Re: Local installation

Post by TheMightyDude » Tue Dec 06, 2016 09:10 UTC

Rincewind wrote:Yup, that worked fine.. setup_info.php now works a lot better..

still having some issues, though.

It says creation of cookie 'PASSED' but Cookie test below fails, saying that my gamepath and gamedomain are incorrect, however it says it's correct at the very bottom of the page. :)

http://110.174.197.231:8081/bnt/setup_info.php

As for my setup:

I run stuff on my Macbook Air. I installed virtualbox and vagrant VM via packer. Forwarded port 80 from guest to 8081 on my Mac. Ubuntu is the VM where BNT, PHP, Apache2, MySQL are installed.

I hit the game server from my Mac and my desktop Win10 machine.
Its telling me the following:
$gamepath	/bnt/			Correct
$gamedomain	.110.174.197.231	Correct

$ADOdbpath	backends/adodb		Correct
So it telling me its all correct.

You need to access it via its external IP and port.
TheMightyDude::Blacknova Development.
Development Blog YouTube Dev Channel Twitter Twitch

Rincewind
Posts: 65
Joined: Thu Nov 03, 2016 05:16 UTC

Re: Local installation

Post by Rincewind » Tue Dec 06, 2016 10:44 UTC

That's how I access it. I go to:

http://110.174.197.231:8081/bnt/

that is correct, right?

Also, see how in setup_info.php, although it says correct for gamepath and gamedomain, cookie test fails under Server Software/ Operating System tests.

Code: Select all

Cookie Test	Failed testing Cookies!
Please check your $gamepath and $gamedomain settings in config_local.php

User avatar
TheMightyDude
Site Admin
Posts: 311
Joined: Thu Apr 17, 2014 09:15 UTC

Re: Local installation

Post by TheMightyDude » Tue Dec 06, 2016 11:17 UTC

Rincewind wrote:That's how I access it. I go to:

http://110.174.197.231:8081/bnt/

that is correct, right?

Also, see how in setup_info.php, although it says correct for gamepath and gamedomain, cookie test fails under Server Software/ Operating System tests.

Code: Select all

Cookie Test	Failed testing Cookies!
Please check your $gamepath and $gamedomain settings in config_local.php
Yeah, that's the correct address, the cookie test is passing when I view your setup info page, so it must be something wrong your end on the client machine.
TheMightyDude::Blacknova Development.
Development Blog YouTube Dev Channel Twitter Twitch

Rincewind
Posts: 65
Joined: Thu Nov 03, 2016 05:16 UTC

Re: Local installation

Post by Rincewind » Wed Dec 07, 2016 00:36 UTC

Damn. Thanks for all your effort. I will hopefully figure it out. I have some ideas for after work.

User avatar
TheMightyDude
Site Admin
Posts: 311
Joined: Thu Apr 17, 2014 09:15 UTC

Re: Local installation

Post by TheMightyDude » Wed Dec 07, 2016 08:36 UTC

Rincewind wrote:Damn. Thanks for all your effort. I will hopefully figure it out. I have some ideas for after work.
No problems, I needed something to take my mind off coding for a while.
TheMightyDude::Blacknova Development.
Development Blog YouTube Dev Channel Twitter Twitch

Post Reply