Vanilla Lumina
New Poster
Posts: 2
Registered: 6-15-2017
Location: England
Member Is Offline
Mood: Happy
|
|
[Resolved] MySQL & PHP 7
Full Board URL: http://forum.3ree.ml/
XMB Version: 1.9.11
Hi XMB Community,
I'm now running XMB Forum for my support forums, however have noticed that it does only support the MySQL extension (which was removed in PHP 7) and
not the updated MySQLi extension. I did noticed someone here made an "m2.php" which is supporting MySQLi, but it didn't work for me.
It's not a simple case of "add an i after mysql" because some functions don't exist in MySQLi or have been renamed/changed syntax and I am currently
not knowing PHP or other programming languages, so will likely break something.
I hope a patched MySQLi database executions file can be released some time, I noticed this in the bug tracker that it was planned for 1.9.11.14, but
has anything been done? ^^
Thanks!
|
|
Jenny Lee
Member
Posts: 36
Registered: 7-21-2017
Location: England, UK
Member Is Offline
Mood: Meh.
|
|
That mysqli port won't work out of the blue. There is some errors/typos in it. I've tested it. Fixed some, but haven't got it actually working.
To be honest, I doubt that bugless functionality is even possible, unless you rewrite the core files and queries manually whenever there is an issue.
|
|
Xian
Member
Posts: 50
Registered: 9-12-2017
Location: Los Angeles, California
Member Is Offline
Mood: w00h00!
|
|
I have made a mysqli.php port that is working (I think). At least it runs on my dev server at home with php 7.0.22
If you guys are interested in the files please let me know.
christian.deguzman [at] gmail.com
|
|
Jenny Lee
Member
Posts: 36
Registered: 7-21-2017
Location: England, UK
Member Is Offline
Mood: Meh.
|
|
Quote: Originally posted by Xian | I have made a mysqli.php port that is working (I think). At least it runs on my dev server at home with php 7.0.22 |
Would you mind sharing it in here as an attachment for everyone that needs it or uploading your whole modified XMB sources to github? That would be
way easier and time saving, than just replying to bunch of emails.
|
|
Xian
Member
Posts: 50
Registered: 9-12-2017
Location: Los Angeles, California
Member Is Offline
Mood: w00h00!
|
|
|
|
Jenny Lee
Member
Posts: 36
Registered: 7-21-2017
Location: England, UK
Member Is Offline
Mood: Meh.
|
|
Oh, that's great then. Thanks for your hard work.
|
|
Xian
Member
Posts: 50
Registered: 9-12-2017
Location: Los Angeles, California
Member Is Offline
Mood: w00h00!
|
|
|
|