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

Have it any special needt about xampp version? After format I instaled newest ones and otforum 1.0 and this arent working
 
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'edited' in 'field list'' in C:\xampp\htdocs\forum\thread.php:122 Stack trace: #0 C:\xampp\htdocs\forum\thread.php(122): PDO->query('UPDATE `posts` ...') #1 C:\xampp\htdocs\index.php(236): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\forum\thread.php on line 122

Edit Post BUg :S
 
Bugs:
Be able to send post without having a created character. could also add the possibility to choose the minimum level to participate in the forum.

Error:
PHP:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'edited' in 'field list'' in C:\xampp\htdocs\forum\thread.php:122 Stack trace: #0 C:\xampp\htdocs\forum\thread.php(122): PDO->query('UPDATE `posts` ...') #1 C:\xampp\htdocs\index.php(170): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\forum\thread.php on line 122
PHP:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'edit_date' in 'field list'' in C:\xampp\htdocs\forum\thread.php:122 Stack trace: #0 C:\xampp\htdocs\forum\thread.php(122): PDO->query('UPDATE `posts` ...') #1 C:\xampp\htdocs\index.php(170): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\forum\thread.php on line 122

Fix:
PHP:
ALTER TABLE `posts` ADD `edited` varchar( 255 ) NOT NULL DEFAULT '0',
ADD `edit_date` varchar( 255 ) NOT NULL DEFAULT '0';
 
Last edited:
Norix,
you can help-me for fixed bug.

Accounts without players are unable to post messages and reply to topics.
 
how do you want somebody to post something
if they don't have players?

BTW this version is bugged :S
v1.0 its better and more easy to edit
 
I have error, maybe my fault but:
Code:
= $config['site']['access_admin_panel']) { if($action == 2){ $id = (int)$_GET['id']; deleteBoard($id); $main_content .= "Board has been deleted.
"; } else if($action == 3){ if(isset($_POST['new_board'])){ $name = $_POST['name']; $desc = $_POST['desc']; $closed = $_POST['closed']; $access = $_POST['access']; $SQL->query("INSERT INTO `forums` VALUES('', '$name', '$desc', '$closed', '$access');"); $main_content .= "$name has been made."; } $main_content .= "
"; $main_content .= "Board name:

"; $main_content .= "Description:

"; $main_content .= "Closed:

"; $main_content .= "Min. access to enter:

"; $main_content .= ""; $main_content .= "
"; } } else { $main_content .= "
Login:

Password:

"; } } if(!$logged) $main_content .= "
You are not logged in. Log in to post on the forum.
"; $main_content .= "
Current time: $date
"; $main_content .= "
"; $forums = $SQL->query("SELECT * FROM `forums`"); if($forums == 0) $main_content .= "No specified forums yet."; else { foreach($forums as $forum) { if(!$logged) $group_id_of_acc_logged = 0; if($group_id_of_acc_logged >= $forum['access']) { $post_count = board_post_count($forum['id']); $thread_count = board_thread_count($forum['id']); $last = $SQL->query("SELECT * FROM `posts` WHERE `board` = '".$forum['id']."' ORDER BY `id` DESC LIMIT 1")->fetch(); if($last == 0) $last = "None"; else { $author = $last['author']; $thread = $last['thread']; $date = $last['date']; $last = " $date
by $author"; } if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) $admin = "Delete this board"; if($forum['closed'] == '1') $close = ""; else $close = ""; $main_content .= ""; } } } $main_content .= "
	Board	Posts	Threads	Last Post
".$close."
	".$forum['name']."
".$forum['description']."
$admin	$post_count	$thread_count	$last
"; ?>
and screen(it will better show how it looks)
20090824134207.png
 
Whoa, Paxton it works :D
I thought that was something with database because I had not modified files
 
I don't know what is going on, you are like 10th peron that reports to me some scripts doesn't work, and all of them was because starting tags was <?

Did some new version of Apache came out? Or something? Because all have this problem, but didn't occur before.
 
I don't know what is going on, you are like 10th peron that reports to me some scripts doesn't work, and all of them was because starting tags was <?

Did some new version of Apache came out? Or something? Because all have this problem, but didn't occur before.

Not Apache but Xampp!
 
I have problems with this ... extend my layout .. crop has already mybb
 
HTML:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'active' in 'field list'' in C:\xampp\htdocs\pot\OTS_Account.php:794 Stack trace: #0 C:\xampp\htdocs\pot\OTS_Account.php(794): PDO->query('SELECT `active`...') #1 C:\xampp\htdocs\pot\OTS_Account.php(771): OTS_Account->loadBan() #2 C:\xampp\htdocs\accountmanagement.php(30): OTS_Account->isBanned() #3 C:\xampp\htdocs\index.php(137): include('C:\xampp\htdocs...') #4 {main} thrown in C:\xampp\htdocs\pot\OTS_Account.php on line 794

That error comes when I log in at the homepage now.

Someone know why?
 
Back
Top