Knowledge Base 2.0.2 sql tablosu lazım!

Arayıp da bulamadığınız eklentileri buraya sorabilirsiniz.

Knowledge Base 2.0.2 sql tablosu lazım!

İleti gbaran 06.01.2006, 18:01

Aynı başlık bitane daha konu açmıştım ama silinmiş yanlışımı belirtmedikleri için yanlışımı bilmeden aynı konuyu açıyorum çünkü bu lazım bana...

bende install.php dosyası çalışmamaktadır bende sql tablosunu phpmyadmine dump(yanlışsa kusura bakmayın kopyala-yapıştır) yöntemiyle yerleştirmeyi düşünüyorum...

bana en acilinden sql tablosunu gönderebilirmisiniz???
B@R@N
Kullanıcı avatarı
gbaran
Üye
Üye
 
İleti: 119
Kayıt: 13.12.2005, 19:40

İleti yigini 06.01.2006, 18:03

modun linkini ver. 2.0.2 nin
Kullanıcı avatarı
yigini
Üye
Üye
 
İleti: 661
Kayıt: 05.10.2005, 16:25

Cvp: Knowledge Base 2.0.2 sql tablosu lazım!

İleti gbaran 06.01.2006, 18:05

B@R@N
Kullanıcı avatarı
gbaran
Üye
Üye
 
İleti: 119
Kayıt: 13.12.2005, 19:40

Cvp: Knowledge Base 2.0.2 sql tablosu lazım!

İleti yigini 06.01.2006, 19:21

Bende çalıştı, tablo prefixlerini eklemen gerekebilir. syntax hata alırsan sırayla tek tek çalıştır.

