Omron Electronics Inc-EMC Div G6H-2F-TR DC24

PDOException: SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Command.php:1290 Stack trace: #0 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Command.php(1290): PDOStatement->execute() #1 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Command.php(1158): yii\db\Command->internalExecute('SHOW FULL COLUM...') #2 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Command.php(399): yii\db\Command->queryInternal('fetchAll', NULL) #3 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/mysql/Schema.php(319): yii\db\Command->queryAll() #4 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/mysql/Schema.php(125): yii\db\mysql\Schema->findColumns(Object(yii\db\TableSchema)) #5 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Schema.php(754): yii\db\mysql\Schema->loadTableSchema('snsii_product') #6 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Schema.php(193): yii\db\Schema->getTableMetadata('{{%product}}', 'schema', false) #7 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/ActiveRecord.php(435): yii\db\Schema->getTableSchema('{{%product}}') #8 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/ActiveRecord.php(509): yii\db\ActiveRecord::getTableSchema() #9 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/ActiveQueryTrait.php(123): yii\db\ActiveRecord::populateRecord(Object(app\models\SnSiiProduct), Array) #10 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/ActiveQuery.php(219): yii\db\ActiveQuery->createModels(Array) #11 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/ActiveQuery.php(306): yii\db\ActiveQuery->populate(Array) #12 /www/wwwroot/future-semi.com/controllers/ProductController.php(328): yii\db\ActiveQuery->one() #13 [internal function]: app\controllers\ProductController->actionItem('G6H-2F-TRDC24') #14 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #15 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #16 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('item', Array) #17 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('product/item', Array) #18 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request)) #19 /www/wwwroot/future-semi.com/web/index.php(14): yii\base\Application->run() #20 {main} Next yii\db\Exception: SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine The SQL being executed was: SHOW FULL COLUMNS FROM `snsii_product` in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Schema.php:674 Stack trace: #0 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Command.php(1295): yii\db\Schema->convertException(Object(PDOException), 'SHOW FULL COLUM...') #1 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Command.php(1158): yii\db\Command->internalExecute('SHOW FULL COLUM...') #2 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Command.php(399): yii\db\Command->queryInternal('fetchAll', NULL) #3 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/mysql/Schema.php(319): yii\db\Command->queryAll() #4 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/mysql/Schema.php(125): yii\db\mysql\Schema->findColumns(Object(yii\db\TableSchema)) #5 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Schema.php(754): yii\db\mysql\Schema->loadTableSchema('snsii_product') #6 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Schema.php(193): yii\db\Schema->getTableMetadata('{{%product}}', 'schema', false) #7 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/ActiveRecord.php(435): yii\db\Schema->getTableSchema('{{%product}}') #8 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/ActiveRecord.php(509): yii\db\ActiveRecord::getTableSchema() #9 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/ActiveQueryTrait.php(123): yii\db\ActiveRecord::populateRecord(Object(app\models\SnSiiProduct), Array) #10 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/ActiveQuery.php(219): yii\db\ActiveQuery->createModels(Array) #11 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/ActiveQuery.php(306): yii\db\ActiveQuery->populate(Array) #12 /www/wwwroot/future-semi.com/controllers/ProductController.php(328): yii\db\ActiveQuery->one() #13 [internal function]: app\controllers\ProductController->actionItem('G6H-2F-TRDC24') #14 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #15 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #16 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('item', Array) #17 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('product/item', Array) #18 /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request)) #19 /www/wwwroot/future-semi.com/web/index.php(14): yii\base\Application->run() #20 {main} Additional Information: Array ( [0] => HY000 [1] => 1030 [2] => Got error 28 from storage engine ) Copied! Copy Stacktrace Search Stackoverflow Search Google Exception Database Exception – yii\db\Exception

SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine The SQL being executed was: SHOW FULL COLUMNS FROM `snsii_product`

Error Info: Array ( [0] => HY000 [1] => 1030 [2] => Got error 28 from storage engine )

Caused by: PDOException

SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine

