Installation KnowledgeBase
Verfasst: 14.11.2007 19:18
Ich habe versucht das KnowledgeBase Mod nach der folgenen Anleitung zu installieren.
Alle diese Änderungen habe ich durchgeführt.
Wenn ich im ACP die Einstellungen für das Mod aufrufen will, erscheint immer eine derartige Meldung:
Code: Alles auswählen
#-----[ COPY ]------------------------------------------
#
copy mx_kb/install_kb_tables.php to phpbbroot/install_kb_tables.php
or
copy mx_kb/upgrade_kb_tables.php to phpbbroot/upgrade_kb_tables.php
copy mx_kb/kb.php to kb.php
copy mx_kb/kb_search.php to phpbbroot/kb_search.php
copy mx_kb/admin/admin__.php to phpbbroot/admin/admin__.php
copy mx_kb/includes/functions_.php to phpbbroot/includes/functions_.php
copy mx_kb/includes/kb_.php to phpbbroot/includes/kb_.php
copy mx_kb/language/lang_english/lang_kb.php to phpbbroot/language/lang_english/lang_kb.php
copy mx_kb/templates/print_version.css to phpbbroot/templates/print_version.css
copy mx_kb/templates/subSilver/kb_.tpl to phpbbroot/templates/subSilver/kb_.tpl
copy mx_kb/templates/subSilver/admin/kb_.tpl to phpbbroot/templates/subSilver/admin/kb_.tpl
copy mx_kb/templates/subSilver/images/icon_.gif to phpbbroot/templates/subSilver/images/icon_.gif
copy mx_kb/templates/subSilver/images/lang_english/kb.gif to phpbbroot/templates/subSilver/images/lang_english/kb.gif
Notes:
Files distributed in this zip, NOT used by the phpBB version of the KB MOD
- kb_pages.php
- kb_defs.php
- admin/mx_config.php
- kb_article_reader.php
If they have been included by accident, simply remove. They are only used for the mxBB version of the mod!!
#
#-----[ OPEN ]------------------------------------------
#
viewonline.php
#
#-----[ FIND ]------------------------------------------
#
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "faq.$phpEx";
break;
#
#-----[ AFTER, ADD ]------------------------------------------
#
case PAGE_KB:
$location = $lang['Viewing_KB'];
$location_url = "kb.$phpEx";
break;
#
#-----[ OPEN ]------------------------------------------
#
admin/index.php
#
#-----[ FIND ]------------------------------------------
#
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "index.$phpEx?pane=right";
break;
#
#-----[ AFTER, ADD ]------------------------------------------
#
case PAGE_KB:
$location = $lang['Viewing_KB'];
$location_url = "kb.$phpEx";
break;
#
#-----[ FIND ]------------------------------------------
#
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "index.$phpEx?pane=right";
break
#
#-----[ AFTER, ADD ]------------------------------------------
#
case PAGE_KB:
$location = $lang['Viewing_KB'];
$location_url = "kb.$phpEx";
break;
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
'L_FAQ' => $lang['FAQ'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_KB' => $lang['KB_title'],
#
#-----[ FIND ]------------------------------------------
#
'U_FAQ' => append_sid('faq.'.$phpEx),
#
#-----[ AFTER, ADD ]------------------------------------------
#
'U_KB' => append_sid('kb.'.$phpEx),
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
$lang['FAQ'] = 'FAQ';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['KB_title'] = 'Knowledge Base';
#
#-----[ FIND ]------------------------------------------
#
$lang['Viewing_FAQ'] = 'Viewing FAQ';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['Viewing_KB'] = 'Viewing KB';
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu"> <a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a> <a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a> <a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu">
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<a href="{U_KB}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_KB}" hspace="3" />{L_KB}</a>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
Wenn ich im ACP die Einstellungen für das Mod aufrufen will, erscheint immer eine derartige Meldung:
Code: Alles auswählen
phpBB : Kritischer Fehler
Could not query config information in kb_config
DEBUG MODE
SQL Error : 1146 Table '50erforum.phpbb2_kb_config' doesn't exist
SELECT * FROM phpbb2_kb_config
Line : 84
File : admin_kb_art.php