PHP 5.6.3
Brought to you by:
jberanek
A great script used extensively with no issues until now.
I have recently upgraded Joomla 3 and to PHP 5.6.3 and have lost functionality as the variable information is not passes across with the URL as a variable. I understand this is not allowed in this version of PHP. Is there anyway around this?
Matt.
I am running PHP 5.6.5 and have no issues. What is it that you understand is not allowed in PHP 5.6.3? Could it be the integration with Joomla that is causing the problem?
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
I have tried running it outside of joomla and it is still the same. The main page will display but if you select a date either by the goto button or calendar selector the day selected remains the same so I guess that the variable information is not being passed across. It could be a setting I am missing in my php.ini file. Register Globals on is no longer available I thought it could be that, but if you are running it ok I need to look further.
I can only add that I have no issues as described running with PHP 5.6.1.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
It was the Register Globals. I used the script as show on this link and added the include on each of the scripts. All works well now. https://mrphp.com.au/blog/how-to-enable-register-globals-in-php-5/
I don't quite understand this. MRBS doesn't use register_globals. Have you made some modifications to MRBS?
Agreed Campbell, also further confused, as the PHP site
http://php.net/manual/en/security.globals.php
states:
Last edit: John Beranek 2015-05-15
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Thanks for your comments.
I am not sure why it works but it does, I tried on two different web servers and neither worked until the additional script was added. I had other scripts that where written along time ago that made use of register_globals on an earlier version of PHP so added the script to those and all worked fine so it was just a longshot to try it on MRBS. I will carry on as it is and see if that causes anymore issues, but happy it's working now.
OK, one last bit of feedback. MRBS expects all the superglobals to be available, so don't go changing the value of the php.ini directive 'variables_order'.
http://php.net/manual/en/ini.core.php#ini.variables-order
Last edit: John Beranek 2015-05-27