in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Command.php at line 1290

  • 1. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Schema.php at line 674 665666667668669670671672673674675676677678679680681682683 $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 bool whether a SQL statement is for read purpose. */ public function isReadQuery($sql) {
  • 2. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Command.php at line 1295 – yii\db\Schema::convertException(PDOException, 'SHOW FULL COLUMNS FROM `snsii_pr...') 1289129012911292129312941295129612971298129913001301 } else { $this->pdoStatement->execute(); } break; } catch (\Exception $e) { $rawSql = $rawSql ?: $this->getRawSql(); $e = $this->db->getSchema()->convertException($e, $rawSql); if ($this->_retryHandler === null || !call_user_func($this->_retryHandler, $e, $attempt)) { throw $e; } } } }
  • 3. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Command.php at line 1158 – yii\db\Command::internalExecute('SHOW FULL COLUMNS FROM `snsii_pr...') 1152115311541155115611571158115911601161116211631164 $this->prepare(true); try { $profile and Yii::beginProfile($rawSql, 'yii\db\Command::query'); $this->internalExecute($rawSql); if ($method === '') { $result = new DataReader($this); } else { if ($fetchMode === null) { $fetchMode = $this->fetchMode;
  • 4. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Command.php at line 399 – yii\db\Command::queryInternal('fetchAll', null) 393394395396397398399400401402403404405 * @return array all rows of the query result. Each array element is an array representing a row of data. * An empty array is returned if the query results in nothing. * @throws Exception execution failed */ public function queryAll($fetchMode = null) { return $this->queryInternal('fetchAll', $fetchMode); } /** * Executes the SQL statement and returns the first row of the result. * This method is best used when only the first row of result is needed for a query. * @param int $fetchMode the result fetch mode. Please refer to [PHP manual](https://secure.php.net/manual/en/pdostatement.setfetchmode.php)
  • 5. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/mysql/Schema.php at line 319 – yii\db\Command::queryAll() 313314315316317318319320321322323324325 * @throws \Exception if DB query fails */ protected function findColumns($table) { $sql = 'SHOW FULL COLUMNS FROM ' . $this->quoteTableName($table->fullName); try { $columns = $this->db->createCommand($sql)->queryAll(); } catch (\Exception $e) { $previous = $e->getPrevious(); if ($previous instanceof \PDOException && strpos($previous->getMessage(), 'SQLSTATE[42S02') !== false) { // table does not exist // https://dev.mysql.com/doc/refman/5.5/en/error-messages-server.html#error_er_bad_table_error return false;
  • 6. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/mysql/Schema.php at line 125 – yii\db\mysql\Schema::findColumns(yii\db\TableSchema) 119120121122123124125126127128129130131 */ protected function loadTableSchema($name) { $table = new TableSchema(); $this->resolveTableNames($table, $name); if ($this->findColumns($table)) { $this->findConstraints($table); return $table; } return null; }
  • 7. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Schema.php at line 754 – yii\db\mysql\Schema::loadTableSchema('snsii_product') 748749750751752753754755756757758759760 } $rawName = $this->getRawTableName($name); if (!isset($this->_tableMetadata[$rawName])) { $this->loadTableMetadataFromCache($cache, $rawName); } if ($refresh || !array_key_exists($type, $this->_tableMetadata[$rawName])) { $this->_tableMetadata[$rawName][$type] = $this->{'loadTable' . ucfirst($type)}($rawName); $this->saveTableMetadataToCache($cache, $rawName); } return $this->_tableMetadata[$rawName][$type]; }
  • 8. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/Schema.php at line 193 – yii\db\Schema::getTableMetadata('{{%product}}', 'schema', false) 187188189190191192193194195196197198199 * @param string $name table name. The table name may contain schema name if any. Do not quote the table name. * @param bool $refresh whether to reload the table schema even if it is found in the cache. * @return TableSchema|null table metadata. `null` if the named table does not exist. */ public function getTableSchema($name, $refresh = false) { return $this->getTableMetadata($name, 'schema', $refresh); } /** * Returns the metadata for all tables in the database. * @param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema name. * @param bool $refresh whether to fetch the latest available table schemas. If this is `false`,
  • 9. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/ActiveRecord.php at line 435 – yii\db\Schema::getTableSchema('{{%product}}') 429430431432433434435436437438439440441 * @throws InvalidConfigException if the table for the AR class does not exist. */ public static function getTableSchema() { $tableSchema = static::getDb() ->getSchema() ->getTableSchema(static::tableName()); if ($tableSchema === null) { throw new InvalidConfigException('The table does not exist: ' . static::tableName()); } return $tableSchema;
  • 10. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/ActiveRecord.php at line 509 – yii\db\ActiveRecord::getTableSchema() 503504505506507508509510511512513514515 /** * {@inheritdoc} */ public static function populateRecord($record, $row) { $columns = static::getTableSchema()->columns; foreach ($row as $name => $value) { if (isset($columns[$name])) { $row[$name] = $columns[$name]->phpTypecast($value); } } parent::populateRecord($record, $row);
  • 11. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/ActiveQueryTrait.php at line 123 – yii\db\ActiveRecord::populateRecord(app\models\SnSiiProduct, ['id' => '6556329', 'PartNumber' => 'G6H-2F-TR DC24', 'PartUrl' => 'G6H-2F-TRDC24', 'BigCat' => '14', ...]) 117118119120121122123124125126127128129 $models = []; /* @var $class ActiveRecord */ $class = $this->modelClass; foreach ($rows as $row) { $model = $class::instantiate($row); $modelClass = get_class($model); $modelClass::populateRecord($model, $row); $models[] = $model; } return $models; } }
  • 12. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/ActiveQuery.php at line 219 – yii\db\ActiveQuery::createModels([['id' => '6556329', 'PartNumber' => 'G6H-2F-TR DC24', 'PartUrl' => 'G6H-2F-TRDC24', 'BigCat' => '14', ...]]) 213214215216217218219220221222223224225 public function populate($rows) { if (empty($rows)) { return []; } $models = $this->createModels($rows); if (!empty($this->join) && $this->indexBy === null) { $models = $this->removeDuplicatedModels($models); } if (!empty($this->with)) { $this->findWith($this->with, $models); }
  • 13. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/db/ActiveQuery.php at line 306 – yii\db\ActiveQuery::populate([['id' => '6556329', 'PartNumber' => 'G6H-2F-TR DC24', 'PartUrl' => 'G6H-2F-TRDC24', 'BigCat' => '14', ...]]) 300301302303304305306307308309310311312 * if the query results in nothing. */ public function one($db = null) { $row = parent::one($db); if ($row !== false) { $models = $this->populate([$row]); return reset($models) ?: null; } return null; }
  • 15. app\controllers\ProductController::actionItem('G6H-2F-TRDC24')
  • 16. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/base/InlineAction.php at line 57 – call_user_func_array([app\controllers\ProductController, 'actionItem'], ['G6H-2F-TRDC24']) 515253545556575859 $args = $this->controller->bindActionParams($this, $params); Yii::debug('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); } }
  • 17. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/base/Controller.php at line 157 – yii\base\InlineAction::runWithParams(['Part' => 'G6H-2F-TRDC24', 'Name' => 'c6f']) 151152153154155156157158159160161162163 } $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 */
  • 18. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/base/Module.php at line 528 – yii\base\Controller::runAction('item', ['Part' => 'G6H-2F-TRDC24', 'Name' => 'c6f']) 522523524525526527528529530531532533534 $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); if ($oldController !== null) { Yii::$app->controller = $oldController; } return $result; }
  • 19. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/web/Application.php at line 103 – yii\base\Module::runAction('product/item', ['Part' => 'G6H-2F-TRDC24', 'Name' => 'c6f']) 979899100101102103104105106107108109 $params = $this->catchAll; unset($params[0]); } try { Yii::debug("Route requested: '$route'", __METHOD__); $this->requestedRoute = $route; $result = $this->runAction($route, $params); if ($result instanceof Response) { return $result; } $response = $this->getResponse(); if ($result !== null) {
  • 20. in /www/wwwroot/future-semi.com/vendor/yiisoft/yii2/base/Application.php at line 386 – yii\web\Application::handleRequest(yii\web\Request) 380381382383384385386387388389390391392 { 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();
  • 21. in /www/wwwroot/future-semi.com/web/index.php at line 14 – yii\base\Application::run() 891011121314 require __DIR__ . '/../vendor/autoload.php'; require __DIR__ . '/../vendor/yiisoft/yii2/Yii.php'; $config = require __DIR__ . '/../config/web.php'; (new yii\web\Application($config))->run();
$_GET = [ 'Part' => 'G6H-2F-TRDC24', 'Name' => 'c6f', ]; Yii Framework

2025-12-20, 17:33:04

nginx/1.16.0

Yii Framework/2.0.25-dev

Từ khóa » G6h-2f-dc24