zakius
Enter the Ninja!
Have it any special needt about xampp version? After format I instaled newest ones and otforum 1.0 and this arent working
When open thead
When post reply
Buged version :s
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
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
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
ALTER TABLE `posts` ADD `edited` varchar( 255 ) NOT NULL DEFAULT '0',
ADD `edit_date` varchar( 255 ) NOT NULL DEFAULT '0';
= $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
"; ?>
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!
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