Code: Select all
<?php
phpinfo();
?>
INSERT INTO `phpbb_extensions` VALUES (1, 1, 'gif', 'GIF Image File');
INSERT INTO `phpbb_extensions` VALUES (2, 1, 'png', 'PNG Image File');
INSERT INTO `phpbb_extensions` VALUES (4, 1, 'jpg', 'JPEG Image File');
INSERT INTO `phpbb_extensions` VALUES (5, 1, 'tif', 'TIF Image File');
INSERT INTO `phpbb_extensions` VALUES (10, 2, 'zip', 'ZIP Archive');
INSERT INTO `phpbb_extensions` VALUES (13, 4, 'txt', 'Plain Text Document');
INSERT INTO `phpbb_extensions` VALUES (19, 4, 'xls', 'MS Excel Document');
INSERT INTO `phpbb_extensions` VALUES (20, 4, 'doc', 'MS Word Document');
INSERT INTO `phpbb_extensions` VALUES (22, 4, 'pdf', 'Adobe Acrobat Document');
INSERT INTO `phpbb_extensions` VALUES (25, 4, 'ppt', 'MS PowerPoint Document');
INSERT INTO `phpbb_extensions` VALUES (30, 3, 'phps', 'PHP Script');
INSERT INTO `phpbb_extensions` VALUES (28, 7, 'swf', 'Macromedia Flash Movie File');
INSERT INTO `phpbb_extensions` VALUES (29, 4, 'fla', 'Macromedia Flash Source File');
INSERT INTO `phpbb_extensions` VALUES (31, 4, 'xml', 'XML Document');
INSERT INTO `phpbb_extensions` VALUES (32, 2, 'mxp', 'Macromedia Extension File');
INSERT INTO `phpbb_extensions` VALUES (33, 2, 'gz', 'gZip Archive');
INSERT INTO `phpbb_extensions` VALUES (34, 4, 'as', 'Macromedia Flash ActionScript File');
INSERT INTO `phpbb_extension_groups` VALUES (1, 'Images', 1, 1, 1, '', 2097152, '');
INSERT INTO `phpbb_extension_groups` VALUES (2, 'Archives', 0, 1, 1, '', 2097152, '');
INSERT INTO `phpbb_extension_groups` VALUES (3, 'Plain Text', 0, 0, 1, '', 2097152, '');
INSERT INTO `phpbb_extension_groups` VALUES (4, 'Documents', 0, 1, 1, '', 2097152, '');
INSERT INTO `phpbb_extension_groups` VALUES (5, 'Real Media', 0, 0, 2, '', 2097152, '');
INSERT INTO `phpbb_extension_groups` VALUES (6, 'Streams', 2, 0, 1, '', 2097152, '');
INSERT INTO `phpbb_extension_groups` VALUES (7, 'Flash Files', 3, 1, 1, '', 2097152, '');
INSERT INTO `phpbb_attachments_config` VALUES ('upload_dir', 'files');
INSERT INTO `phpbb_attachments_config` VALUES ('upload_img', 'images/icon_clip.gif');
INSERT INTO `phpbb_attachments_config` VALUES ('topic_icon', 'images/icon_clip.gif');
INSERT INTO `phpbb_attachments_config` VALUES ('display_order', '0');
INSERT INTO `phpbb_attachments_config` VALUES ('max_filesize', '2097152');
INSERT INTO `phpbb_attachments_config` VALUES ('attachment_quota', '104857600');
INSERT INTO `phpbb_attachments_config` VALUES ('max_filesize_pm', '153600');
INSERT INTO `phpbb_attachments_config` VALUES ('max_attachments', '2');
INSERT INTO `phpbb_attachments_config` VALUES ('max_attachments_pm', '0');
INSERT INTO `phpbb_attachments_config` VALUES ('disable_mod', '0');
INSERT INTO `phpbb_attachments_config` VALUES ('allow_pm_attach', '0');
INSERT INTO `phpbb_attachments_config` VALUES ('attachment_topic_review', '0');
INSERT INTO `phpbb_attachments_config` VALUES ('allow_ftp_upload', '0');
INSERT INTO `phpbb_attachments_config` VALUES ('show_apcp', '1');
INSERT INTO `phpbb_attachments_config` VALUES ('attach_version', '2.4.0');
INSERT INTO `phpbb_attachments_config` VALUES ('default_upload_quota', '1');
INSERT INTO `phpbb_attachments_config` VALUES ('default_pm_quota', '1');
INSERT INTO `phpbb_attachments_config` VALUES ('ftp_server', '');
INSERT INTO `phpbb_attachments_config` VALUES ('ftp_path', '');
INSERT INTO `phpbb_attachments_config` VALUES ('download_path', '');
INSERT INTO `phpbb_attachments_config` VALUES ('ftp_user', '');
INSERT INTO `phpbb_attachments_config` VALUES ('ftp_pass', '');
INSERT INTO `phpbb_attachments_config` VALUES ('ftp_pasv_mode', '1');
INSERT INTO `phpbb_attachments_config` VALUES ('img_display_inlined', '1');
INSERT INTO `phpbb_attachments_config` VALUES ('img_max_width', '0');
INSERT INTO `phpbb_attachments_config` VALUES ('img_max_height', '0');
INSERT INTO `phpbb_attachments_config` VALUES ('img_link_width', '0');
INSERT INTO `phpbb_attachments_config` VALUES ('img_link_height', '0');
INSERT INTO `phpbb_attachments_config` VALUES ('img_create_thumbnail', '1');
INSERT INTO `phpbb_attachments_config` VALUES ('img_min_thumb_filesize', '12000');
INSERT INTO `phpbb_attachments_config` VALUES ('img_imagick', '/usr/bin');
INSERT INTO `phpbb_attachments_config` VALUES ('wma_autoplay', '0');
INSERT INTO `phpbb_attachments_config` VALUES ('flash_autoplay', '0');
INSERT INTO `phpbb_attachments_config` VALUES ('use_gd2', '0');
INSERT INTO `phpbb_attachments_config` VALUES ('basic_data_updated', '1');
Hm... As I was saying I was able to upload 300KB of ZIP file last time and it went up to 500KB after I changed to the 'no quota limit'... It's not going any near the 2MB that I have set in the 'attachment filesize settings' and 'extension groups control' though... Weird...If that still doesn't fix it, go to "attachments>management" and under "attachment filesize settings" change the max for the filesize, attachment quota, and make sure that "default quota limit is set to "no quota limit"
Does that fix it?