Simple Machines Community Forum

Simple Machines => News and Updates => Topic started by: Colin on May 14, 2017, 05:16:14 PM

Title: SMF 2.0.14 Released
Post by: Colin on May 14, 2017, 05:16:14 PM
Dear Members,

Simple Machines Forum has released a new patch to the 2.0.x line, bringing our latest release version to 2.0.14.

This patch adds both security and general maintenance fixes to your forum, so it is imperative that you install this patch quickly. You can view the changelog for this release, per usual, on the downloads page (http://download.simplemachines.org/).

The quick summary of changes is as follows:

If you are running version 2.0.13, you can upgrade your forum to the latest version by using the package manager. As usual, you should see the upgrade notification in the admin panel notifications and in the package manager, which will allow you to download and install the patch seamlessly.  If you do not see the notification about the upgrade patch, please run the scheduled task "Fetch Simple Machines files" from the Scheduled Tasks page (Admin > Maintenance > Scheduled Tasks > Fetch Simple Machines Files (check the "Run Now" checkbox and click the "Run Now" button)).

The PHP version requirement for this patch is 5.4.0 or newer. Please ensure that your host is currently in compliance with this or ask them to upgrade your PHP version.

If you use older versions of SMF, you can upgrade directly to 2.0.14 from whichever version you are currently using by using the "full upgrade" archive from the downloads page. Be aware that using this upgrade method will require you to reinstall any customizations that you have added to your forum, so if you are running a version of the 2.0.x series, it is recommended that you apply the successive patches instead of using the full upgrade.

Please do not use this topic for support requests.
You will receive a much quicker and better response by posting in the 2.0.x Support Board (http://www.simplemachines.org/community/index.php?board=147.0).


If you are having problems downloading the patch from the admin panel, you can download the patch package from the upgrade patches page (http://custom.simplemachines.org/upgrades/) and install it via the package manager, as you would any other mod package.

Please refer to the Online Manual for more details about:

Thank you for using SMF!

Regards,
Simple Machines Forum Team
Title: Re: SMF 2.0.14 Released
Post by: Looking on May 14, 2017, 05:18:15 PM
Thanks, PHP 7 support is great.
Title: Re: SMF 2.0.14 Released
Post by: SleePy on May 14, 2017, 05:19:32 PM
Congrats!
Title: Re: SMF 2.0.14 Released
Post by: -=[Vyorel]=- on May 14, 2017, 05:23:51 PM
Congratulations! PHP 7 support, good job.
Title: Re: SMF 2.0.14 Released
Post by: CoreISP on May 14, 2017, 05:24:20 PM
Good job team, thanks to everyone for their hard work :)
Title: Re: SMF 2.0.14 Released
Post by: kat★ on May 14, 2017, 05:26:20 PM
YES. GG fellas installing as soon as I can. Gonna test how proxies run. Cheers fellas!


Edit -- Just noticed when I used the Large Upgrade utility that the footer still displays "SMF ©2015, Simple Machines", just a heads up!
Title: Re: SMF 2.0.14 Released
Post by: shawnb61 on May 14, 2017, 05:31:53 PM
Excellent work!  Congrats!

I think the changelog may still need an update?
Title: Re: SMF 2.0.14 Released
Post by: assemblytube on May 14, 2017, 05:33:13 PM
Is the patch supposed to be a zip file like all the previous patches. When I download the file it is .gz so am puzzled.
Title: Re: SMF 2.0.14 Released
Post by: CoreISP on May 14, 2017, 05:33:55 PM
I think the changelog may still need an update?

Yup, they're working on that now! :)

Is the patch supposed to be a zip file like all the previous patches. When I download the file it is .gz so am puzzled.

It's supposed to be a .tar.gz for this release. :)
Title: Re: SMF 2.0.14 Released
Post by: vbgamer45 on May 14, 2017, 06:17:38 PM
Thanks for this release time to update my final servers to php 7!
Title: Re: SMF 2.0.14 Released
Post by: SleePy on May 14, 2017, 06:27:55 PM
I think the changelog may still need an update?

Fixed

Title: Re: SMF 2.0.14 Released
Post by: vbgamer45 on May 14, 2017, 06:30:25 PM
I did see an update for custom themes using a login form is this required?
Code: [Select]
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
Title: Re: SMF 2.0.14 Released
Post by: SleePy on May 14, 2017, 06:32:01 PM
vbgamer45,

Yes.  This is an improved session check on the login form.  Custom themes that modify Login.template.php and the login on index.template.php will need to apply the patch.  If the code matches, the patch can apply the update to the custom theme.  Some custom themes won't match.
Title: Re: SMF 2.0.14 Released
Post by: vbgamer45 on May 14, 2017, 06:34:41 PM
Ok good to know. A warning to some users might be needed. I noticed when I had one custom theme fail.
Title: Re: SMF 2.0.14 Released
Post by: ☆☆ABM☆☆ on May 14, 2017, 06:40:52 PM
Congrats! 😁😁😁
Title: Re: SMF 2.0.14 Released
Post by: charlottezweb on May 14, 2017, 06:43:54 PM
Ok good to know. A warning to some users might be needed. I noticed when I had one custom theme fail.

Same thing happened to me. I applied the patch after recording the failures that I needed to manually alter but the callouts weren't available.  Can't login to my forum now :)
Title: Re: SMF 2.0.14 Released
Post by: CoreISP on May 14, 2017, 07:00:08 PM
Can't login to my forum now :)

Using the "login" function from the menu, or something else?
I applied it on a theme that was also giving the error, but looking in the files: didn't contain the feature at all.
So ignored the error, applied patch: and everything still works as intended. :)
Title: Re: SMF 2.0.14 Released
Post by: charlottezweb on May 14, 2017, 07:09:30 PM
Couldn't login to my forum from the particular theme's login on the site menu.  (Note: I'm using a custom social media login plugin so that's likely needing an update first).  I reverted my theme files in the meantime as well as /Sources to be able to get back in.  I think I'll just do a full/large upgrade tonight to 2.0.14 to do a little housekeeping until that theme and mod are updated to be compatible.

