XMB Forum Software
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author:

[New] MySQL & PHP 7

Vanilla Lumina
New Poster
**


Avatar


Posts: 2
Registered: 6-15-2017
Location: England
Member Is Offline

Mood: Happy

[*] posted on 6-16-2017 at 03:19 AM
[New] 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!
View user's profile Visit user's homepage View All Posts By User
Jenny Lee
Member
***




Posts: 35
Registered: 7-21-2017
Location: England, UK
Member Is Offline

Mood: Meh. :P

[*] posted on 7-22-2017 at 12:03 AM


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.:mad:
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.
View user's profile View All Posts By User
Xian
Member
***


Avatar


Posts: 47
Registered: 9-12-2017
Location: Los Angeles, California
Member Is Offline

Mood: w00h00!

[*] posted on 9-12-2017 at 12:32 PM


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
View user's profile View All Posts By User
Jenny Lee
Member
***




Posts: 35
Registered: 7-21-2017
Location: England, UK
Member Is Offline

Mood: Meh. :P

[*] posted on 9-15-2017 at 11:58 PM


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.;)
View user's profile View All Posts By User
Xian
Member
***


Avatar


Posts: 47
Registered: 9-12-2017
Location: Los Angeles, California
Member Is Offline

Mood: w00h00!

[*] posted on 9-16-2017 at 01:48 AM


It is now availbale on the xmbforum2.com main page for download.

also available on this thread: http://forums.xmbforum2.com/viewthread.php?tid=776992
View user's profile View All Posts By User
Jenny Lee
Member
***




Posts: 35
Registered: 7-21-2017
Location: England, UK
Member Is Offline

Mood: Meh. :P

[*] posted on 9-16-2017 at 09:52 AM


Oh, that's great then. Thanks for your hard work. :)
View user's profile View All Posts By User
Xian
Member
***


Avatar


Posts: 47
Registered: 9-12-2017
Location: Los Angeles, California
Member Is Offline

Mood: w00h00!

[*] posted on 9-16-2017 at 03:33 PM


Quote: Originally posted by Jenny Lee  
Oh, that's great then. Thanks for your hard work. :)


You're welcome!
View user's profile View All Posts By User

  Go To Top

Powered by XMB 1.9.11 (Debug Mode)
Forum Script Software by XMB © 2001-2019 The XMB Group
[Queries: 16] [PHP: 18.7% - SQL: 81.3%]
Funded with thanks to competitions website.