can this forum work on php version 7.0 ? (General)

by needhelp2, Wednesday, May 25, 2016, 05:55 (2886 days ago)

Hello, my host asks me to upgrade to php 7.0, are there any known conflicts with Mylittleforum and php version 7.0?

I see on the home page that it asks for php version 5.0 only

thanks

Avatar

No, it can't (at present)

by Auge ⌂, Wednesday, May 25, 2016, 15:23 (2886 days ago) @ needhelp2

Hello

Hello, my host asks me to upgrade to php 7.0, are there any known conflicts with Mylittleforum and php version 7.0?

If I'm interpreting the code correctly, there is a big unsolved conflict between MLF and PHP7. MLF uses the old interface to MySQL, which is discontinued with PHP7.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

Avatar

Yes, I hope the 2.3.5 RC works fine

by Micha ⌂, Thursday, May 26, 2016, 13:23 (2885 days ago) @ needhelp2
edited by Micha, Thursday, May 26, 2016, 14:15

Hello,

my host asks me to upgrade to php 7.0, are there any known conflicts with Mylittleforum and php version 7.0?

Today, I update the 2.3.5 RC to a full update- and installable package. This RC contains the full forum script particularly the modified php-files - all mysql_* functions are replaced by mysqli_* representations. Cause I don't have PHP 7, I cannot validate my modification!

CHANGELOG

- Smarty update (3.1.29)
- Bad Behavior updated (2.2.18)
- Marked locked thread without opening (http://mylittleforum.net/forum/index.php?id=8721)
- Several minor translation errors in german.lang (http://mylittleforum.net/forum/index.php?id=8549)
- Sticky becomes unstuck when thread is edited-Fix (http://mylittleforum.net/forum/index.php?id=8310)
- JavaScript fix for iOS (http://mylittleforum.net/forum/index.php?id=8393)
- Showing registered users (http://mylittleforum.net/forum/index.php?id=8285)
- Replace mysql_* by mysqli_* functions (http://mylittleforum.net/forum/index.php?id=8942)

Edited files:
- js/
- modules/smarty/
- modules/bad-behavior/
- lang/german.lang
- themes/default/images/bg_sprite_1.png
- themes/default/subtemplates/entry.inc.tpl
- themes/default/subtemplates/index.inc.tpl
- themes/default/subtemplates/index_table.inc.tpl
- themes/default/subtemplates/thread.inc.tpl
- themes/default/subtemplates/thread_linear.inc.tpl
- themes/default/style.css
- themes/default/style.mini.css
- includes/admin.inc.php
- includes/auto_login.inc.php
- includes/contact.inc.php
- includes/entry.inc.php
- includes/functions.inc.php
- includes/index.inc.php
- includes/login.inc.php
- includes/main.inc.php
- includes/page.inc.php
- includes/posting.inc.php
- includes/register.inc.php
- includes/rss.inc.php
- includes/search.inc.php
- includes/thread.inc.php
- includes/user.inc.php

/Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Avatar

Yes, I hope the 2.3.5 RC works fine

by Auge ⌂, Friday, May 27, 2016, 10:28 (2884 days ago) @ Micha

Hello,

my host asks me to upgrade to php 7.0, are there any known conflicts with Mylittleforum and php version 7.0?


Today, I update the 2.3.5 RC to a full update- and installable package. This RC contains the full forum script particularly the modified php-files - all mysql_* functions are replaced by mysqli_* representations. Cause I don't have PHP 7, I cannot validate my modification!

Thank you for your work.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

Avatar

Yes, I hope the 2.3.5 RC works fine

by Micha ⌂, Saturday, May 28, 2016, 15:20 (2883 days ago) @ Auge

Hi,

Thank you for your work.

No problem. Hopefully, Alex will release this version. ;-)

Do you have a php 7 installation to check my modification? My provider provides php 7 but - currently - mysqli-functions are not available. :-( I run the modified script via php 5.6 and it works but, maybe, there are more modifications necessary to run it on php 7.

/Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Avatar

Yes, I hope the 2.3.5 RC works fine

by Auge ⌂, Sunday, May 29, 2016, 12:58 (2882 days ago) @ Micha

Hello

Do you have a php 7 installation to check my modification?

No, I havn't.

My provider provides php 7 but - currently - mysqli-functions are not available. :-(

Oh! Seriously, it isn't enabled by default.

Sorry, I can't help at the moment. :-(

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

Avatar

Yes, I hope the 2.3.5 RC works fine

by Micha ⌂, Sunday, May 29, 2016, 13:05 (2882 days ago) @ Auge

Hi,

Oh! Seriously, it isn't enabled by default.

I don't know but I got this error:

Fatal error: Uncaught Error: Class 'mysqli' not found...

as well as

Fatal error: Uncaught Error: Call to undefined function mysqli_connect()...


I'll ask my provider because it seems to available, see phpinfo but it doesn't work...

Sorry, I can't help at the moment. :-(

No problem!

Have a nice weekend
Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

RSS Feed of thread