RevCMS HK add news images

Status
Not open for further replies.
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

2nitfyr.png
 

Kak

Posting Freak
Apr 21, 2017
951
165
find the name of the file/folder its grabbing the images from and see if it exist. if it doesnt exist or have news images in it then download a news images pack :p
 
Nov 5, 2011
106
8
Fixed, i just made folder in ase called Yolo and uploaded images, but when im trying to add news im getting error on revcms - Incorrect string value: '\xC4\x85' for column 'title' at row 1
 
Last edited:
  • Like
Reactions: Joe

Kak

Posting Freak
Apr 21, 2017
951
165
Fixed, 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
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 columns
Code:
-- ----------------------------
-- 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;
 
Status
Not open for further replies.

Users who are viewing this thread

Top