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: 247
Joined: Thu Apr 17, 2014 9:15 am

Re: Local installation

Post by TheMightyDude » Tue Dec 06, 2016 5:12 am

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 Twitter Twitch

User avatar
TheMightyDude
Site Admin
Posts: 247
Joined: Thu Apr 17, 2014 9:15 am

Re: Local installation

Post by TheMightyDude » Tue Dec 06, 2016 6:22 am

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 Twitter Twitch

Rincewind
Posts: 64
Joined: Thu Nov 03, 2016 5:16 am

Re: Local installation

Post by Rincewind » Tue Dec 06, 2016 8:34 am

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: 247
Joined: Thu Apr 17, 2014 9:15 am

Re: Local installation

Post by TheMightyDude » Tue Dec 06, 2016 9:10 am

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 Twitter Twitch

Rincewind
Posts: 64
Joined: Thu Nov 03, 2016 5:16 am

Re: Local installation

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

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: 247
Joined: Thu Apr 17, 2014 9:15 am

Re: Local installation

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

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 Twitter Twitch

Rincewind
Posts: 64
Joined: Thu Nov 03, 2016 5:16 am

Re: Local installation

Post by Rincewind » Wed Dec 07, 2016 12:36 am

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: 247
Joined: Thu Apr 17, 2014 9:15 am

Re: Local installation

Post by TheMightyDude » Wed Dec 07, 2016 8:36 am

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 Twitter Twitch

Post Reply