Good stuff team.  I appreciate the updates!
Title: Re: SMF 2.0.14 Released
Post by: SleePy on May 14, 2017, 07:15:54 PM
The plugin you have may need to be updated to do the session check properly.

The patch is very generous on the code it looks for.  Most themes should update if they have a global login form.  A few themes may have edited the code we are looking for.
Title: Re: SMF 2.0.14 Released
Post by: Dzonny on May 14, 2017, 07:16:05 PM
Congrats everyone! ;)
Title: Re: SMF 2.0.14 Released
Post by: vbgamer45 on May 14, 2017, 07:30:42 PM
Also template/mod site need 2.0.14 going to update a bunch of these with that update if they need it.
Title: Re: SMF 2.0.14 Released
Post by: Nolt on May 14, 2017, 08:06:16 PM
Good work!
Title: Re: SMF 2.0.14 Released
Post by: MobileCS on May 14, 2017, 08:53:00 PM
If I want to use MySQLi, do I change the $db_type to just that in Settings.php?
Title: Re: SMF 2.0.14 Released
Post by: digger on May 14, 2017, 08:54:20 PM
Why you still not use utf-8 as default for mysql database type? SMF have support for 7.0 now, but does not work correctly with Cyrillic languages on PHP above 5.3.
Title: Re: SMF 2.0.14 Released
Post by: Kindred on May 14, 2017, 08:57:04 PM
....   I believe this has already been explained to you several times.
Title: Re: SMF 2.0.14 Released
Post by: digger on May 14, 2017, 09:02:38 PM
....   I believe this has already been explained to you several times.
SMF is only for English. I understood.
Title: Re: SMF 2.0.14 Released
Post by: SleePy on May 14, 2017, 09:17:12 PM
SMF is only for English. I understood.

