[教學] attach_mod_v237 成功安裝法分享
版主: 版主管理群
Warning: Failed opening './../extension.inc' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/phpbb2/root/install/mod_table_inst.php on line 26
Warning: Failed opening './../common.' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/phpbb2/root/install/mod_table_inst.php on line 27
Fatal error: Call to undefined function: session_pagestart() in /var/www/html/phpbb2/root/install/mod_table_inst.php on line 29
這是我的問題= =我也安裝不起來....
Warning: Failed opening './../common.' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/phpbb2/root/install/mod_table_inst.php on line 27
Fatal error: Call to undefined function: session_pagestart() in /var/www/html/phpbb2/root/install/mod_table_inst.php on line 29
這是我的問題= =我也安裝不起來....
-
- 星球普通子民
- 文章: 1
- 註冊時間: 2004-08-20 09:47
安照樓主的指示,加上 install.txt, 終於花了半天才弄好,不過發覺有一個小問題:
在install.txt 寫著:
#
#-----[ OPEN ]---------------------------------------------
#
posting.php
#
#-----[ FIND ]---------------------------------------------
# around line 570
update_post_stats($mode, $post_data, $forum_id, $topic_id, $post_id, $user_id);
}
#
#-----[ AFTER, ADD ]---------------------------------------
# the Line have to be added AFTER the closing brace
$attachment_mod['posting']->insert_attachment($post_id);
但在樓主的貼子中並沒有這一句,反且是 :
# 約在第 584 行
user_notification($mode, $post_data, $post_info['topic_title'], $forum_id, $topic_id, $post_id, $notify_user);
}
#
#-----[ 在上面那行的下面增加 ]--------
# PS....是在大括號後唷...別弄錯了
$attachment_mod['posting']->insert_attachment ($post_id);
我有理冇理,兩行都加了,不知道是否因這個原因,我所上傳的圖片會在同一貼子內出現兩次。
另外,當我行\mod_table_inst.php 時,出現了以下的錯誤訊息:
Warning: main(): Unable to access ./../db/mysql4.php in /home/disk2/www.hokarking.com/phpbb2/includes/db.php on line 35
Warning: main(./../db/mysql4.php): failed to open stream: Invalid argument in /home/disk2/www.hokarking.com/phpbb2/includes/db.php on line 35
Warning: main(): Unable to access ./../db/mysql4.php in /home/disk2/www.hokarking.com/phpbb2/includes/db.php on line 35
Warning: main(./../db/mysql4.php): failed to open stream: No such file or directory in /home/disk2/www.hokarking.com/phpbb2/includes/db.php on line 35
Warning: main(): Failed opening './../db/mysql4.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home/disk2/www.hokarking.com/phpbb2/includes/db.php on line 35
Fatal error: Cannot instantiate non-existent class: sql_db in /home/disk2/www.hokarking.com/phpbb2/includes/db.php on line 60
我找了很久,終於發現原來我db folder 內的mysql4.php file名是大草,所以找不到,後來我把file名改回細草就順利完成。
在install.txt 寫著:
#
#-----[ OPEN ]---------------------------------------------
#
posting.php
#
#-----[ FIND ]---------------------------------------------
# around line 570
update_post_stats($mode, $post_data, $forum_id, $topic_id, $post_id, $user_id);
}
#
#-----[ AFTER, ADD ]---------------------------------------
# the Line have to be added AFTER the closing brace
$attachment_mod['posting']->insert_attachment($post_id);
但在樓主的貼子中並沒有這一句,反且是 :
# 約在第 584 行
user_notification($mode, $post_data, $post_info['topic_title'], $forum_id, $topic_id, $post_id, $notify_user);
}
#
#-----[ 在上面那行的下面增加 ]--------
# PS....是在大括號後唷...別弄錯了
$attachment_mod['posting']->insert_attachment ($post_id);
我有理冇理,兩行都加了,不知道是否因這個原因,我所上傳的圖片會在同一貼子內出現兩次。
另外,當我行\mod_table_inst.php 時,出現了以下的錯誤訊息:
Warning: main(): Unable to access ./../db/mysql4.php in /home/disk2/www.hokarking.com/phpbb2/includes/db.php on line 35
Warning: main(./../db/mysql4.php): failed to open stream: Invalid argument in /home/disk2/www.hokarking.com/phpbb2/includes/db.php on line 35
Warning: main(): Unable to access ./../db/mysql4.php in /home/disk2/www.hokarking.com/phpbb2/includes/db.php on line 35
Warning: main(./../db/mysql4.php): failed to open stream: No such file or directory in /home/disk2/www.hokarking.com/phpbb2/includes/db.php on line 35
Warning: main(): Failed opening './../db/mysql4.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home/disk2/www.hokarking.com/phpbb2/includes/db.php on line 35
Fatal error: Cannot instantiate non-existent class: sql_db in /home/disk2/www.hokarking.com/phpbb2/includes/db.php on line 60
我找了很久,終於發現原來我db folder 內的mysql4.php file名是大草,所以找不到,後來我把file名改回細草就順利完成。
#
#-----[ 開啟]---------------------------------------------
#
includes/topic_review.php
#
#-----[ 尋找]---------------------------------------------
WHERE t.topic_id = $topic_id
AND f.forum_id = t.forum_id";
#
#-----[ 之後增加]---------------------------------------
#
$tmp = '';
attach_setup_viewtopic_auth($tmp, $sql);
#
#-----[ 開啟]--------------------------------------------- 裝到這裡當場傻眼,應是尋找吧!!
//
// Okay, let's do the loop, yeah come on baby let's do the loop
// and it goes like this ...
#
#-----[ 之前增加]---------------------------------------
#
init_display_review_attachments($is_auth);
#
#-----[ 尋找]---------------------------------------------
'L_MINI_POST_ALT' => $mini_post_alt)
);
#
#-----[ AFTER, ADD ]---------------------------------------
# ps...是在 ); 之後增加此行 display_review_attachments($row['post_id'], $row['post_attachment'], $is_auth);
失敗了N次終於給裝好了,非常感謝大大分享。
http://puyumasan.freeownhost.com
戀戀論壇
#-----[ 開啟]---------------------------------------------
#
includes/topic_review.php
#
#-----[ 尋找]---------------------------------------------
WHERE t.topic_id = $topic_id
AND f.forum_id = t.forum_id";
#
#-----[ 之後增加]---------------------------------------
#
$tmp = '';
attach_setup_viewtopic_auth($tmp, $sql);
#
#-----[ 開啟]--------------------------------------------- 裝到這裡當場傻眼,應是尋找吧!!
//
// Okay, let's do the loop, yeah come on baby let's do the loop
// and it goes like this ...
#
#-----[ 之前增加]---------------------------------------
#
init_display_review_attachments($is_auth);
#
#-----[ 尋找]---------------------------------------------
'L_MINI_POST_ALT' => $mini_post_alt)
);
#
#-----[ AFTER, ADD ]---------------------------------------
# ps...是在 ); 之後增加此行 display_review_attachments($row['post_id'], $row['post_attachment'], $is_auth);
失敗了N次終於給裝好了,非常感謝大大分享。
http://puyumasan.freeownhost.com
戀戀論壇
[問題] 請問怎ㄇ會變成這樣
phpBB : Critical Error
Could not query config information
DEBUG MODE
SQL Error : 1146 Table 'bbs.config_table' doesn't exist
SELECT * FROM CONFIG_TABLE
Line : 223
File : common.php
Could not query config information
DEBUG MODE
SQL Error : 1146 Table 'bbs.config_table' doesn't exist
SELECT * FROM CONFIG_TABLE
Line : 223
File : common.php