Kod: Tümünü seç
           CREATE TABLE . `KB_ARTICLES_TABLE` (
                  article_id mediumint(8) unsigned NOT NULL auto_increment,
                    article_category_id mediumint(8) unsigned NOT NULL default "0",
                    article_title varchar(255) binary NOT NULL default "",
                    article_description varchar(255) binary NOT NULL default "",
                    article_date varchar(255) binary NOT NULL default "",
                    article_author_id mediumint(8) NOT NULL,
                  username VARCHAR(255),
                    bbcode_uid varchar(10) binary NOT NULL default "",
                    article_body text NOT NULL,
                    article_type mediumint(8) unsigned NOT NULL default "0",
                    approved tinyint(1) unsigned NOT NULL default "0",
                    topic_id mediumint(8) unsigned NOT NULL default "0",
                    views BIGINT(8) NOT NULL DEFAULT "0",
                    article_rating double(6,4) NOT NULL default "0.0000",
                    article_totalvotes int(255) NOT NULL default "0",
                    KEY article_id (article_id)
                ) TYPE=MyISAM;

       INSERT INTO `KB_ARTICLES_TABLE` VALUES (
                        1, 1, "Test Article", "This is a test article for your KB", "1057708235", 2, "", "93074f48a9", "This is a test article for your Knowledge Base. This MOD is based on code written by wGEric < eric@egcnetwork.com > (Eric Faerber) - http://eric.best-1.biz/, now supervised by _Haplo < jonohlsson@hotmail.com > (Jon Ohlsson) - http://www.mx-system.com/ \r\n\r\nBe sure you add categories and article types in the ACP and also change the Configuration to your liking.\r\n\r\nHave fun and enjoy your new Knowledge Base!  :D", 1, 1, 0, 0,0,0);

       CREATE TABLE `KB_CATEGORIES_TABLE`(
                         category_id mediumint(8) unsigned NOT NULL auto_increment,
                    category_name VARCHAR(255) binary NOT NULL,
                    category_details VARCHAR(255) binary NOT NULL,
                  number_articles mediumint(8) unsigned NOT NULL,
                  parent mediumint(8) unsigned,
                  cat_order mediumint(8) unsigned NOT NULL,
                    auth_view tinyint(3) NOT NULL DEFAULT "0",
                  auth_post tinyint(3) NOT NULL DEFAULT "0",
                  auth_rate tinyint(3) NOT NULL DEFAULT "0",
                  auth_comment tinyint(3) NOT NULL DEFAULT "0",
                  auth_edit tinyint(3) NOT NULL DEFAULT "0",
                  auth_delete tinyint(3) NOT NULL DEFAULT "2",
                  auth_approval tinyint(3) NOT NULL DEFAULT "0",
                  auth_approval_edit tinyint(3) NOT NULL DEFAULT "0",
                  auth_view_groups varchar(255),
                  auth_post_groups varchar(255),
                  auth_rate_groups varchar(255),
                  auth_comment_groups varchar(255),
                  auth_edit_groups varchar(255),
                  auth_delete_groups varchar(255),
                  auth_approval_groups varchar(255),
                  auth_approval_edit_groups varchar(255),
                  auth_moderator_groups varchar(255),
                  comments_forum_id tinyint(3) NOT NULL DEFAULT "-1",
                    KEY category_id (category_id)
               ) TYPE=MyISAM;


   INSERT INTO `KB_CATEGORIES_TABLE`VALUES (1, "Test Category 1", "This is a test category", "0", "0", "10", "0", "0", "0", "0", "0", "2", "0", "0", "", "", "", "", "", "", "", "", "", "0" );

       CREATE TABLE .`KB_CONFIG_TABLE`(
                    config_name VARCHAR(255) NOT NULL default "",
                  config_value varchar(255) NOT NULL default "",
                  PRIMARY KEY  (config_name)
                  ) TYPE=MyISAM;

       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) VALUES ("allow_new", "1");
       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) VALUES ("notify", "1");
       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) VALUES ("admin_id", "2");
       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) values("show_pretext","0");
       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) values("pt_header","Article Submission Instructions");
       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) values("pt_body","Please check your references and include as much information as you can.");
       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) VALUES ("use_comments", "1");
       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) VALUES ("del_topic", "1");
       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) VALUES ("use_ratings", "0");
       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) VALUES ("comments_show", "1");
       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) VALUES ("bump_post", "1");
       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) VALUES ("stats_list", "1");
       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) VALUES ("header_banner", "1");

       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) VALUES ("votes_check_userid", "1");
       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) VALUES ("votes_check_ip", "1");
       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) VALUES ("art_pagination", "5");

       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) VALUES ("comments_pagination", "5");
       INSERT INTO `KB_CONFIG_TABLE` (config_name, config_value) VALUES ("news_sort", "Alphabetic");
       INSERT INTO `KB_CONFIG_TABLE` VALUES ("news_sort_par", "ASC");

       INSERT INTO `KB_CONFIG_TABLE` VALUES ("wysiwyg", "0");
       INSERT INTO `KB_CONFIG_TABLE` VALUES ("wysiwyg_path", "modules/");
       INSERT INTO `KB_CONFIG_TABLE` VALUES ("allow_html", "1");
       INSERT INTO `KB_CONFIG_TABLE` VALUES ("allow_bbcode", "1");
       INSERT INTO `KB_CONFIG_TABLE` VALUES ("allow_smilies", "1");
       INSERT INTO `KB_CONFIG_TABLE` VALUES ("formatting_fixup", "0");
       INSERT INTO `KB_CONFIG_TABLE` VALUES ("allowed_html_tags", "b,i,u,a");

       CREATE TABLE  `KB_TYPES_TABLE`   (
                            id mediumint(8) unsigned NOT NULL auto_increment,
                          type varchar(255) binary DEFAULT "" NOT NULL,
                          KEY id (id)
                 ) TYPE=MyISAM;

       INSERT INTO  `KB_TYPES_TABLE`   VALUES (1, "Test Type 1")

       CREATE TABLE  `KB_VOTES_TABLE`  (
                       votes_ip varchar(50) NOT NULL default "0",
                       votes_userid int(50) NOT NULL default "0",
                       votes_file int(50) NOT NULL default "0"
                 ) TYPE=MyISAM;

       CREATE TABLE   `KB_SEARCH_TABLE`   (
                         search_id int(11) unsigned NOT NULL default "0",
                       session_id varchar(32) NOT NULL default "",
                       search_array text NOT NULL,
                       PRIMARY KEY  (search_id),
                       KEY session_id (session_id)
                  ) TYPE=MyISAM;

       CREATE TABLE   `KB_WORD_TABLE ` (
                           word_text varchar(50) binary NOT NULL default "",
                       word_id mediumint(8) unsigned NOT NULL auto_increment,
                       word_common tinyint(1) unsigned NOT NULL default "0",
                       PRIMARY KEY  (word_text),
                       KEY word_id (word_id)
                  ) TYPE=MyISAM;

       CREATE TABLE  `KB_MATCH_TABLE` (
                        article_id mediumint(8) unsigned NOT NULL default "0",
                       word_id mediumint(8) unsigned NOT NULL default "0",
                       title_match tinyint(1) NOT NULL default "0",
                       KEY post_id (article_id),
                       KEY word_id (word_id)
                    ) TYPE=MyISAM;

       CREATE TABLE  `KB_CUSTOM_TABLE`   (
                     custom_id int(50) NOT NULL auto_increment,
                     custom_name text NOT NULL,
                     custom_description text NOT NULL,
                     data text NOT NULL,
                     field_order int(20) NOT NULL default "0",
                     field_type tinyint(2) NOT NULL default "0",
                     regex varchar(255) NOT NULL default "",
                     PRIMARY KEY  (custom_id)
                  ) TYPE=MyISAM;

       CREATE TABLE  `KB_CUSTOM_DATA_TABLE`  (
                     customdata_file int(50) NOT NULL default "0",
                     customdata_custom int(50) NOT NULL default "0",
                     data text NOT NULL
                  ) TYPE=MyISAM;

         
Kullanıcı avatarı
yigini
Üye
Üye
 
İleti: 661
Kayıt: 05.10.2005, 16:25

Cvp: Knowledge Base 2.0.2 sql tablosu lazım!

İleti gbaran 06.01.2006, 19:48

Bu hatayı aldım;

Kod: Tümünü seç

SQL sorgusu:

INSERT INTO `KB_TYPES_TABLE`
VALUES ( 1, "Test Type 1" )
CREATE TABLE `KB_VOTES_TABLE` (

votes_ip varchar( 50 ) NOT NULL default "0",
votes_userid int( 50 ) NOT NULL default "0",
votes_file int( 50 ) NOT NULL default "0"
) TYPE = MYISAM
MySQL çıktısı: 

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CREATE TABLE  `KB_VOTES_TABLE`  (
                       votes_


B@R@N
Kullanıcı avatarı
gbaran
Üye
Üye
 
İleti: 119
Kayıt: 13.12.2005, 19:40

İleti gbaran 07.01.2006, 12:32

Aslında knowledge base i kuran biri phpmyadminden
phpbb_kb_article_table gibi tabloları işaretliyerek çalışan verinin sql tablosunu buraya eklese işim daha kolay olur aslında lütfen bi yardım edin!!!
B@R@N
Kullanıcı avatarı
gbaran
Üye
Üye
 
İleti: 119
Kayıt: 13.12.2005, 19:40

İleti gbaran 08.01.2006, 17:04

yok mu bilgisi olan herşeyi kurdum bitek sql tablosu bekliyor....

kuran biri buraya tabloyu gönderse...
B@R@N
Kullanıcı avatarı
gbaran
Üye
Üye
 
İleti: 119
Kayıt: 13.12.2005, 19:40

Cvp: Knowledge Base 2.0.2 sql tablosu lazım!

İleti türkphpbb 31.01.2006, 04:11

Buyrun lazim olanlar icin, hazirladigim KB 2.0.2 icin sql tablolari. Kendim bununla kurdum, denenmistir, calisiyor.

Kod: Tümünü seç
CREATE TABLE phpbb_kb_articles (
   article_id mediumint(8) unsigned NOT NULL auto_increment,
     article_category_id mediumint(8) unsigned NOT NULL default "0",
     article_title varchar(255) binary NOT NULL default "",
     article_description varchar(255) binary NOT NULL default "",
     article_date varchar(255) binary NOT NULL default "",
     article_author_id mediumint(8) NOT NULL,
   username VARCHAR(255),
     bbcode_uid varchar(10) binary NOT NULL default "",
     article_body text NOT NULL,
     article_type mediumint(8) unsigned NOT NULL default "0",
     approved tinyint(1) unsigned NOT NULL default "0",
     topic_id mediumint(8) unsigned NOT NULL default "0",
     views BIGINT(8) NOT NULL DEFAULT "0",
     article_rating double(6,4) NOT NULL default "0.0000",
     article_totalvotes int(255) NOT NULL default "0",
     KEY article_id (article_id)
   ) TYPE=MyISAM;
               
INSERT INTO phpbb_kb_articles VALUES ("1", "1", "Test Article", "This is a test article for your KB", "1057708235", 2, "", "93074f48a9", "This is a test article for your Knowledge Base. This MOD is based on code written by wGEric < eric@egcnetwork.com > (Eric Faerber) - http://eric.best-1.biz/, now supervised by _Haplo < jonohlsson@hotmail.com > (Jon Ohlsson) - http://www.mx-system.com/ \r\n\r\nBe sure you add categories and article types in the ACP and also change the Configuration to your liking.\r\n\r\nHave fun and enjoy your new Knowledge Base!  :D", "1", "1", "0", "0", "0", "0");

CREATE TABLE phpbb_kb_categories (
     category_id mediumint(8) unsigned NOT NULL auto_increment,
     category_name VARCHAR(255) binary NOT NULL,
     category_details VARCHAR(255) binary NOT NULL,
   number_articles mediumint(8) unsigned NOT NULL,
   parent mediumint(8) unsigned,
   cat_order mediumint(8) unsigned NOT NULL,
   auth_view tinyint(3) NOT NULL DEFAULT "0",
   auth_post tinyint(3) NOT NULL DEFAULT "0",
   auth_rate tinyint(3) NOT NULL DEFAULT "0",
   auth_comment tinyint(3) NOT NULL DEFAULT "0",
   auth_edit tinyint(3) NOT NULL DEFAULT "0",
   auth_delete tinyint(3) NOT NULL DEFAULT "2",
   auth_approval tinyint(3) NOT NULL DEFAULT "0",
   auth_approval_edit tinyint(3) NOT NULL DEFAULT "0",
   auth_view_groups varchar(255),
   auth_post_groups varchar(255),
   auth_rate_groups varchar(255),
   auth_comment_groups varchar(255),
   auth_edit_groups varchar(255),
   auth_delete_groups varchar(255),
   auth_approval_groups varchar(255),
   auth_approval_edit_groups varchar(255),
   auth_moderator_groups varchar(255),
   comments_forum_id tinyint(3) NOT NULL DEFAULT "-1",
     KEY category_id (category_id)
   ) TYPE=MyISAM;
               
          
INSERT INTO phpbb_kb_categories VALUES ("1", "Test Category 1", "This is a test category", "0", "0", "10", "0", "0", "0", "0", "0", "2", "0", "0", "", "", "", "", "", "", "", "", "", "0" );

CREATE TABLE phpbb_kb_config (
                  config_name VARCHAR(255) NOT NULL default "",
                  config_value varchar(255) NOT NULL default "",
                  PRIMARY KEY  (config_name)
                  ) TYPE=MyISAM;
         
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("allow_new", "1");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("notify", "1");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("admin_id", "2");
INSERT INTO phpbb_kb_config(config_name, config_value) values("show_pretext", "0");
INSERT INTO phpbb_kb_config(config_name, config_value) values("pt_header","Article Submission Instructions");
INSERT INTO phpbb_kb_config(config_name, config_value) values("pt_body","Please check your references and include as much information as you can.");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("use_comments", "1");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("del_topic", "1");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("use_ratings", "0");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("comments_show", "1");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("bump_post", "1");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("stats_list", "1");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("header_banner", "1");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("votes_check_userid", "1");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("votes_check_ip", "1");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("art_pagination", "5");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("comments_pagination", "5");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("news_sort", "Alphabetic");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("news_sort_par", "ASC");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("wysiwyg", "0");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("wysiwyg_path", "modules/");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("allow_html", "1");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("allow_bbcode", "1");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("allow_smilies", "1");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("formatting_fixup", "0");
INSERT INTO phpbb_kb_config(config_name, config_value) VALUES ("allowed_html_tags", "b,i,u,a");

CREATE TABLE phpbb_kb_types (id mediumint(8) unsigned NOT NULL auto_increment, type varchar(255) binary DEFAULT "" NOT NULL, KEY id (id)) TYPE=MyISAM;
                 
INSERT INTO phpbb_kb_types VALUES ("1", "Test Type 1");

CREATE TABLE phpbb_kb_votes (
                       votes_ip varchar(50) NOT NULL default "0",
                       votes_userid int(50) NOT NULL default "0",
                       votes_file int(50) NOT NULL default "0"
                 ) TYPE=MyISAM;

CREATE TABLE phpbb_kb_results (
                         search_id int(11) unsigned NOT NULL default "0",
                       session_id varchar(32) NOT NULL default "",
                       search_array text NOT NULL,
                       PRIMARY KEY  (search_id),
                       KEY session_id (session_id)
                  ) TYPE=MyISAM;

CREATE TABLE phpbb_kb_wordlist (
                           word_text varchar(50) binary NOT NULL default "",
                       word_id mediumint(8) unsigned NOT NULL auto_increment,
                       word_common tinyint(1) unsigned NOT NULL default "0",
                       PRIMARY KEY  (word_text),
                       KEY word_id (word_id)
                  ) TYPE=MyISAM;

CREATE TABLE phpbb_kb_wordmatch (
                        article_id mediumint(8) unsigned NOT NULL default "0",
                       word_id mediumint(8) unsigned NOT NULL default "0",
                       title_match tinyint(1) NOT NULL default "0",
                       KEY post_id (article_id),
                       KEY word_id (word_id)
                    ) TYPE=MyISAM;   

CREATE TABLE phpbb_kb_custom (
                     custom_id int(50) NOT NULL auto_increment,
                     custom_name text NOT NULL,
                     custom_description text NOT NULL,
                     data text NOT NULL,
                     field_order int(20) NOT NULL default "0",
                     field_type tinyint(2) NOT NULL default "0",
                     regex varchar(255) NOT NULL default "",
                     PRIMARY KEY  (custom_id)
                  ) TYPE=MyISAM;
         
CREATE TABLE phpbb_kb_customdata (
                     customdata_file int(50) NOT NULL default "0",
                     customdata_custom int(50) NOT NULL default "0",
                     data text NOT NULL
                  ) TYPE=MyISAM;
Kullanıcı avatarı
türkphpbb
Üye
Üye
 
İleti: 161
Kayıt: 07.10.2005, 06:21
Konum: Yurt Dışı

İleti yaso19 12.11.2006, 05:25

çok eski bi konu ama;
Allah senden razı olsun @türkphpbb,
tam 1,5 saattir şunun syntax hatalarını düzeltiyim diye uğraşıyorum, zaten yorgunum, uykusuzum.. bide bu kodlar hiç çekilmiyo valla az kalsın deliriyodum.. sağolasın kodlar için ;)
Kullanıcı avatarı
yaso19
Üye
Üye
 
İleti: 531
Kayıt: 05.02.2006, 01:01
Konum: İzmir

İleti

ALEXIS
12.11.2006, 06:07

normal install' ın neyi varmış ?
Kullanıcı avatarı
ALEXIS
Site Yöneticisi
Site Yöneticisi
 
İleti: 2563
Kayıt: 30.06.2005, 09:08

İleti yaso19 12.11.2006, 06:43

arkadaşın dediği gibi mysql e bağlanamıyo. could not connect hatası veriyo.
Kullanıcı avatarı
yaso19
Üye
Üye
 
İleti: 531
Kayıt: 05.02.2006, 01:01
Konum: İzmir


İstek Bölümü



Kimler çevrimiçi

Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir

cron