[外掛]不能安裝網路相簿

phpBB Installation & Usage Support
phpBB 2 安裝於各類型作業平台之問題討論;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
主題已鎖定
hello kitty
星球公民
星球公民
文章: 116
註冊時間: 2003-12-26 08:33

[外掛]不能安裝網路相簿

文章 hello kitty »

AppServ 2.3.0+php2.06+attach_mod+exobud_mp+chatbox_mod+水怪 RPG 完整安裝版+在系統管理台增加會員列表\r
windows pro

小妹將phpbb_root下的所有files複製落phpbb2裹之後將album_db_install放落phpbb2之後執行SQL,但好像少了files?

代碼: 選擇全部

您的SQL語法已順利執行
 
SQL 語法 : [編輯] [建立 PHP 程式碼]
CREATE TABLE phpbb_album(
pic_id int( 11 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
pic_filename varchar( 255 ) NOT NULL ,
pic_thumbnail varchar( 255 ) ,
pic_title varchar( 255 ) NOT NULL ,
pic_desc text,
pic_user_id mediumint( 8 ) NOT NULL ,
pic_username varchar( 32 ) ,
pic_user_ip char( 8 ) NOT NULL DEFAULT '0',
pic_time int( 11 ) UNSIGNED NOT NULL ,
pic_cat_id mediumint( 8 ) UNSIGNED NOT NULL DEFAULT '1',
pic_view_count int( 11 ) UNSIGNED NOT NULL DEFAULT '0',
pic_lock tinyint( 3 ) NOT NULL DEFAULT '0',
pic_approval tinyint( 3 ) NOT NULL DEFAULT '1',
PRIMARY KEY ( pic_id ) ,
KEY pic_cat_id( pic_cat_id ) ,
KEY pic_user_id( pic_user_id ) ,
KEY pic_time( pic_time ) 
);# MySQL 傳回的查詢結果為空 (原因可能為:沒有找到符合條件的記錄)
CREATE TABLE phpbb_album_rate(
rate_pic_id int( 11 ) UNSIGNED NOT NULL ,
rate_user_id mediumint( 8 ) NOT NULL ,
rate_user_ip char( 8 ) NOT NULL ,
rate_point tinyint( 3 ) UNSIGNED NOT NULL ,
KEY rate_pic_id( rate_pic_id ) ,
KEY rate_user_id( rate_user_id ) ,
KEY rate_user_ip( rate_user_ip ) ,
KEY rate_point( rate_point ) 
);# MySQL 傳回的查詢結果為空 (原因可能為:沒有找到符合條件的記錄)
CREATE TABLE phpbb_album_comment(
comment_id int( 11 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
comment_pic_id int( 11 ) UNSIGNED NOT NULL ,
comment_user_id mediumint( 8 ) NOT NULL ,
comment_username varchar( 32 ) ,
comment_user_ip char( 8 ) NOT NULL ,
comment_time int( 11 ) UNSIGNED NOT NULL ,
comment_text TEXT,
comment_edit_time int( 11 ) UNSIGNED,
comment_edit_count smallint( 5 ) UNSIGNED NOT NULL DEFAULT '0',
comment_edit_user_id mediumint( 8 ) ,
PRIMARY KEY ( comment_id ) ,
KEY comment_pic_id( comment_pic_id ) ,
KEY comment_user_id( comment_user_id ) ,
KEY comment_user_ip( comment_user_ip ) ,
KEY comment_time( comment_time ) 
);# MySQL 傳回的查詢結果為空 (原因可能為:沒有找到符合條件的記錄)
CREATE TABLE phpbb_album_cat(
cat_id mediumint( 8 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
cat_title varchar( 255 ) NOT NULL ,
cat_desc text,
cat_order mediumint( 8 ) NOT NULL ,
cat_view_level tinyint( 3 ) NOT NULL DEFAULT '-1',
cat_upload_level tinyint( 3 ) NOT NULL DEFAULT '0',
cat_rate_level tinyint( 3 ) NOT NULL DEFAULT '0',
cat_comment_level tinyint( 3 ) NOT NULL DEFAULT '0',
cat_edit_level tinyint( 3 ) NOT NULL DEFAULT '0',
cat_delete_level tinyint( 3 ) NOT NULL DEFAULT '2',
cat_view_groups varchar( 255 ) ,
cat_upload_groups varchar( 255 ) ,
cat_rate_groups varchar( 255 ) ,
cat_comment_groups varchar( 255 ) ,
cat_edit_groups varchar( 255 ) ,
cat_delete_groups varchar( 255 ) ,
cat_moderator_groups varchar( 255 ) ,
cat_approval tinyint( 3 ) NOT NULL DEFAULT '0',
PRIMARY KEY ( cat_id ) ,
KEY cat_order( cat_order ) 
);# MySQL 傳回的查詢結果為空 (原因可能為:沒有找到符合條件的記錄)
CREATE TABLE phpbb_album_config(
config_name varchar( 255 ) NOT NULL ,
config_value varchar( 255 ) NOT NULL ,
PRIMARY KEY ( config_name ) 
);# MySQL 傳回的查詢結果為空 (原因可能為:沒有找到符合條件的記錄)
INSERT INTO phpbb_album_config
VALUES (
'max_pics', '1024'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'user_pics_limit', '50'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'mod_pics_limit', '250'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'max_file_size', '128000'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'max_width', '800'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'max_height', '600'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'rows_per_page', '3'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'cols_per_page', '4'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'fullpic_popup', '1'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'thumbnail_quality', '50'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'thumbnail_size', '125'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'thumbnail_cache', '1'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'sort_method', 'pic_time'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'sort_order', 'DESC'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'jpg_allowed', '1'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'png_allowed', '1'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'gif_allowed', '0'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'desc_length', '512'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'hotlink_prevent', '0'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'hotlink_allowed', 'smartor.is-root.com'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'personal_gallery', '0'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'personal_gallery_private', '0'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'personal_gallery_limit', '10'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'personal_gallery_view', '-1'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'rate', '1'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'rate_scale', '10'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'comment', '1'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'gd_version', '1'
);# 影響列數: 1
INSERT INTO phpbb_album_config
VALUES (
'album_version', '.0.51'
);# 影響列數: 1
 

之後再執行http://xxx.xxx.xxx/phpBB2/album_db_install.php

出現了Can't open album_mysql.sql

大大可為小師妹解答嗎 :?:

先謝過大大喔 :-)
主題已鎖定

回到「phpBB 2 安裝與使用」