Bugs, that popup when installing 5.2.0-B2 on Beta server

Skip to first unread message

Alexander Obuhovich

Mar 14, 2012, 1:24:37 PM3/14/12
to In-Portal Bugs
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

Best Regards,


Dmitry A.

Mar 15, 2012, 6:23:33 PM3/15/12
to in-port...@googlegroups.com
Looking good - thanks Alex!


Dmitry A.

Mar 19, 2012, 12:29:52 PM3/19/12
to in-port...@googlegroups.com
Additional issue has been found in Beta 2 version related to incompatibility with PHP 5.2.x versions. It's causing a Fatal error during the installation (PHP 5.2.17) on the Step right after Set Root password:

We should find and replace all places that use:

$count = $node->count(); // PHP > 5.3

and replace with :

$count = count($node->children()); // PHP < 5.3 

Also we can add TODO comment where we specify to use 5.3+ version once we switch to it.

Reply all
Reply to author
0 new messages