? ? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
20 Dec 2020

Clarify the message in accordance with php.net

pr for #30098

avatar brianteeman brianteeman - open - 20 Dec 2020
avatar brianteeman brianteeman - change - 20 Dec 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Dec 2020
Category Administration Language & Strings
avatar bonzani
bonzani - comment - 21 Dec 2020

I have tested this item successfully on 430cfd4


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

avatar bonzani bonzani - test_item - 21 Dec 2020 - Tested successfully
avatar Quy
Quy - comment - 21 Dec 2020

I have tested this item successfully on 430cfd4


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

avatar Quy Quy - test_item - 21 Dec 2020 - Tested successfully
avatar Quy Quy - change - 21 Dec 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 21 Dec 2020

RTC


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

avatar infograf768
infograf768 - comment - 22 Dec 2020

Looks like we have 2 contradictory tips here.

This patch
COM_INSTALLER_MSG_WARNINGS_SMALLUPLOADSIZEDESC="The maximum file size for uploads is set to less than 8MB which may impact on uploading large extensions. This is set in php.ini in both the upload_max_filesize and post_max_size settings of your PHP settings (located in php.ini and/or .htaccess file). The value of post_max_size must be greater than the value of upload_max_filesize."

but we have below:

COM_INSTALLER_MSG_WARNINGS_UPLOADBIGGERTHANPOSTDESC="The value of the upload_max_filesize in the php.ini file is greater than the post_max_size variable. The post_max_size variable will take precedence and block requests larger than it. This is generally a server misconfiguration when trying to increase upload sizes. Please increase the upload_max_filesize to at least match the post_max_size variable or vice versa."

avatar infograf768 infograf768 - change - 24 Dec 2020
Status Ready to Commit Pending
avatar infograf768
infograf768 - comment - 24 Dec 2020

Moved back to pending because of #31736 (comment)

avatar brianteeman
brianteeman - comment - 24 Dec 2020

Maybe I need coffee but where is the contradiction?

avatar infograf768
infograf768 - comment - 24 Dec 2020

The value of post_max_size must be greater than the value of upload_max_filesize.
vs
Please increase the upload_max_filesize to at least match the post_max_size variable or vice versa.

avatar chmst chmst - change - 26 Dec 2020
Status Pending Ready to Commit
avatar chmst
chmst - comment - 26 Dec 2020

RTC


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

avatar chmst chmst - change - 26 Dec 2020
Status Ready to Commit Pending
avatar chmst
chmst - comment - 26 Dec 2020

Back to pending.


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

avatar richard67
richard67 - comment - 2 Jan 2021

@brianteeman The contradiction is that COM_INSTALLER_MSG_WARNINGS_SMALLUPLOADSIZEDESC says that the value of post_max_size must be greater than the value of upload_max_filesize, while the other text COM_INSTALLER_MSG_WARNINGS_UPLOADBIGGERTHANPOSTDESC says "Please increase the upload_max_filesize to at least match the post_max_size variable or vice versa.", and that first includes that the upload_max_filesize should be greater than or equal to the post_max_size and then confuses with the "or vice versa".

Both is wrong. True is that the value of post_max_size must be greater than or equal to the value of upload_max_filesize. See here for an explanation: https://stackoverflow.com/questions/7754133/php-post-max-size-overrides-upload-max-filesize.

avatar brianteeman
brianteeman - comment - 2 Jan 2021

This PR is correct and follows the documentation at php.net. If you want to change the other string then that should be done in its own PR

avatar HLeithner
HLeithner - comment - 2 Jan 2021

Brians PR is correct but the description in "COM_INSTALLER_MSG_WARNINGS_UPLOADBIGGERTHANPOSTDESC" is wrong and should be fixed

avatar richard67 richard67 - change - 2 Jan 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 2 Jan 2021

RTC


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

avatar richard67 richard67 - change - 2 Jan 2021
Labels Added: ? ?
avatar infograf768
infograf768 - comment - 4 Jan 2021

Brians PR is correct but the description in "COM_INSTALLER_MSG_WARNINGS_UPLOADBIGGERTHANPOSTDESC" is wrong and should be fixed

RANT: It was so simple to do it here instead of a new PR!!! I can't believe this. I asked for it 13 days ago...

avatar infograf768 infograf768 - change - 5 Jan 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-01-05 07:30:48
Closed_By infograf768
Labels Added: ?
avatar infograf768 infograf768 - close - 5 Jan 2021
avatar infograf768 infograf768 - merge - 5 Jan 2021

Add a Comment

Login with GitHub to post a comment