Where do you get that?  When 2.0 was developed UTF-8 support wasn't as much of a need besides international forums and as well the added cost of storing the data was higher. Not to mention the CPU requirements for those days.  2.1 is defaulted to UTF-8 and only officially supports it.  For new 2.0 installs it's a simple checkbox.
Title: Re: SMF 2.0.14 Released
Post by: Kindred on May 14, 2017, 09:21:07 PM
....   I believe this has already been explained to you several times.
SMF is only for English. I understood.

No one has ever said that... it is as sleepy said... and as we have explained to you several times now...
 so, for you to make that statement is disingenuous.
Title: Re: SMF 2.0.14 Released
Post by: MobileCS on May 14, 2017, 10:22:21 PM
Anyone?
Title: Re: SMF 2.0.14 Released
Post by: CoreISP on May 14, 2017, 10:24:54 PM
For support inquiries, as the op already states, please open a topic in the appropriate board.
Title: Re: SMF 2.0.14 Released
Post by: vbgamer45 on May 14, 2017, 11:03:31 PM
Possible bug in proxy.php in the release https://www.simplemachines.org/community/index.php?topic=553863.0
Title: Re: SMF 2.0.14 Released
Post by: CoreISP on May 14, 2017, 11:19:16 PM
Thanks, the devs will have a look at that! Despite very extensive testing both here on our own site and on other sites, it may be that a bug still managed to slip through the cracks for this new feature.
Title: Re: SMF 2.0.14 Released
Post by: Linkjay on May 15, 2017, 12:03:52 AM
Very beautiful! Nice work. Thank you for this.
Title: Re: SMF 2.0.14 Released
Post by: HDB on May 15, 2017, 12:11:31 AM
Great work SMF Staff and vbgamer45! (on the proxy issue)!

Everything is working!!
Title: Re: SMF 2.0.14 Released
Post by: gorbi on May 15, 2017, 03:25:47 AM
Error 500 does not arise after upgrade?
Title: Re: SMF 2.0.14 Released
Post by: Arantor on May 15, 2017, 03:30:24 AM
Error 500 does not arise after upgrade?

Please open a topic in the support boards with as much detail as possible, including what you were trying to do when you got error 500 and maybe we can tell you if it fixes it.
Title: Re: SMF 2.0.14 Released
Post by: none_free on May 15, 2017, 03:42:28 AM
Thanks for all the work!!!
Title: Re: SMF 2.0.14 Released
Post by: jorgerll on May 15, 2017, 03:50:35 AM
Gran trabajo!!! Gracias!!
Title: Re: SMF 2.0.14 Released
Post by: Burridge on May 15, 2017, 03:55:29 AM
Thanks team! Good release :)
Title: Re: SMF 2.0.14 Released
Post by: Johnny54 on May 15, 2017, 05:17:14 AM


A big thank you to all involved in making/testing this patch.
Title: Re: SMF 2.0.14 Released
Post by: iMiKK on May 15, 2017, 05:41:05 AM
What a wonderful news!
Title: Re: SMF 2.0.14 Released
Post by: Pause on May 15, 2017, 06:14:48 AM
Good job team, thanks to everyone for their hard work :)
Agreed, thanks and well done to all. :)
Title: Re: SMF 2.0.14 Released
Post by: Antes on May 15, 2017, 06:25:13 AM
Good job team, thanks to everyone for their hard work :)
Agreed, thanks and well done to all. :)
Agreed. :P gz team.
Title: Re: SMF 2.0.14 Released
Post by: zStudios Team on May 15, 2017, 08:39:30 AM
Great! updating right now
Title: Re: SMF 2.0.14 Released
Post by: Oldcrow on May 15, 2017, 09:08:08 AM
Thanks for the upgrade, and thanks to all the team members for all the hard work and long hours they put in here, I appreciated the group..

