? Success
Pull Request for # 6042

User tests: Successful: Unsuccessful:

avatar pcmitsis
pcmitsis
22 Feb 2015

Fix error message when phpinfo() is called on server that disables this function

I added a function called phpinfo_enabled at sysinfo.php (administrator/components/com_admin/models/sysinfo.php) which check if phpinfo is enabled on server. If it is enabled then getPHPInfo will execute normaly otherwise an empty string will return with no warning.

avatar pcmitsis pcmitsis - open - 22 Feb 2015
avatar joomla-cms-bot joomla-cms-bot - change - 22 Feb 2015
Labels Added: ?
avatar pcmitsis pcmitsis - reference | - 22 Feb 15
avatar pcmitsis
pcmitsis - comment - 22 Feb 2015

@zero-24 I fixed them both. I wasn't sure about the version that's why i had 3.5 ! Sorry for the inconvenience.

avatar zero-24
zero-24 - comment - 22 Feb 2015

@pcmitsis no Problem :smile:

avatar pcmitsis
pcmitsis - comment - 22 Feb 2015

@zero-24 Now it should be fine! :smile:

avatar zero-24
zero-24 - comment - 22 Feb 2015

@brianteeman can you have a look into the new string?

avatar pcmitsis
pcmitsis - comment - 22 Feb 2015

@zero-24 Thank you for your enhancement. Your logic about the issue was better than mine. As a newbie i didn't knew where should i add the error message. Thank you so much :smiley:

avatar zero-24 zero-24 - test_item - 22 Feb 2015 - Tested successfully
avatar zero-24
zero-24 - comment - 22 Feb 2015

@test success full with last commit. Thanks @pcmitsis


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6148.
avatar zero-24 zero-24 - change - 22 Feb 2015
Easy No Yes
avatar zero-24 zero-24 - change - 22 Feb 2015
Category Administration Language & Strings UI/UX
avatar brianteeman
brianteeman - comment - 23 Feb 2015

I have commented in line about the string. Both correcting the english of the string used and questioning if it is even the correct thing to say

avatar pcmitsis
pcmitsis - comment - 23 Feb 2015

@brianteeman should i change the string with a new commit with the one proposed?

avatar zero-24
zero-24 - comment - 23 Feb 2015

should i change the string with a new commit with the one proposed?

@pcmitsis yes. Brian is a en-GB native speaker and the lead of the en-GB language file WG.

Thanks @brianteeman

avatar pcmitsis pcmitsis - reference | - 23 Feb 15
avatar pcmitsis
pcmitsis - comment - 23 Feb 2015

Thank you @brianteeman and @zero-24 for your valuable help in this PR!

avatar brianteeman brianteeman - change - 23 Feb 2015
Rel_Number 0 6042
Relation Type Pull Request for
avatar larsomator
larsomator - comment - 24 Feb 2015

@pcmitsis Hi, thanks for your work with my bug report.

avatar pcmitsis
pcmitsis - comment - 24 Feb 2015

@larsomator you are welcome!

avatar zero-24
zero-24 - comment - 24 Feb 2015

@larsomator can you test @pcmitsis 's PR? So we can move this to RTC. (and maybe merge for 3.4.1 :smile: )

if you need help for testing the com_patchtester will help you:
https://docs.joomla.org/Testing_Joomla!_patches
https://docs.joomla.org/Component_Patchtester_for_Testers

Thanks!

avatar pcmitsis
pcmitsis - comment - 27 Feb 2015

@Kubik-Rubik thank you very much for your notes! I already changed the and to &&.Would you like me to do anything else?

avatar Kubik-Rubik
Kubik-Rubik - comment - 27 Feb 2015

@pcmitsis Thanks! Could you please change the function name from "phpinfo_enabled" to "phpinfoEnabled" (and of course the call of this function). Then we can merge you PR! :-)

avatar pcmitsis
pcmitsis - comment - 27 Feb 2015

@Kubik-Rubik done! Travis CI build is in progress :smile:

avatar Kubik-Rubik
Kubik-Rubik - comment - 27 Feb 2015

Thank you @pcmitsis!

avatar Kubik-Rubik Kubik-Rubik - change - 27 Feb 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-02-27 22:19:05
avatar Kubik-Rubik Kubik-Rubik - close - 27 Feb 2015
avatar Kubik-Rubik Kubik-Rubik - reference | - 27 Feb 15
avatar Kubik-Rubik Kubik-Rubik - merge - 27 Feb 2015
avatar Kubik-Rubik Kubik-Rubik - close - 27 Feb 2015
avatar Kubik-Rubik Kubik-Rubik - change - 27 Feb 2015
Milestone Added:
avatar pcmitsis pcmitsis - head_ref_deleted - 11 Mar 2015

Add a Comment

Login with GitHub to post a comment