Seite 1 von 1

Installation KnowledgeBase

Verfasst: 14.11.2007 19:18
von Plati
Ich habe versucht das KnowledgeBase Mod nach der folgenen Anleitung zu installieren.

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">&nbsp;<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">&nbsp; &nbsp;<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>&nbsp; &nbsp;<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>&nbsp; &nbsp;<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>&nbsp; 

# 
#-----[ 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">&nbsp; 
# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
# 

 &nbsp;<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>&nbsp; 

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
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

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

Verfasst: 14.11.2007 20:08
von uwe310
Hallo
install_kb_tables.php

Hast du die mal im browser aufgerufen ?

MFG
Uwe

Verfasst: 14.11.2007 22:43
von Plati
Wenn ich install_kb_tables.php aufrufe erscheint:

Code: Alles auswählen

Warning: mysql_connect() [function.mysql-connect]: Access denied for user '50erforum'@'192.168.107.1' (using password: NO) in /usr/export/www/hosting/50erforum/phpBB2/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /usr/export/www/hosting/50erforum/phpBB2/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /usr/export/www/hosting/50erforum/phpBB2/db/mysql4.php on line 331
phpBB : Kritischer Fehler

Could not connect to the database

Verfasst: 15.11.2007 00:42
von uwe310
Hast du den im Root verzeichnis vom Forum ?

www.wasweißich/phpbb/install_kb_tables.php

so ungefähr sollte das aussehen?

Du solltest admin angemeldet sein und dann aufrufen !!
Mfg
Uwe

Verfasst: 15.11.2007 07:55
von gloriosa
Hallo,
dazu
Plati hat geschrieben:

Code: Alles auswählen

Could not connect to the database
ist die (bekannte) Lösung im unteren Abschnitt von >>> KB:131 <<< nachzulesen ! :oops:

Weiterhin gibt es die, viel zu selten benutzte, boardeigene Funktion [ externes Bild ] Suchen um vor dem Posten Informationen zu finden. :wink:

Verfasst: 15.11.2007 15:06
von Plati
Vielen Dank!
Mit der Anleitung hat's geklappt!

Ich hätte aber noch eine Frage:
Die KnowledgeBase ist jetzt auf Englisch. Gibt es eine Anleitung um sie auf deutsch zu ändern?