Ron..
Title: Re: SMF 2.0.14 Released
Post by: a10 on May 15, 2017, 10:09:08 AM
Thanks for the hard work. Great!
Title: Re: SMF 2.0.14 Released
Post by: Gringoboy on May 15, 2017, 10:40:48 AM
Installed without a hitch.
Many thanks!
Title: Re: SMF 2.0.14 Released
Post by: Ben_S on May 15, 2017, 11:40:26 AM
Thanks guys, installed without any issues.
Title: Re: SMF 2.0.14 Released
Post by: Gluz on May 15, 2017, 01:51:58 PM
Great work, my sites are now fully https without mixed content.

Just one question, are the language packs going to be updated?
I just downloaded the last language for my forum (spanish_es-utf8) and although they have the $txt entries, they are still in english.

They are not much of a deal for me, but for some site owners (a couple that I help in) might be useful have it right.
Title: Re: SMF 2.0.14 Released
Post by: d3vcho(); on May 15, 2017, 01:58:27 PM
Great work, my sites are now fully https without mixed content.

Just one question, are the language packs going to be updated?
I just downloaded the last language for my forum (spanish_es-utf8) and although they have the $txt entries, they are still in english.

They are not much of a deal for me, but for some site owners (a couple that I help in) might be useful have it right.

Language packages are updated once the translations are done, so you'll probably need to wait until someone translate them. I'll see if I can do it during this week.
Title: Re: SMF 2.0.14 Released
Post by: Portugal on May 15, 2017, 05:58:58 PM
Hi team... very very thanks for this wonder news.... tomorrow i will do that upgrade :) Thanks again and keep this fantastic project alive and on top as until now!

Regards
Title: Re: SMF 2.0.14 Released
Post by: Nibogo on May 15, 2017, 06:41:26 PM
There's a bug in the package, the last edit to Login.template.php adds another submit field to the maintenance login form:

Code: [Select]
<span class="lowerframe"><span></span></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" /><p class="centertext"><input type="submit" value="', $txt['login'], '" class="button_submit" /><input type="hidden" name="hash_passwrd" value="" />
</div>
</form>';

Both the opening paragraph and the submit button shouldn't be there.
Title: Re: SMF 2.0.14 Released
Post by: lurkalot on May 15, 2017, 06:49:44 PM
There's a bug in the package, the last edit to Login.template.php adds another submit field to the maintenance login form:

Code: [Select]
<span class="lowerframe"><span></span></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" /><p class="centertext"><input type="submit" value="', $txt['login'], '" class="button_submit" /><input type="hidden" name="hash_passwrd" value="" />
</div>
</form>';

Both the opening paragraph and the submit button shouldn't be there.

Think that was mentioned here, https://www.simplemachines.org/community/index.php?topic=553881.0
Title: Re: SMF 2.0.14 Released
Post by: Xarkurai on May 16, 2017, 02:06:47 PM
The long awaited patch!
Awesome!

Looks like I know what to do in the weekend :).
Title: Re: SMF 2.0.14 Released
Post by: MartiMedia on May 16, 2017, 02:37:59 PM
Fantastic guys, thank you so much for all your great work!! Tested first, no problems installing. Then installed it at my production site with no problems at all. Well done!!!
Title: Re: SMF 2.0.14 Released
Post by: pgauthier on May 16, 2017, 08:46:39 PM
Not sure what happened. I installed the patch and now the forum displays a blank (white) page.
Unfortunate. Maybe someone has had the same problem. Any info would be appreciated.
Title: Re: SMF 2.0.14 Released
Post by: CoreISP on May 16, 2017, 09:10:56 PM
Not sure what happened. I installed the patch and now the forum displays a blank (white) page.
Unfortunate. Maybe someone has had the same problem. Any info would be appreciated.

Please have a look in the support for 2.0 board. If no similar threads, open one.
But this topic is not for support. ;)

