Incorrect check for "variables_order" setting during installation

5 views
Skip to first unread message

Alexander Obuhovich

unread,
Sep 10, 2012, 4:07:08 AM9/10/12
to Bugs In-Portal
We recently (in 5.2.0) introduced system setting step where PHP settings are checked to ensure that In-Portal can work on a given server.

1. I've noticed that we are checking if "variables_order" setting contains "GPC" string. But what we should be checking if each of "G", "P" and "C" letters are present in that variable no matter of their order.
Also "S" letter (for $_SERVER) presence should be checked as well.

2. Then additional check must be added for "request_order" setting. If it's value not empty, then check for "GP" presence in it. If it's value is empty, then check for "GP" presence in "variables_order" instead.


--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Dmitry A.

unread,
Oct 19, 2012, 12:18:46 AM10/19/12
to in-port...@googlegroups.com
Hi Alex,


Thank you for detailed info on this.

Please proceed with this task / patch.


DA

Alexander Obuhovich

unread,
Oct 22, 2012, 12:16:09 PM10/22/12
to in-port...@googlegroups.com
Here is the task: http://tracker.in-portal.org/view.php?id=1419


--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To view this discussion on the web visit https://groups.google.com/d/msg/in-portal-bugs/-/q4gktqOnZzUJ.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Alexander Obuhovich

unread,
Oct 23, 2012, 11:51:50 AM10/23/12
to in-port...@googlegroups.com
Here is the patch.

Ready for testing.
sys_requirement_desc_fix.patch

Alexander Obuhovich

unread,
Oct 23, 2012, 11:59:48 AM10/23/12
to in-port...@googlegroups.com
Here is screenshot of "System Requirements" step now. I think it looks much more understandable, then before.
sys_requirements_step_w_description.png

Phil

unread,
Oct 23, 2012, 12:26:37 PM10/23/12
to in-port...@googlegroups.com
Hi,
why not having system requ. explanations as a popup hint, near each line, instead of this long right column list?
just an idea to improve looking :)
p


Envoyé avec Sparrow

Pièces jointes :
- sys_requirements_step_w_description.png

Dmitry A.

unread,
Oct 24, 2012, 2:02:57 AM10/24/12
to in-port...@googlegroups.com
Thank you Alex - you've done amazing job with translating.

A few very minor adjustments, but overall quality is very good - thanks again!

DA

Alexander Obuhovich

unread,
Oct 24, 2012, 10:56:10 AM10/24/12
to in-port...@googlegroups.com
Yes, we can do as hints too. Just need to imagine how these hints might look like, because we don't use hints at all during installation.


To view this discussion on the web visit https://groups.google.com/d/msg/in-portal-bugs/-/LHO25SGgvEcJ.

To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Phil

unread,
Oct 24, 2012, 12:12:43 PM10/24/12
to in-port...@googlegroups.com
like hints in admin, with blue rounded question mark, or just a link to hover "read more...".


Envoyé avec Sparrow

Alexander Obuhovich

unread,
Nov 2, 2012, 6:25:38 AM11/2/12
to Bugs In-Portal
Since we use same approach for all description on all installation wizard step, then it would be time consuming to move all descriptions into hints right now.

If you have time you of course can do that by moving texts from "/core/install/steps_db.xml" file into corresponding templates from "/core/install/step_templates/" folder.
Reply all
Reply to author
Forward
0 new messages