1
skara
WF-Channel wrong type of field
  • 2005/4/9 11:13

  • skara

  • Friend of XOOPS

  • Posts: 84

  • Since: 2004/9/24


Using WF-channel and trying to post the 128th story you will mention that is impossible to do this!

The reason is that the CID field is a "tinyint" and not a "int" type!

Take a look after i was made an export of the database:

CREATE TABLE `xoops_wfschannel` (
   `
CIDtinyint(4NOT NULL auto_increment,
   `
pagetitlevarchar(255NOT NULL default '0',
   `
pageheadlinevarchar(255NOT NULL default '0',
   `
pagetext NOT NULL,
   `
weightint(11NOT NULL default '1',
   `
htmlint(11NOT NULL default '0',
   `
smileyint(11NOT NULL default '1',
   `
xcodesint(11NOT NULL default '1',
   `
breaksint(10NOT NULL default '1',
   `
defaultpageint(10NOT NULL default '0',
   `
indeximagevarchar(255) default 'blank.png',
   `
htmlfilevarchar(255) default NULL,
   `
mainpageint(11NOT NULL default '0',
   `
submenuint(11NOT NULL default '0',
   `
createdint(10unsigned NOT NULL default '0',
   `
commentstinyint(11NOT NULL default '0',
   `
allowcommentstinyint(11NOT NULL default '0',
   `
usedoctitletinyint(1NOT NULL default '0',
   `
publishdateint(10unsigned NOT NULL default '0',
   `
expiredateint(10unsigned NOT NULL default '0',
   `
counterint(11NOT NULL default '0',
   
PRIMARY KEY  (`CID`),
   
UNIQUE KEY `topicID` (`CID`),
   
FULLTEXT KEY `answer` (`page`)
ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='WF-Channel by Catzwolf';


The solution to transform the CID field to "int" type.

I hope to WF-guys to correct this problem in a next release.

I'm wondering also if this problem exist also to other WF modules...

2
Marco
Re: WF-Channel wrong type of field
  • 2005/4/9 13:33

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


if you add this in wf-projects bugtracker, I hope so !
marco

Login

Who's Online

280 user(s) are online (172 user(s) are browsing Support Forums)


Members: 0


Guests: 280


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits