In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1225 [In-Portal CMS] Install / Upgrages bug report always 2012-03-14 12:24 2012-07-25 05:31
alex  
alex  
normal  
closed 5.2.0-B2  
fixed  
 
none 5.2.0-B3  
https://groups.google.com/d/topic/in-portal-bugs/YfiPuEurEg0/discussion
Adds more restrictions on server configuration before allowing install/upgrade
1
0001225: Additional checks to perform on "System Requirements" step before installation/upgrade
Some things popped up when Dmitry was installing In-Portal 5.2.0-B2 on beta server:

1.minimal version of PHP should be lowered to 5.2.0, since not all hosting companies have PHP 5.3 up and running on their server (despite speed improvements in existing PHP scripts)

2. we need to check for SPL (standard php library) extension presence (since we use it), which is enabled by default, however you can turn it off during PHP compilation time

3. check, that we can set both init_set('display_errors') and error_reporting settings, since when we can't do it any Fatal error that can popup won't be recorded in server log and won't be displayed at all; we of course disabled error reporting by default

4. check JPEG availability using function_exists('imagejpeg') and not by searching JPEG work inside GD supported library list

5. find and replace all places that use:
$count = $node->count(); // PHP > 5.3
with:
$count = count($node->children()); // PHP < 5.3

Add TODO comment where we specify to use 5.3+ version once we switch to it.
child of 0000413closed  (5.2.0)alex System Requirements Check before In-Portal Installation 
patch more_checks_in_system_requirements_step.patch (5,605) 2012-03-26 11:50
http://tracker.in-portal.org/file_download.php?file_id=1570&type=bug
Issue History
2012-07-25 05:31 alex Note Added: 0004950
2012-07-25 05:31 alex Status resolved => closed
2012-03-26 11:52 alex Changeset attached 5.2.x r15237
2012-03-26 11:52 alex Note Added: 0004519
2012-03-26 11:52 alex Status reviewed and tested => resolved
2012-03-26 11:52 alex Fixed in Version => 5.2.0-B3
2012-03-26 11:52 alex Resolution open => fixed
2012-03-26 11:52 alex Assigned To !COMMUNITY => alex
2012-03-26 11:50 alex Note Added: 0004518
2012-03-26 11:50 alex Status needs testing => reviewed and tested
2012-03-26 11:50 alex Assigned To => !COMMUNITY
2012-03-26 11:50 alex Developer => alex
2012-03-26 11:50 alex Status active => needs testing
2012-03-26 11:50 alex File Added: more_checks_in_system_requirements_step.patch
2012-03-19 11:27 Dmitry Description Updated bug_revision_view_page.php?rev_id=984#r984
2012-03-14 12:27 alex Relationship added child of 0000413
2012-03-14 12:26 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/YfiPuEurEg0/discussion
2012-03-14 12:24 alex New Issue
2012-03-14 12:24 alex Change Log Message => Adds more restrictions on server configuration before allowing install/upgrade
2012-03-14 12:24 alex Estimate Points => 1

Notes
(0004518)
alex   
2012-03-26 11:50   
Will test all together later.
(0004519)
alex   
2012-03-26 11:52   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001225: Additional checks to perform on "System Requirements" step before installation/upgrade
(0004950)
alex   
2012-07-25 05:31   
Since 5.2.0 version was released.