Local installation
- TheMightyDude
- Site Admin
- Posts: 311
- Joined: Thu Apr 17, 2014 09:15 UTC
Re: Local installation
I see you got 0.55 working.
Re: Local installation
old 0.55 version says nothing
new 0.663 says:
on create_universe.php
on create player
]
then it outputs my password and tells me it's been mailed to me.
so.. mysqli hey![Smile :)](./images/smilies/icon_e_smile.gif)
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
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
![Smile :)](./images/smilies/icon_e_smile.gif)
Re: Local installation
wow that's actually creating the universe via 0.663 but they both use the same dbTheMightyDude wrote:I see you got 0.55 working.
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
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)
- TheMightyDude
- Site Admin
- Posts: 311
- Joined: Thu Apr 17, 2014 09:15 UTC
Re: Local installation
Yeah, 0.663 is done completely different and more secure, it also uses sessions, where as 0.55 doesn't if I recall.
- TheMightyDude
- Site Admin
- Posts: 311
- Joined: Thu Apr 17, 2014 09:15 UTC
Re: Local installation
More chances its a cookie issue, BNT uses cookies to store login information.Rincewind wrote:wow that's actually creating the universe via 0.663 but they both use the same dbTheMightyDude wrote:I see you got 0.55 working.
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)
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
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![Smile :)](./images/smilies/icon_e_smile.gif)
I will try that now. Didn't even know about it
![Smile :)](./images/smilies/icon_e_smile.gif)
Re: Local installation
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
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
- TheMightyDude
- Site Admin
- Posts: 311
- Joined: Thu Apr 17, 2014 09:15 UTC
Re: Local installation
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.
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
- Site Admin
- Posts: 311
- Joined: Thu Apr 17, 2014 09:15 UTC
Re: Local installation
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.
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
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