DibiDriverException #2013

Lost connection to MySQL server during query

Source file

File: /var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/drivers/mysql.php   Line: 162

Line 155:            if ($this->buffered) {
Line 156:                $this->resultSet = @mysql_query($sql$this->connection); // intentionally @
Line 157:            } else {
Line 158:                $this->resultSet = @mysql_unbuffered_query($sql$this->connection); // intentionally @
Line 159:            }
Line 160:    
Line 161:            if (mysql_errno($this->connection)) {
Line 162:                throw new DibiDriverException(mysql_error($this->connection), mysql_errno($this->connection), $sql);
Line 163:            }
Line 164:    
Line 165:            return is_resource($this->resultSet) ? clone $this NULL;
Line 166:        }
Line 167:    
Line 168:    
Line 169:    

Call stack

  1. libs/DibiConnection.php (319) source   DibiMySqlDriver-> query (arguments )

  2. libs/DibiConnection.php (237) source   DibiConnection-> nativeQuery (arguments )

  3. libs/DibiFluent.php (271) source   DibiConnection-> query (arguments )

  4. models/StructureBaseNodeModel.php (364) source   DibiFluent-> execute ()

  5. <PHP inner-code> StructureBaseNodeModel:: getByUri (arguments )

  6. models/StructureNodesRoute.php (38) source   call_user_func (arguments )

  7. Routers/MultiRouter.php (43) source   StructureNodesRoute-> match (arguments )

  8. Application/Application.php (119) source   MultiRouter-> match (arguments )

  9. app/bootstrap.php (134) source   Application-> run ()

  10. www/index.php (14) source   require (arguments )

Nette Application

Environment

HTTP request

HTTP response