V
V
Valentin Galkin2018-02-02 15:42:23
PHP
Valentin Galkin, 2018-02-02 15:42:23

Errors in entering the query menu, the menu opened but nothing happened?

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'blog.sel_couriers' doesn't exist' in E:\server\OSPanel\domains\blog\classes\PDO .php:62 Stack trace: #0 E:\server\OSPanel\domains\blog\classes\PDO.php(62): PDOStatement->execute(Array) #1 E:\server\OSPanel\domains\blog\classes \PDO.php(38): PDOStatement_->execute(Array) #2 E:\server\OSPanel\domains\blog\admin\courier.php(15): PDO_->query('SELECT * FROM `... ') #3 {main} thrown in E:\server\OSPanel\domains\blog\classes\PDO.php on line 62
1.E:\server\OSPanel\domains\blog\admin\courier.php(15): PDO_->query('SELECT * FROM `...') #3 {main} thrown in
$courier = DB::$the->query("SELECT * FROM `sel_couriers` WHERE `login` = '".$_POST['login']."' && password='".$_POST['password']."'");
$courier = $courier->fetchAll(PDO::FETCH_ASSOC);
2.E:\server\OSPanel\domains\blog\classes\PDO.php on line 62
parent :: execute($params);
return $this;
}
3.E:\server\OSPanel\domains\blog\classes\PDO.php(38): PDOStatement_->execute(Array) #2
function query($sql, $params = array()) {
$stmt = $ this -> prepare($sql);
$stmt -> execute($params);
return $stmt;
--------------------------------------------
ob_start();
session_name('sid');
@session_start();
define('DBHOST', "$dbh");
define('DBPORT', "$dbr");
define('DBNAME', "$dbn");
define('DBUSER', "

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2018-02-02
@R0dger

He writes to you!
Base table or view not found: 1146

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question