Thanks!
Title: Re: SMF 2.0.14 Released
Post by: lntit on May 17, 2017, 01:16:30 AM
Excellent work, everybody! :D
Title: Re: SMF 2.0.14 Released
Post by: knut on May 17, 2017, 04:25:12 AM
Quote
Added PHP 7 support.
Great news !!!
Many thanks !!!
Title: Re: SMF 2.0.14 Released
Post by: Darth[GdL] on May 17, 2017, 10:41:28 AM
Thank's for the Update. It's working like a charme.

I saw in the language files smf_2-0-14_german that the file index.german.php is still with version 2.0.12 and shown inside administration as red version.
Only cosmetics, so i changed it to 2.0.14 and now everything is showing normal :-)
Title: Re: SMF 2.0.14 Released
Post by: gorbi on May 18, 2017, 02:30:17 AM
Is the release expected to be 2.0.15?
Title: Re: SMF 2.0.14 Released
Post by: Illori on May 18, 2017, 05:02:38 AM
any future patch will have a bump in version number, so the next patch would be 2.0.15.
Title: Re: SMF 2.0.14 Released
Post by: gorbi on May 18, 2017, 08:16:36 AM
any future patch will have a bump in version number, so the next patch would be 2.0.15.
will wait
Title: Re: SMF 2.0.14 Released
Post by: inter on May 18, 2017, 01:17:49 PM
any future patch will have a bump in version number, so the next patch would be 2.0.15.

Also do not forget about this error: https://www.simplemachines.org/community/index.php?topic=553283.0

Title: Re: SMF 2.0.14 Released
Post by: Arantor on May 18, 2017, 01:21:44 PM
So there's that, the SSI_login bug... the warning in the installer, status.php needing updated...
Title: Re: SMF 2.0.14 Released
Post by: vbgamer45 on May 18, 2017, 01:28:14 PM
And sendtopic.php bug, maintenance mode double login button
Title: Re: SMF 2.0.14 Released
Post by: Illori on May 18, 2017, 01:52:58 PM
we have a list in the team boards of these issues and more we are working on getting fixed.
Title: Re: SMF 2.0.14 Released
Post by: matedgo on May 18, 2017, 02:30:50 PM
Is there possibilty to proxy every image?

For example forum avatars at simple portal home page aren't proxied. When you use <img src> to put image on forum board isn't proxied too. Any fix for that?
Title: Re: SMF 2.0.14 Released
Post by: Shambles on May 18, 2017, 02:43:42 PM
Quote from: matedgo
Is there possibilty to proxy every image?

For example forum avatars at simple portal home page aren't proxied. When you use <img src> to put image on forum board isn't proxied too. Any fix for that?

I'm fairly sure you aren't supposed to use this topic for support.
Title: Re: SMF 2.0.14 Released
Post by: Steve on May 18, 2017, 03:43:45 PM
From the first post:

