Page 4 of 7

Re: Local installation

Posted: Fri Dec 02, 2016 11:45 UTC
by TheMightyDude
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.

Re: Local installation

Posted: Fri Dec 02, 2016 11:54 UTC
by Rincewind
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.

Re: Local installation

Posted: Fri Dec 02, 2016 12:00 UTC
by TheMightyDude
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.

Re: Local installation

Posted: Fri Dec 02, 2016 12:05 UTC
by Rincewind
same thing as with adodb-session.php include

Re: Local installation

Posted: Fri Dec 02, 2016 12:06 UTC
by Rincewind
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 :)

Re: Local installation

Posted: Fri Dec 02, 2016 12:07 UTC
by TheMightyDude
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.

Re: Local installation

Posted: Fri Dec 02, 2016 12:19 UTC
by Rincewind
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 :/

Re: Local installation

Posted: Fri Dec 02, 2016 12:23 UTC
by TheMightyDude
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.

Re: Local installation

Posted: Fri Dec 02, 2016 13:33 UTC
by TheMightyDude
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.

Re: Local installation

Posted: Sat Dec 03, 2016 03:13 UTC
by TheMightyDude
I see there is no errors on your game, what have you changed?