Page 3 of 7
Re: Local installation
Posted: Fri Dec 02, 2016 10:43 UTC
by TheMightyDude
I see you got 0.55 working.
Re: Local installation
Posted: Fri Dec 02, 2016 10:44 UTC
by Rincewind
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
Re: Local installation
Posted: Fri Dec 02, 2016 10:45 UTC
by Rincewind
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
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)
Re: Local installation
Posted: Fri Dec 02, 2016 10:46 UTC
by TheMightyDude
Yeah, 0.663 is done completely different and more secure, it also uses sessions, where as 0.55 doesn't if I recall.
Re: Local installation
Posted: Fri Dec 02, 2016 10:48 UTC
by TheMightyDude
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
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 ?
Re: Local installation
Posted: Fri Dec 02, 2016 10:57 UTC
by Rincewind
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
Re: Local installation
Posted: Fri Dec 02, 2016 11:01 UTC
by Rincewind
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
Re: Local installation
Posted: Fri Dec 02, 2016 11:05 UTC
by TheMightyDude
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.
Re: Local installation
Posted: Fri Dec 02, 2016 11:25 UTC
by TheMightyDude
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.
Re: Local installation
Posted: Fri Dec 02, 2016 11:43 UTC
by Rincewind
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