Index: trunk/admin/install.php =================================================================== diff -u -r616 -r640 --- trunk/admin/install.php (.../install.php) (revision 616) +++ trunk/admin/install.php (.../install.php) (revision 640) @@ -284,8 +284,17 @@ } $general_error .= "In-portal's Image Upload directory must be writable (".$pathtoroot."kernel/images/)."; //die(); - } + } + if(!is_writable($pathtoroot."kernel/images/pending")) + { + if ($general_error != '') { + $general_error .= '

'; + } + $general_error .= "In-portal's Pending Image Upload directory must be writable (".$pathtoroot."kernel/images/pending)."; + //die(); + } + if(!is_writable($pathtoroot."admin/backupdata/")) { if ($general_error != '') { @@ -844,6 +853,8 @@ if(is_array($file)) { move_uploaded_file($file["tmp_name"],$pathtoroot."themes/tmp.lic"); + @chmod($pathtoroot."themes/tmp.lic", 0666); + $fp = @fopen($pathtoroot."themes/tmp.lic","rb"); if($fp) {