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 » Fri Dec 02, 2016 11:45 am

Rincewind wrote:I get an empty response now when trying to hit create_universe.php with this new adodb-session.php. I can see bnt db is populated with bnt_adodb_logsql table though
create the file called dev in the bnt folder if you haven't already, this displays errors.
TheMightyDude::Blacknova Development.
Development Blog Twitter Twitch

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

Re: Local installation

Post by Rincewind » Fri Dec 02, 2016 11:54 am

yup, have that already
but I jsut get an empty response from the server when I use that adodb-session.php

http://110.174.197.231/bnt/create_universe.php

The 110.174.197.231 page isn’t working

110.174.197.231 didn’t send any data.
ERR_EMPTY_RESPONSE

I tried pasting the text to sublime and saving in utf-8 cause I thought maybe it's due to hwo I saved it originally and then just renamed, but same thing happened.

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

Re: Local installation

Post by TheMightyDude » Fri Dec 02, 2016 12:00 pm

Ok, in global_includes.php within the bnt folder you will see the including of adodb-session.php

change it to include adodb-session2.php and see if that fixes anything.

Maybe my changes broke something, or maybe it fixed it and the next thing that was broken in adodb popped up.

Its difficult to locate and fix something without being able to test it myself :(

Hopefully on Sunday I will have full access to the server here.
TheMightyDude::Blacknova Development.
Development Blog Twitter Twitch

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

Re: Local installation

Post by Rincewind » Fri Dec 02, 2016 12:05 pm

same thing as with adodb-session.php include

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

Re: Local installation

Post by Rincewind » Fri Dec 02, 2016 12:06 pm

don't worry man! let's hope sunday will be the day to fix it :)

it's 10pm here anyway, gotta go have a shower and do some things before sleep :)

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

Re: Local installation

Post by TheMightyDude » Fri Dec 02, 2016 12:07 pm

Rincewind wrote:same thing as with adodb-session.php include
Ok, so we know its not my changes.

Do you have access to the apache logs?
If so look at the error logs the last few lines will be the error causing this.

Ok, well I will take a look on Sunday.
TheMightyDude::Blacknova Development.
Development Blog Twitter Twitch

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

Re: Local installation

Post by Rincewind » Fri Dec 02, 2016 12:19 pm

hmm this is what's in apache after hitting index or create universe

[Fri Dec 02 22:18:14.936264 2016] [core:notice] [pid 42523] AH00052: child pid 91272 exit signal Segmentation fault (11)
[Fri Dec 02 22:18:20.272082 2016] [core:notice] [pid 42523] AH00052: child pid 91249 exit signal Segmentation fault (11)
[Fri Dec 02 22:18:29.879937 2016] [core:notice] [pid 42523] AH00052: child pid 91276 exit signal Segmentation fault (11)
[Fri Dec 02 22:18:41.508791 2016] [core:notice] [pid 42523] AH00052: child pid 91277 exit signal Segmentation fault (11)
[Fri Dec 02 22:18:58.557539 2016] [core:notice] [pid 42523] AH00052: child pid 91309 exit signal Segmentation fault (11)
[Fri Dec 02 22:19:16.528476 2016] [core:notice] [pid 42523] AH00052: child pid 91314 exit signal Segmentation fault (11)

and they keep spawning :/

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

Re: Local installation

Post by TheMightyDude » Fri Dec 02, 2016 12:23 pm

Rincewind wrote:hmm this is what's in apache after hitting index or create universe

[Fri Dec 02 22:18:14.936264 2016] [core:notice] [pid 42523] AH00052: child pid 91272 exit signal Segmentation fault (11)
[Fri Dec 02 22:18:20.272082 2016] [core:notice] [pid 42523] AH00052: child pid 91249 exit signal Segmentation fault (11)
[Fri Dec 02 22:18:29.879937 2016] [core:notice] [pid 42523] AH00052: child pid 91276 exit signal Segmentation fault (11)
[Fri Dec 02 22:18:41.508791 2016] [core:notice] [pid 42523] AH00052: child pid 91277 exit signal Segmentation fault (11)
[Fri Dec 02 22:18:58.557539 2016] [core:notice] [pid 42523] AH00052: child pid 91309 exit signal Segmentation fault (11)
[Fri Dec 02 22:19:16.528476 2016] [core:notice] [pid 42523] AH00052: child pid 91314 exit signal Segmentation fault (11)

and they keep spawning :/
That's a PHP Error causing that.

Anyhow I will look into it this Sunday.
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 » Fri Dec 02, 2016 1:33 pm

When you get up try the following for 0.663:

Leave everything as is and change the following, so still using adodb-session2.php:

in config/db_config.php change

Code: Select all

$ADODB_SESSION_DRIVER = "mysqlt";
to the following:

Code: Select all

$ADODB_SESSION_DRIVER = "mysqli"; 
You might need to re-create the universe.

This worked on my VMware running php v5.5.9 and mine now gets past those errors.
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 » Sat Dec 03, 2016 3:13 am

I see there is no errors on your game, what have you changed?
TheMightyDude::Blacknova Development.
Development Blog Twitter Twitch

Post Reply