New link
WarOTS.pl - Forum
WarOTS.pl - Forum
Fatal error: Call to a member function fetchAll() on a non-object in C:\xampp\htdocs\forum.php on line 202
$threads = $SQL->query("SELECT `players`.`name`, `players`.`account_id`, `players`.`world_id`, `players`.`rank_id`, `players`.`vocation`, `players`.`promotion`, `players`.`level`, `z_forum`.`id`,`z_forum`.`first_post`, `z_forum`.`section`,`z_forum`.`post_text`, `z_forum`.`post_topic`, `z_forum`.`post_date`, `z_forum`.`post_smile`, `z_forum`.`author_aid`, `z_forum`.`author_guid`, `z_forum`.`last_edit_aid`, `z_forum`.`edit_date` FROM `players`, `z_forum` WHERE `players`.`id` = `z_forum`.`author_guid` AND `z_forum`.`first_post` = ".(int) $thread_id." ORDER BY `z_forum`.`post_date` LIMIT ".$posts_per_page." OFFSET ".($page * $posts_per_page))->fetchAll();
while(stripos($text, '[img]') !== false && stripos($text, '[/img]') !== false )
{
$img = substr($text, stripos($text, '[img]')+5, stripos($text, '[/img]') - stripos($text, '[img]') - 5);
$text = str_ireplace('[img]'.$img.'[/img]', '<img src="'.$img.'">', $text);
}
while(stripos($text, '[img]') !== false && stripos($text, '[/img]') !== false )
{
$img = substr($text, stripos($text, '[img]')+5, stripos($text, '[/img]') - stripos($text, '[img]') - 5);
$text = str_ireplace('[img]'.$img.'[/img]', '<a href="'.$img.'"><img src="'.$img.'" height="350" width="450"></a>', $text);
}
HM??Fatal error: Call to a member function query() on a non-object in E:\OTSERVER\xampp\htdocs\server\forum.php on line 128
config/config.php:~ bump
Still desperately need a solution to this!
...
$config['site']['forum_link'] = "";
...
...
$config['site']['forum_link'] = "?subtopic=forum";
...
Boards >> News
Page:
No threads in this board.