Error Info: Array ( [0] => 42000 [1] => 1318 [2] => Incorrect number of arguments for PROCEDURE inlistre_galek.insertTempTelusurOpac; expected 0, got 11 )
in /home/inlistrenggalek/public_html/vendor/yiisoft/yii2/db/Command.php at line 784
$exceptionClass = '\yii\db\Exception'; foreach ($this->exceptionMap as $error => $class) { if (strpos($e->getMessage(), $error) !== false) { $exceptionClass = $class; } } $message = $e->getMessage() . "\nThe SQL being executed was: $rawSql"; $errorInfo = $e instanceof \PDOException ? $e->errorInfo : null; return new $exceptionClass($message, $errorInfo, (int) $e->getCode(), $e); } /** * Returns a value indicating whether a SQL statement is for read purpose. * @param string $sql the SQL statement * @return boolean whether a SQL statement is for read purpose. */ public function isReadQuery($sql) {
$this->refreshTableSchema(); return $n; } catch (\Exception $e) { Yii::endProfile($token, __METHOD__); throw $this->db->getSchema()->convertException($e, $rawSql); } } /** * Performs the actual DB query of a SQL statement. * @param string $method method of PDOStatement to be called
$fBahasa = ( isset($_GET['fBahasa']) ) ? addslashes(urldecode($_GET['fBahasa'])) : ''; $limitAwal = ($page - 1) * $limit; $command = Yii::$app->db->createCommand("CALL insertTempTelusurOpac('" . $tag . "','" . $findBy . "','" . $query . "','" . $query2 . "','" . $fAuthor . "','" . $fPublisher . "','" . $fPublishLoc . "','" . $fPublishYear . "','" . $fSubject . "','" . $fBahasa . "','');"); $command->execute(); /*$count = Yii::$app->db->createCommand("CALL countPencarianSederhanaOpac1('" . $fAuthor . "','" . $fPublisher . "','" . $fPublishLoc . "','" . $fPublishYear . "','" . $fSubject . "','" . $fBahasa . "');")->queryScalar(); $sqlSearch = "CALL pencarianSederhanaOpacLimit1('0','" . $limit . "','" . $fAuthor . "','" . $fPublisher . "','" . $fPublishLoc . "','" . $fPublishYear . "','" . $fSubject . "','" . $fBahasa . "');"; $dataProviderSearch = new SqlDataProvider([
$args = $this->controller->bindActionParams($this, $params); Yii::trace('Running action: ' . get_class($this->controller) . '::' . $this->actionMethod . '()', __METHOD__); if (Yii::$app->requestedParams === null) { Yii::$app->requestedParams = $args; } return call_user_func_array([$this->controller, $this->actionMethod], $args); } }
} $result = null; if ($runAction && $this->beforeAction($action)) { // run the action $result = $action->runWithParams($params); $result = $this->afterAction($action, $result); // call afterAction on modules foreach ($modules as $module) { /* @var $module Module */
$parts = $this->createController($route); if (is_array($parts)) { /* @var $controller Controller */ list($controller, $actionID) = $parts; $oldController = Yii::$app->controller; Yii::$app->controller = $controller; $result = $controller->runAction($actionID, $params); Yii::$app->controller = $oldController; return $result; } else { $id = $this->getUniqueId(); throw new InvalidRouteException('Unable to resolve the request "' . ($id === '' ? $route : $id . '/' . $route) . '".');
$params = $this->catchAll; unset($params[0]); } try { Yii::trace("Route requested: '$route'", __METHOD__); $this->requestedRoute = $route; $result = $this->runAction($route, $params); if ($result instanceof Response) { return $result; } else { $response = $this->getResponse(); if ($result !== null) { $response->data = $result;
try { $this->state = self::STATE_BEFORE_REQUEST; $this->trigger(self::EVENT_BEFORE_REQUEST); $this->state = self::STATE_HANDLING_REQUEST; $response = $this->handleRequest($this->getRequest()); $this->state = self::STATE_AFTER_REQUEST; $this->trigger(self::EVENT_AFTER_REQUEST); $this->state = self::STATE_SENDING_RESPONSE; $response->send();
$application = new yii\web\Application($config); require(__DIR__ . '/config/oaidp-config.php'); //require(__DIR__ . '/config/oaidp-util.php'); $application->run();
$_GET = [ 'action' => 'browse', 'tag' => 'Author', 'findBy' => 'Alphabetical', 'query' => 'M', 'query2' => 'Kekayaan alam bawah laut wisata Indonesia sudah tidak diragukan lagi', ]; $_SESSION = [ '__flash' => [], 'RiwayatPencarian' => [ [ 'ip' => '192.168.101.201', 'url' => 'https://inlislite.trenggalekkab.go.id/opac/browse?action=browse&tag=Author&findBy=Alphabetical&query=M&query2=Kekayaan%20alam%20bawah%20laut%20%3Ca%20href=%22https://republikwisata.com/%22%3Ewisata+Indonesia%3C/a%3E%20sudah%20tidak%20diragukan%20lagi', 'action' => 'browse', 'keyword' => 'Alphabetical = M & Pengarang = Kekayaan alam bawah laut wisata Indonesia sudah tidak diragukan lagi', 'bahan' => '', 'time' => '03-19-2024 19:46:44', ], ], ];