• 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!

OTForum! 1.0 Beta

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\teste\forum\forum.php on line 77

@Paxton,
can you please tell me what is that?


Thanks,
Mattew.
 
@up omg execute this in your DB

CREATE TABLE IF NOT EXISTS `posts` (
`id` int(11) NOT NULL auto_increment,
`title` varchar(255) default NULL,
`icon` int(5) default NULL,
`date` varchar(45) default NULL,
`time` varchar(30) default NULL,
`author` varchar(30) default NULL,
`board` int(5) default NULL,
`thread` int(20) default NULL,
`post` text,
`signature` int(5) default NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `threads` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) default NULL,
`icon` int(5) default NULL,
`closed` int(5) default NULL,
`stick` int(5) NOT NULL,
`date` varchar(45) default NULL,
`time` varchar(30) default NULL,
`author` varchar(30) default NULL,
`board` int(5) default NULL,
`views` int(20) default NULL,
`last` int(40) default NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;

CREATE TABLE IF NOT EXISTS `forums` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255),
`description` text,
`closed` int(5) default NULL,
`access` int(5) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

--
-- Zrzut danych tabeli `forums`
--

INSERT INTO `forums` (`id`, `name`, `description`, `closed`, `access`) VALUES
(2, 'First forum.', 'This is your first forum.', 0, 0);
...
 
Ok I fixed this bug, new link in first post.

If you already installed just replace forum.php
 
Even if you are not logged on, you can delete the entire forum by clicking "delete board" and it'll say sometihng "you're not admin" but it still deletes.
 
10 Rep++ for someone who will make it for me so it will display polish letters, tried to make it by myself but I can't.
 
@Kret
Go to your database, select posts, forums, threads and drop them, delete them, now copy the script and in ur database go to SQL tab and paste it there, click go! and voala!
:) oki?
 
Code:
//Set to true when you configure everything, the forum will start working.
$install = false;

I configured everything, and when I set it to true the page doesn't load.
 
PS: People can "deform" the website writting a thread very long.. like "kjgbfhhgbfdhgbdfhgdfighbfgfdggjofdgbudgbd".. etc
 

Similar threads

Back
Top