Sida 3 av 3

Postat: 2006-03-20 15:02
av KimEdstrom
men bli inte förvånad och irreterad om jag kommer och ställer mer korkade frågor :P

Postat: 2006-03-20 15:03
av Holger
Det är inga korkade frågor! Fråga på du bara!

detta känns fel..

Postat: 2006-03-20 17:25
av KimEdstrom
bra bra.. varför säger den "Checking attachment mod storage directory:
files/ Directory found, Directory not writeable - please make sure you make it writeable before using the attachment mod"

(hela sidan:
Installing Attachment Mod

Checking attachment mod storage directory:
files/ Directory found, Directory not writeable - please make sure you make it writeable before using the attachment mod

Running :: CREATE TABLE phpbb_forumattachments_config ( config_name varchar(255) NOT NULL, config_value varchar(255) NOT NULL, PRIMARY KEY (config_name) ) -> COMPLETED

Running :: CREATE TABLE phpbb_forumforbidden_extensions ( ext_id mediumint(8) UNSIGNED NOT NULL auto_increment, extension varchar(100) NOT NULL, PRIMARY KEY (ext_id) ) -> COMPLETED

Running :: CREATE TABLE phpbb_forumextension_groups ( group_id mediumint(8) NOT NULL auto_increment, group_name char(20) NOT NULL, cat_id tinyint(2) DEFAULT '0' NOT NULL, allow_group tinyint(1) DEFAULT '0' NOT NULL, download_mode tinyint(1) UNSIGNED DEFAULT '1' NOT NULL, upload_icon varchar(100) DEFAULT '', max_filesize int(20) DEFAULT '0' NOT NULL, forum_permissions varchar(255) default '' NOT NULL, PRIMARY KEY group_id (group_id) ) -> COMPLETED

Running :: CREATE TABLE phpbb_forumextensions ( ext_id mediumint(8) UNSIGNED NOT NULL auto_increment, group_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, extension varchar(100) NOT NULL, comment varchar(100), PRIMARY KEY ext_id (ext_id) ) -> COMPLETED

Running :: CREATE TABLE phpbb_forumattachments_desc ( attach_id mediumint(8) UNSIGNED NOT NULL auto_increment, physical_filename varchar(255) NOT NULL, real_filename varchar(255) NOT NULL, download_count mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, comment varchar(255), extension varchar(100), mimetype varchar(100), filesize int(20) NOT NULL, filetime int(11) DEFAULT '0' NOT NULL, thumbnail tinyint(1) DEFAULT '0' NOT NULL, PRIMARY KEY (attach_id), KEY filetime (filetime), KEY physical_filename (physical_filename(10)), KEY filesize (filesize) ) -> COMPLETED

Running :: CREATE TABLE phpbb_forumattachments ( attach_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, privmsgs_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, user_id_1 mediumint(8) NOT NULL, user_id_2 mediumint(8) NOT NULL, KEY attach_id_post_id (attach_id, post_id), KEY attach_id_privmsgs_id (attach_id, privmsgs_id), KEY post_id (post_id), KEY privmsgs_id (privmsgs_id) ) -> COMPLETED

Running :: CREATE TABLE phpbb_forumquota_limits ( quota_limit_id mediumint(8) unsigned NOT NULL auto_increment, quota_desc varchar(20) NOT NULL default '', quota_limit bigint(20) unsigned NOT NULL default '0', PRIMARY KEY (quota_limit_id) ) -> COMPLETED

Running :: CREATE TABLE phpbb_forumattach_quota ( user_id mediumint(8) unsigned NOT NULL default '0', group_id mediumint(8) unsigned NOT NULL default '0', quota_type smallint(2) NOT NULL default '0', quota_limit_id mediumint(8) unsigned NOT NULL default '0', KEY quota_type (quota_type) ) -> COMPLETED

Running :: ALTER TABLE phpbb_forumforums ADD auth_download TINYINT(2) DEFAULT '0' NOT NULL -> COMPLETED

Running :: ALTER TABLE phpbb_forumauth_access ADD auth_download TINYINT(1) DEFAULT '0' NOT NULL -> COMPLETED

Running :: ALTER TABLE phpbb_forumposts ADD post_attachment TINYINT(1) DEFAULT '0' NOT NULL -> COMPLETED

Running :: ALTER TABLE phpbb_forumtopics ADD topic_attachment TINYINT(1) DEFAULT '0' NOT NULL -> COMPLETED

Running :: ALTER TABLE phpbb_forumprivmsgs ADD privmsgs_attachment TINYINT(1) DEFAULT '0' NOT NULL -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('upload_dir','files') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('upload_img','images/icon_clip.gif') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('topic_icon','images/icon_clip.gif') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('display_order','0') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('max_filesize','262144') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('attachment_quota','52428800') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('max_filesize_pm','262144') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('max_attachments','3') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('max_attachments_pm','1') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('disable_mod','0') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('allow_pm_attach','1') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('attachment_topic_review','0') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('allow_ftp_upload','0') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('show_apcp','0') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('attach_version','2.4.1') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('default_upload_quota', '0') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('default_pm_quota', '0') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('ftp_server','') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('ftp_path','') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('download_path','') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('ftp_user','') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('ftp_pass','') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('ftp_pasv_mode','1') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('img_display_inlined','1') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('img_max_width','0') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('img_max_height','0') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('img_link_width','0') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('img_link_height','0') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('img_create_thumbnail','0') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('img_min_thumb_filesize','12000') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('img_imagick', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('use_gd2','0') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('wma_autoplay','0') -> COMPLETED

Running :: INSERT INTO phpbb_forumattachments_config (config_name, config_value) VALUES ('flash_autoplay','0') -> COMPLETED

Running :: INSERT INTO phpbb_forumforbidden_extensions (ext_id, extension) VALUES (1,'php') -> COMPLETED

Running :: INSERT INTO phpbb_forumforbidden_extensions (ext_id, extension) VALUES (2,'php3') -> COMPLETED

Running :: INSERT INTO phpbb_forumforbidden_extensions (ext_id, extension) VALUES (3,'php4') -> COMPLETED

Running :: INSERT INTO phpbb_forumforbidden_extensions (ext_id, extension) VALUES (4,'phtml') -> COMPLETED

Running :: INSERT INTO phpbb_forumforbidden_extensions (ext_id, extension) VALUES (5,'pl') -> COMPLETED

Running :: INSERT INTO phpbb_forumforbidden_extensions (ext_id, extension) VALUES (6,'asp') -> COMPLETED

Running :: INSERT INTO phpbb_forumforbidden_extensions (ext_id, extension) VALUES (7,'cgi') -> COMPLETED

Running :: INSERT INTO phpbb_forumextension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (1,'Images',1,1,1,'',0,'') -> COMPLETED

Running :: INSERT INTO phpbb_forumextension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (2,'Archives',0,1,1,'',0,'') -> COMPLETED

Running :: INSERT INTO phpbb_forumextension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (3,'Plain Text',0,0,1,'',0,'') -> COMPLETED

Running :: INSERT INTO phpbb_forumextension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (4,'Documents',0,0,1,'',0,'') -> COMPLETED

Running :: INSERT INTO phpbb_forumextension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (5,'Real Media',0,0,2,'',0,'') -> COMPLETED

Running :: INSERT INTO phpbb_forumextension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (6,'Streams',2,0,1,'',0,'') -> COMPLETED

Running :: INSERT INTO phpbb_forumextension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (7,'Flash Files',3,0,1,'',0,'') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (1, 1,'gif', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (2, 1,'png', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (3, 1,'jpeg', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (4, 1,'jpg', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (5, 1,'tif', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (6, 1,'tga', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (7, 2,'gtar', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (8, 2,'gz', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (9, 2,'tar', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (10, 2,'zip', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (11, 2,'rar', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (12, 2,'ace', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (13, 3,'txt', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (14, 3,'c', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (15, 3,'h', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (16, 3,'cpp', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (17, 3,'hpp', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (18, 3,'diz', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (19, 4,'xls', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (20, 4,'doc', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (21, 4,'dot', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (22, 4,'pdf', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (23, 4,'ai', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (24, 4,'ps', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (25, 4,'ppt', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (26, 5,'rm', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (27, 6,'wma', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumextensions (ext_id, group_id, extension, comment) VALUES (28, 7,'swf', '') -> COMPLETED

Running :: INSERT INTO phpbb_forumquota_limits (quota_limit_id, quota_desc, quota_limit) VALUES (1, 'Low', 262144) -> COMPLETED

Running :: INSERT INTO phpbb_forumquota_limits (quota_limit_id, quota_desc, quota_limit) VALUES (2, 'Medium', 2097152) -> COMPLETED

Running :: INSERT INTO phpbb_forumquota_limits (quota_limit_id, quota_desc, quota_limit) VALUES (3, 'High', 5242880) -> COMPLETED


COMPLETE!

Attachment Mod Tables generated successfully.

NOW REMOVE THE INSTALL AND CONTRIB DIRECTORIES

Postat: 2006-03-20 17:36
av Holger
Checking attachment mod storage directory:
files/ Directory found, Directory not writeable - please make sure you make it writeable before using the attachment mod
Du måste sätta CHMOD777 på mappen "files" så att skriptet kan skriva till den mappen. Där lagras alla filer som bifogas i inläggen.

Postat: 2006-03-20 17:37
av KimEdstrom
hur gör jag det?

Bild

Postat: 2006-03-20 17:48
av KimEdstrom
ok löste det..
ska man ändra tillbaka sen?

Postat: 2006-03-20 19:49
av Holger
Nej, /files/ måste alltid ha CHMOD 777, annars skulle du vara tvungen att ändra CHMOD varje gång en fil laddas upp ... och det vill du ju inte, eller hur?