? ? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
20 Mar 2017

Pull Request for Issue #14820 .

Summary of Changes

We have code in 3.7 still that runs postinstall and checks that you are on a version of php > 5.3.10 and if not gives the following message

Your PHP Version Will Be Unsupported in Joomla! 3.3

Beginning with Joomla! 3.3, the version of PHP this site is using will no longer be supported. Joomla! 3.3 will require at least <a href="QQ"https://community.joomla.org/blogs/leadership/1798-raising-the-bar-on-security.html"_QQ_">PHP version 5.3.10 in order to provide enhanced security features to its users."

This is now redundant and both the strings and the code \administrator\components\com_admin\postinstall\phpversion.php can be removed now as it is no longer possible to ever get that scenario

This PR removes the unused check and deprecates the language strings (in accordance with current language string policy)

avatar brianteeman brianteeman - open - 20 Mar 2017
avatar brianteeman brianteeman - change - 20 Mar 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Mar 2017
Category Administration com_admin Language & Strings
avatar brianteeman
brianteeman - comment - 22 Mar 2017

This PR has been approved by two people - should it not be RTC?

avatar wilsonge
wilsonge - comment - 1 Apr 2017

Approval doesn't mean testing. It's effectively code review which as you like to say is not the same thing as a test (and given half my contributions probably correctly - so no it still needs actual tests)

avatar brianteeman
brianteeman - comment - 1 Apr 2017

It will be very hard to do anything other than a code review as the code is never used

avatar Quy
Quy - comment - 17 Apr 2017

@wilsonge How to test this?

When I attempted to install Joomla 3.6.5 on PHP 5.3.3, I got this error message so installation halted:
Your host needs to use PHP 5.3.10 or higher to run this version of Joomla!

With the following code at the beginning in index.php, administrator\index.php, and installation\index.php. Joomla won't run and you won't see the postinstall message about Joomla! 3.3.

define('JOOMLA_MINIMUM_PHP', '5.3.10');

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<'))
{
	die('Your host needs to use PHP ' . JOOMLA_MINIMUM_PHP . ' or higher to run this version of Joomla!');
}
avatar brianteeman
brianteeman - comment - 17 Apr 2017

@quy you cant test it as its not used

avatar wilsonge wilsonge - change - 17 Apr 2017
Labels Added: ? ?
avatar wilsonge wilsonge - change - 17 Apr 2017
Milestone Added:
Status Pending Ready to Commit
Labels
avatar wilsonge
wilsonge - comment - 17 Apr 2017

RTC for 3.7.1


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14821.

avatar brianteeman brianteeman - change - 18 Apr 2017
Labels Added: ?
avatar brianteeman
brianteeman - comment - 21 May 2017

conflict resolved no need for new tests

avatar zero-24
zero-24 - comment - 21 May 2017

@brianteeman i have just fixed the script.php files

avatar rdeutz rdeutz - change - 22 May 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-22 18:55:42
Closed_By rdeutz
avatar rdeutz rdeutz - close - 22 May 2017
avatar rdeutz rdeutz - merge - 22 May 2017
avatar brianteeman
brianteeman - comment - 22 May 2017

Thanks

Add a Comment

Login with GitHub to post a comment