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

tibiacom layout

Wipflash

Old School
Joined
Jul 27, 2010
Messages
1,101
Reaction score
87
Location
Sweden
Hello!

pA8D8gVk35.png


Can someone help me with this? ^^

Here is line 559

PHP:
$viewpoll = $SQL->query('SELECT * FROM z_polls where end > '.$time.' ORDER BY id DESC LIMIT 1');

And here is line 285 in index.php

PHP:
include($layout_name."/layout.php");

Regards

W
 
I think that you should throw this SQL code to your mysql (via phpmyadmin)
PHP:
CREATE TABLE IF NOT EXISTS `z_polls` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `question` varchar(255) NOT NULL,
  `end` int(11) NOT NULL,
  `start` int(11) NOT NULL,
  `answers` int(11) NOT NULL,
  `votes_all` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
 
Back
Top