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

Re: Local installation

Post by TheMightyDude » Fri Dec 02, 2016 10:43 am

I see you got 0.55 working.
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 10:44 am

old 0.55 version says nothing

new 0.663 says:

on create_universe.php

Code: Select all

Strict Standards: Non-static method ADODB_Session::encryptionKey() should not be called statically in /Users/tsaulic/Sites/bnt/global_cleanups.php on line 55

Strict Standards: Non-static method ADODB_Session::dataFieldName() should not be called statically in /Users/tsaulic/Sites/bnt/global_cleanups.php on line 58
on create player

Code: Select all

Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /Users/user/Sites/bnt/backends/adodb/drivers/adodb-mysql.inc.php on line 461
Create New Player Phase Two


Notice: Undefined variable: l_new_pwis in /Users/user/Sites/bnt/new2.php on line 187
]
then it outputs my password and tells me it's been mailed to me.
so.. mysqli hey :)

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

Re: Local installation

Post by Rincewind » Fri Dec 02, 2016 10:45 am

TheMightyDude wrote:I see you got 0.55 working.
wow that's actually creating the universe via 0.663 but they both use the same db :D

if I try to login with that user created in 0.663 via 0.55 I get redirected to the login screen again (probably due to no sessions)

User avatar
TheMightyDude
Site Admin
Posts: 243
Joined: Thu Apr 17, 2014 10:15 am

Re: Local installation

Post by TheMightyDude » Fri Dec 02, 2016 10:46 am

Yeah, 0.663 is done completely different and more secure, it also uses sessions, where as 0.55 doesn't if I recall.
TheMightyDude::Blacknova Development.
Development Blog Twitter Twitch

User avatar
TheMightyDude
Site Admin
Posts: 243
Joined: Thu Apr 17, 2014 10:15 am

Re: Local installation

Post by TheMightyDude » Fri Dec 02, 2016 10:48 am

Rincewind wrote:
TheMightyDude wrote:I see you got 0.55 working.
wow that's actually creating the universe via 0.663 but they both use the same db :D

if I try to login with that user created in 0.663 via 0.55 I get redirected to the login screen again (probably due to no sessions)
More chances its a cookie issue, BNT uses cookies to store login information.

So what version did you create the universe on?

Here is a thought, have you tried changing mysql or mysqlt to the following: pdo_mysql ?
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 10:57 am

the only version I was able to create the universe on was 0.6

I will try that now. Didn't even know about it :)

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

Re: Local installation

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

if I use pdo_mysql
I only get a white page with

Strict Standards: Non-static method ADODB_Session::encryptionKey() should not be called statically in /Users/tsaulic/Sites/bnt/global_cleanups.php on line 55

Strict Standards: Non-static method ADODB_Session::dataFieldName() should not be called statically in /Users/tsaulic/Sites/bnt/global_cleanups.php on line 58


if I use mysql, it doesn't even load the page.

it only loads the create universe page with mysqlt

User avatar
TheMightyDude
Site Admin
Posts: 243
Joined: Thu Apr 17, 2014 10:15 am

Re: Local installation

Post by TheMightyDude » Fri Dec 02, 2016 11:05 am

Let me look into the Session issue, I think my fix wasn't perfect.

Let me go through the adodb-session.php file correcting what I can see is wrong. and I will post a link for it once I have finished.
TheMightyDude::Blacknova Development.
Development Blog Twitter Twitch

User avatar
TheMightyDude
Site Admin
Posts: 243
Joined: Thu Apr 17, 2014 10:15 am

Re: Local installation

Post by TheMightyDude » Fri Dec 02, 2016 11:25 am

This is for 0.663 only.

Ok, right click on this link and save it.

Rename it to adodb-session.php

Then upload and overwrite the file at location backends\adodb\session\

Then try and re-create the universe and let me know if it works or not.
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:43 am

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

Post Reply