Please do not use this topic for support requests.
You will receive a much quicker and better response by posting in the 2.0.x Support Board (http://www.simplemachines.org/community/index.php?board=147.0) ...
Title: Re: SMF 2.0.14 Released
Post by: balonfx on May 18, 2017, 04:01:54 PM
Update went clean, had to update a few areas of our website.

What MySQL function did SMF go in favor of, and why do some SQL functions still exist in like Subs-db-sql? For example, a lot of @mysql_error to silence the call, however when removing the @.. we see no errors in our logs making us believe these aren't even used any more just there?

(Asking about function as one of our mods use mysql_ we moved to mysqli_ but for consistency, would like to follow what SMF is doing.
Title: Re: SMF 2.0.14 Released
Post by: Illori on May 18, 2017, 04:03:16 PM
you would be best to open a topic in the coding board to discuss this. it may take a bit to answer it and this topic IMO is really not the place for this discussion.
Title: Re: SMF 2.0.14 Released
Post by: Linkjay on May 19, 2017, 03:39:29 AM
Is there possibilty to proxy every image?

For example forum avatars at simple portal home page aren't proxied. When you use <img src> to put image on forum board isn't proxied too. Any fix for that?

Can someone split this into a support thing?

Yes, it is very possible. You will, however, need to do some programming yourself if it isn't included within the mod by default.
Title: Re: SMF 2.0.14 Released
Post by: Irisado on May 19, 2017, 07:59:43 AM
As he has been asked to start a new topic, it is better to stick with that decision at this juncture.
Title: Re: SMF 2.0.14 Released
Post by: ILUXA on May 19, 2017, 05:16:11 PM
After upgrade (from 2.0.13 to 2.0.14 using patch from builtin smf package manager),
users cannot login anymore,  only users that did not exited forum can use it.
When anybody try to login, after entering login and pass and pressing enter,
SMF gives warning — session timeout ($txt['session_timeout']), and it is imposible to login.
Downgrading to 2.0.13…
Title: Re: SMF 2.0.14 Released
Post by: Illori on May 19, 2017, 05:25:26 PM
please dont use this topic for support. please open a topic in the proper support board so that we can assist you further.
Title: Re: SMF 2.0.14 Released
Post by: ILUXA on May 19, 2017, 05:57:37 PM
I don't need any support,
I am experienced user, but I don't have time to debug this problem now (I already downgraded to 2.0.13),
when I'll have it (time), I'll try to install this patch manually, from vim in console  :'(, I'll write changes to every single line,
and then test login after each editing, when I'll find what is a problem, I'll try to do not forget to create a thread with a solution,
somewhere here on simplemachines.org...
Title: Re: SMF 2.0.14 Released
Post by: Antes on May 19, 2017, 06:00:48 PM
The issue you are facing is already answered in several topics, just search.
Title: Re: SMF 2.0.14 Released
Post by: ILUXA on May 19, 2017, 06:55:56 PM
I will be very grateful, if you send me a private message with a link on topic with a solution (or, if it is possible, please post it here),
I am not a native english speaker, so it is hard for me to clearly describe this problem in few words for a search query,
I already tried to "google it", but found nothing.
Title: Re: SMF 2.0.14 Released
Post by: Kindred on May 19, 2017, 06:58:39 PM
And this is what we mean, this topic is not for support period support is done in the support boards and many people have already solved the issue with the posts in the support board
Title: Re: SMF 2.0.14 Released
Post by: ILUXA on May 19, 2017, 08:46:06 PM
I understood, but IMO few offtop messages can be easelly removed by moderators (or by message authors) at any time ::) ;)

Anyway, thanks to all for developing SMF! It is a great forum engine!
Title: Re: SMF 2.0.14 Released
Post by: rogrog on May 20, 2017, 04:24:55 PM
Thank you for all the work done, I upgraded
Title: Re: SMF 2.0.14 Released
Post by: alexetgus on May 21, 2017, 01:20:05 AM
This proxy is a mistake, a huge mistake! ::)
Don't use it!


Thanks for PHP7 support! :)
Title: Re: SMF 2.0.14 Released
Post by: Colin on May 21, 2017, 02:21:55 AM
This proxy is a mistake, a huge mistake! ::)
Don't use it!


Thanks for PHP7 support! :)

Hmm, why is it a mistake?
Title: Re: SMF 2.0.14 Released
Post by: Linkjay on May 21, 2017, 03:01:33 AM
This proxy is a mistake, a huge mistake! ::)
Don't use it!

I happen to think the Proxy is one of the best SMF features right now... Especially considering how easy it is to implement in your scripts within and externally from SMF.

Not sure if you're trying to be funny or something. lol
Title: Re: SMF 2.0.14 Released
Post by: Hurga on May 21, 2017, 10:34:48 AM
Had a small issue with the update... new users couldn't register anymore, the forum logged the error message

