• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Modern AAC] Test.News error

Izzor

good ol' times
Joined
Mar 18, 2008
Messages
215
Reaction score
12
Location
Sweden
So I recently started using modern aac and after a while editing for my server options I had it work on my localhost but when I send to my friend who is the hoster we get the error
Code:
Error Number: 1146

Table 'tfs.news' doesn't exist

SELECT * FROM (`news`) ORDER BY `id` desc LIMIT 10
When we are trying to access it I had the error before but I can't remember what I did what made it work out so now im asking you guys here for help :p
Thanks!
 
Last edited:
insert this in ur database:

PHP:
CREATE TABLE IF NOT EXISTS `news` ( 
  `id` int(11) NOT NULL AUTO_INCREMENT, 
  `title` varchar(64) NOT NULL DEFAULT '', 
  `body` text NOT NULL, 
  `time` int(18) NOT NULL DEFAULT '0', 
  PRIMARY KEY (`id`) 
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
 
Back
Top