Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.6.11, 3.7.9, 3.8.6, 3.9.0
-
None
-
Operating System: NA
PHP Version: NA
Database and version: NA
Browser (and version): Na
Description
This page http://ez.no/doc/ez_publish/technical_manual/3_8/installation/normal_installation/requirements_for_doing_a_normal_installation#eztoc23485_2_1 states that <i>eZ publish needs at least 64 MB in order to complete the setup wizard.</i> yet code in index.php set the memory_limit value to 42Mb if it is lower.
http://pubsvn.ez.no/nextgen/trunk/index.php
$memLimit = ini_get( 'memory_limit' ); if ($memLimit != '') { switch ( $memLimit{strlen( $memLimit ) - 1} ) { case 'G': $memLimit *= 1024; case 'M': $memLimit *= 1024; case 'K': $memLimit *= 1024; } if ( $memLimit != -1 && $memLimit < 44040192) /* 42*1024*1024 */ { @ini_set( 'memory_limit', '42M' ); } }
If there is a 64Mb requirment shouldn't this code be setting 'memory_limit' to 64Mb instead of 42Mb?
Cheers
Bruce