Linas Nenartavičius
Member
- Nov 5, 2011
- 106
- 8
Hi, im trying to write add a news but my images not showing in hk. Where could i add images cz idk directory
find your cms_news table right click and design the table, find column author and change the integer value to varchar or if u have no idea how to do that then just use this cms_news table which has all the required columnsFixed, i just made folder in ase called Yolo and uploaded images, but when im trying to add news im getting error on revcms - Incorrect integer value: 'Linas' for column 'author' at row 1
-- ----------------------------
-- Table structure for cms_news
-- ----------------------------
DROP TABLE IF EXISTS `cms_news`;
CREATE TABLE `cms_news` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) COLLATE latin1_general_ci DEFAULT NULL,
`shortstory` text COLLATE latin1_general_ci,
`longstory` text COLLATE latin1_general_ci,
`published` int(10) NOT NULL DEFAULT '0',
`image` varchar(255) COLLATE latin1_general_ci DEFAULT '/Public/Images/news/TS_Web60.png',
`campaign` int(1) NOT NULL DEFAULT '0',
`campaignimg` varchar(255) COLLATE latin1_general_ci NOT NULL,
`author` int(6) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;