Loading...
 
Skip to main content

Architecture / Installation


You are viewing a reply to mssql problems

Re: mssql problems

I fixed serveral mssql errors in the tiki-1.8-mssql.sql:

CREATE TABLE "tiki_language" (
"source" image NOT NULL,
"lang" char(2) default '' NOT NULL,
"tran" image default '',
PRIMARY KEY ("lang")
)

INSERT INTO tiki_menu_options ("menuId","type","name","url","position","section","perm","groupname")
VALUES (42,'o','(debug)','javascript:toggle(debugconsole)',40,'feature_debug_console','tiki_p_admin','')

INSERT INTO tiki_menus ("name","description","type")
VALUES ('Application menu','Main extensive navigation menu','d')

CREATE TABLE "tiki_untranslated" (
id numeric(14 ,0) identity,
"source" image NOT NULL,
"lang" char(2) default '' NOT NULL,
PRIMARY KEY ("lang")
)

INSERT INTO tiki_integrator_reps
VALUES ('Doxygened (1.3.4) Documentation','','index.html','doxygen.css','n','y','0','Use this repository as rule source for all your repositories based on doxygened docs. To setup yours just add new repository and copy rules from this repository 😊')

INSERT INTO tiki_integrator_rules
VALUES ('1','2','img src=(\"|\'')(?!http://)','img src=\1{path}/','y','n','i','y','Fix images path')

INSERT INTO tiki_integrator_rules
VALUES ('1','3','href=(\"|\'')(?!(--|(http|ftp)://))','href=\1tiki-integrator.php?repID={repID}&file=','y','n','i','y','Relace internal links to integrator. Dont touch an external links.')

INSERT INTO "tiki_quicktags" ("taglabel","taginsert","tagicon")
VALUES ('italic',' \\text\\ ','images/ed_format_italic.gif')



******************************************************

The sql file tried to create index on some columns:

Command: CREATE INDEX "tiki_articles_heading" ON "tiki_articles"("heading")
Message: Column 'heading'. Cannot create index on a column of text, ntext, or image data type.

But the columns was created like that:

CREATE TABLE "tiki_articles" (
articleId numeric(8 ,0) identity,
"title" varchar(80) default NULL NULL,
"state" char(1) default 's',
"authorName" varchar(60) default NULL NULL,
"topicId" numeric(14,0) default NULL NULL,
"topicName" varchar(40) default NULL NULL,
"size" numeric(12,0) default NULL NULL,
"useImage" char(1) default NULL NULL,
"image_name" varchar(80) default NULL NULL,
"image_type" varchar(80) default NULL NULL,
"image_size" numeric(14,0) default NULL NULL,
"image_x" numeric(4,0) default NULL NULL,
"image_y" numeric(4,0) default NULL NULL,
"image_data" image default '',
"publishDate" numeric(14,0) default NULL NULL,
"expireDate" numeric(14,0) default NULL NULL,
"created" numeric(14,0) default NULL NULL,

"heading" text default '', type : text! mistake or planed?????

"body" text default '',
"hash" varchar(32) default NULL NULL,
"author" varchar(200) default NULL NULL,
"reads" numeric(14,0) default NULL NULL,
"votes" numeric(8,0) default NULL NULL,
"points" numeric(14,0) default NULL NULL,
"type" varchar(50) default NULL NULL,
"rating" decimal(3,2) default NULL NULL,
"isfloat" char(1) default NULL NULL,
PRIMARY KEY ("articleId")

)