Code: [Select]
Database Error: Field 'timezone' doesn't have a default value
File: /home/forum/smf/Sources/Subs-Members.php
Line: 771

Field 'timezone' from smf_members had a NULL default, setting default to 'Europe/Berlin' fixed this. After that, I had to set defaults for timezone_offset and timezone_update too (I used 0).

All seems to be fine now. - Am I the only one who was bitten by this, or did I do something wrong...?
Title: Re: SMF 2.0.14 Released
Post by: Illori on May 21, 2017, 10:58:23 AM
From the first post:

Please do not use this topic for support requests.
You will receive a much quicker and better response by posting in the 2.0.x Support Board (http://www.simplemachines.org/community/index.php?board=147.0) ...
Title: Re: SMF 2.0.14 Released
Post by: Hurga on May 21, 2017, 07:50:10 PM
Read more closely. Since all is fine (for me) now, that was somewhat obviously not a support request. It's more like a heads-up that there might be circumstances under which the 2.0.14 update has issues. Do with it whatever you want.
Title: Re: SMF 2.0.14 Released
Post by: Shambles on May 22, 2017, 03:03:25 AM
Quote from: Hurga
... that was somewhat obviously not a support request ...

You asked for confirmation that what you did was correct. That's a support request :)


Quote from: Hurga
...Am I the only one who was bitten by this, or did I do something wrong...?
Title: Re: SMF 2.0.14 Released
Post by: Joomlamz on May 22, 2017, 03:03:48 PM
yes
thank you
Nice work
Title: Re: SMF 2.0.14 Released
Post by: ian on May 23, 2017, 11:45:32 AM
Thanks for the update. Unfortunately, it stopped my forum working. After upgrading from 2.0.13, every request failed with a "Function name must be a string..." error message on this line in the reloadSettings function in Load.php:

Code: [Select]
$request = $smcFunc['db_query']('', '
SELECT variable, value
FROM {db_prefix}settings',
array(
)
);

The problem seems to be caused by the new SMF_DB_MySQLi class, which is setting db_query to an array instead of a string. I have disabled that class in smf_db_initiate for now, and the forum is working again.

I'm running Centos 6 with its default PHP 5.3.3. Perhaps the new SMF_DB_MySQLi class's smcFunc settings require a higher PHP version?
Title: Re: SMF 2.0.14 Released
Post by: Arantor on May 23, 2017, 11:49:43 AM
Yes, it requires PHP 5.4.
Title: Re: SMF 2.0.14 Released
Post by: Colin on May 23, 2017, 06:57:42 PM
If you need more help feel free to create a topic. Simply ask your host to upgrade to PHP 5.4 or higher.
Title: Re: SMF 2.0.14 Released
Post by: digger on May 24, 2017, 08:59:52 AM
Why upgrade script says that release requires at least PHP 5.3 if it really need PHP 5.4 to work? Everyone who updated forum with php 5.3 get it broken after.
Title: Re: SMF 2.0.14 Released
Post by: Illori on May 24, 2017, 09:03:24 AM
a mistake was made, we are aware of it.
Title: Re: SMF 2.0.14 Released
Post by: ian on May 24, 2017, 12:12:19 PM
Disabling the SMF_DB_MySQLi class seems to be working fine. Am I missing anything important by not having PHP 5.4? If not, I hope the next SMF update will restore support for lower PHP versions by disabling the SMF_DB_MySQLi class itself if the version is lower than 5.4.

Code: [Select]
// Checck for MySQLi first...
if (function_exists('mysqli_connect') && @version_compare(PHP_VERSION, '5.4') >= 0)
Title: Re: SMF 2.0.14 Released
Post by: vbgamer45 on May 24, 2017, 12:17:08 PM
yes security updates site speed are huge benifits for new php versions
Title: Re: SMF 2.0.14 Released
Post by: Colin on May 24, 2017, 12:26:42 PM
Disabling the SMF_DB_MySQLi class seems to be working fine. Am I missing anything important by not having PHP 5.4? If not, I hope the next SMF update will restore support for lower PHP versions by disabling the SMF_DB_MySQLi class itself if the version is lower than 5.4.

Code: [Select]
// Checck for MySQLi first...
if (function_exists('mysqli_connect') && @version_compare(PHP_VERSION, '5.4') >= 0)

Don't plan on it. Please update your PHP.
Title: Re: SMF 2.0.14 Released
Post by: Arantor on May 24, 2017, 12:47:08 PM
Quote
Am I missing anything important by not having PHP 5.4?

Only that your server is fundamentally insecure as PHP themselves don't support PHP 5.4, or 5.5 for that matter.
Title: Re: SMF 2.0.14 Released
Post by: ian on May 24, 2017, 01:06:30 PM
RHEL/Centos 6 is still supported by Redhat, who backport security fixes to their packages*. RHEL/Centos 6 is still used by a lot of people, so I don't think it would be a good idea to drop support for PHP versions below 5.4 unless there is no way around it. In this case, there does seem to be a way around it (disable the SMF_DB_MySQLi class for lower PHP versions).

* https://access.redhat.com/security/updates/backporting
Title: Re: SMF 2.0.14 Released
Post by: vbgamer45 on May 24, 2017, 01:18:25 PM
It's a tough call to make on one hand support old software that is years outdate. Or we can use newer PHP versions which has some better functions which can lead to better designed forum software long term.
Title: Re: SMF 2.0.14 Released
Post by: 青山 素子 on May 25, 2017, 12:20:16 AM
If you're stuck on EL6 and can't update, I recommend using the IUS repositories (https://ius.io/). They are managed by a solid community and do not replace system packages, but conflict with them so you have to actively replace the old ones. Just install the repo and replace the php packages with the php56u, php70u, or php71u ones.

If you don't want to replace system packages, you could look at Software Collections (https://www.softwarecollections.org/), a project managed by RedHat to allow side-by-side installs of different software versions. It's a bit more complex, but could work very well if you can't replace system PHP packages.
Title: Re: SMF 2.0.14 Released
Post by: bobtorre on May 25, 2017, 09:18:08 AM
wooohooo .... It crashed my forum.... happy with 2.0.13 ... and will be so for a while longer. :) ..  maybe 2.0.15 for me.
Title: Re: SMF 2.0.14 Released
Post by: Br0ski47 on May 25, 2017, 09:39:19 AM
Thank you so very much for this update. You guys are the best of the best.
For all those who might want to know... Softaculous did not automatically update.
System sent an email.
Had to do manually in the Softaculous backend.
*Remember to delete your update.php

Title: Re: SMF 2.0.14 Released
Post by: Alain Rheault on May 25, 2017, 11:50:20 AM
 8)   many Thanks  for this udge upgrade  to give us the OK!  to move our server to PHP 7   :) 
Title: Re: SMF 2.0.14 Released
Post by: Testgele on May 25, 2017, 07:35:34 PM
Thank you very much guys for this new awesome update.
Title: Re: SMF 2.0.14 Released
Post by: Irisado on May 26, 2017, 11:34:30 AM
Please do not use this topic for support requests.
You will receive a much quicker and better response by posting in the 2.0.x Support Board (http://www.simplemachines.org/community/index.php?board=147.0).

N.B. This was posted in response to a message asking for support which has since been removed.
Title: Re: SMF 2.0.14 Released
Post by: Colin on May 26, 2017, 11:43:23 AM
wooohooo .... It crashed my forum.... happy with 2.0.13 ... and will be so for a while longer. :) ..  maybe 2.0.15 for me.

Make a post a support post and we can take a look.
Title: Re: SMF 2.0.14 Released
Post by: Arantor on May 26, 2017, 11:45:56 AM
It'll be the lack of PHP 5.4... again.