diff --git a/phpBB/install/install.php b/phpBB/install/install.php
index de84110bb8..a7f7691876 100644
--- a/phpBB/install/install.php
+++ b/phpBB/install/install.php
@@ -403,8 +403,9 @@ if ($stage == 0)
foreach ($locations as $location)
{
- if (@file_exists($location . 'convert' . $exe) && @is_readable($location . 'convert' . $exe) && @filesize($location . 'convert' . $exe) > 80000)
+ if (@file_exists($location . 'convert' . $exe) && @is_readable($location . 'convert' . $exe) && @filesize($location . 'convert' . $exe) > 30000)
{
+ print $location;
$img_imagick = str_replace('\\', '/', $location);
continue;
}
@@ -1002,7 +1003,7 @@ if ($stage == 2)
@@ -1467,4 +1468,4 @@ function connect_check_db($error_connect, &$error, &$dbms, &$table_prefix, &$dbh
// FUNCTIONS
// ---------
-?>
\ No newline at end of file
+?>
diff --git a/phpBB/install/schemas/mysql_schema.sql b/phpBB/install/schemas/mysql_schema.sql
index 175df87886..7a9a264a8c 100644
--- a/phpBB/install/schemas/mysql_schema.sql
+++ b/phpBB/install/schemas/mysql_schema.sql
@@ -22,7 +22,7 @@ CREATE TABLE phpbb_attachments (
thumbnail tinyint(1) DEFAULT '0' NOT NULL,
PRIMARY KEY (attach_id),
KEY filetime (filetime),
- KEY post_id (post_id),
+ KEY post_msg_id (post_msg_id),
KEY topic_id (topic_id),
KEY poster_id (poster_id),
KEY physical_filename (physical_filename(10)),