1.1.5

KumbiaException

Unknown column 'index.html' in 'where clause' al ejecutar <em>"SELECT id,titulo,sinopsis,imagen,flyer,reparto,fichatecnica,galerias_id,modo,actual,masinfo FROM espectaculo WHERE actual = 1 and modo = index.html ORDER BY id DESC"</em> (0)

En el archivo /home/o2b4bzhre8e9/kumbia/core/libs/db/adapters/mysql.php en la línea: 142

Rastro

/home/o2b4bzhre8e9/kumbia/core/libs/db/db_base.php(85)

82       */
83      public function in_query($sql)
84      {
85          $q $this->query($sql);
86          $results = array();
87          if ($q) {
88              while ($row $this->fetch_array($q)) {

/home/o2b4bzhre8e9/kumbia/core/libs/kumbia_active_record/kumbia_active_record.php(805)

802          }
803          $select .= $this->convert_params_to_sql($what);
804          $results = array();
805          $all_results $this->db->in_query($select);
806          foreach ($all_results as $result) {
807              $results[] = $this->dump_result($result);
808          }

/home/o2b4bzhre8e9/app_base/NEscena/models/espectaculo.php(17)

14  
15      public function modo($modo$limit=0) {
16          if ($limit == 0) {
17              return $this->find("conditions: actual = 1 and modo = $modo""order: id DESC");
18          } else {
19              return $this->find_first("conditions: actual = 1 and modo = $modo""order: id DESC");
20          }

/home/o2b4bzhre8e9/app_base/NEscena/controllers/espectaculos_controller.php(9)

6   */
7  class EspectaculosController extends AppController {
8      public function relacion($cuales) {
9          $this->listar = (new Espectaculo)->modo($cuales);
10          $this->modo $cuales;
11  
12          View::template("inner-page");

/home/o2b4bzhre8e9/kumbia/core/kumbia/router.php(158)

155              }
156          }
157          
158          call_user_func_array([$cont$cont->action_name], $cont->parameters);
159  
160          //Corre los filtros after y finalize
161          $cont->k_callback();

/home/o2b4bzhre8e9/kumbia/core/kumbia/router.php(122)

119          self::$vars $router::rewrite($url) + self::$default;
120  
121          // Despacha la ruta actual
122          return self::dispatch($router::getController(self::$vars));
123      }
124  
125      /**

/home/o2b4bzhre8e9/kumbia/core/kumbia/bootstrap.php(76)

73  
74  // Ejecuta el request
75  // Dispatch y renderiza la vista
76  View::render(Router::execute($url));
77  
78  // Fin del request exit()

/home/o2b4bzhre8e9/public_html/index.php(130)

127   * @see Bootstrap
128   */
129  //require APP_PATH . 'libs/bootstrap.php'; //bootstrap de app
130  require CORE_PATH.'kumbia/bootstrap.php'//bootstrap del core
# Fichero (línea) Función
#0 /home/o2b4bzhre8e9/kumbia/core/libs/db/db_base.php(85): DbMySQL->query('SELECT
#1 /home/o2b4bzhre8e9/kumbia/core/libs/kumbia_active_record/kumbia_active_record.php(805): DbBase->in_query('SELECT
#2 /home/o2b4bzhre8e9/app_base/NEscena/models/espectaculo.php(17): KumbiaActiveRecord->find(Array,
#3 /home/o2b4bzhre8e9/app_base/NEscena/controllers/espectaculos_controller.php(9): Espectaculo->modo('index.html')
#4 /home/o2b4bzhre8e9/kumbia/core/kumbia/router.php(158): EspectaculosController->relacion('index.html')
#5 /home/o2b4bzhre8e9/kumbia/core/kumbia/router.php(122): Router::dispatch(Object(EspectaculosController))
#6 /home/o2b4bzhre8e9/kumbia/core/kumbia/bootstrap.php(76): Router::execute('/espectaculos/r...')
#7 /home/o2b4bzhre8e9/public_html/index.php(130): require('/home/o2b4bzhre...')
#8 {main}

Información Adicional

Ubicación actual: /espectaculos/relacion/index.html
IP Visitante: 44.222.249.19
  1. /home/o2b4bzhre8e9/public_html/index.php
  2. /home/o2b4bzhre8e9/kumbia/core/kumbia/bootstrap.php
  3. /home/o2b4bzhre8e9/kumbia/core/kumbia/kumbia_version.php
  4. /home/o2b4bzhre8e9/kumbia/core/kumbia/autoload.php
  5. /home/o2b4bzhre8e9/kumbia/core/kumbia/util.php
  6. /home/o2b4bzhre8e9/kumbia/core/kumbia/config.php
  7. /home/o2b4bzhre8e9/kumbia/core/kumbia/router.php
  8. /home/o2b4bzhre8e9/app_base/NEscena/libs/app_controller.php
  9. /home/o2b4bzhre8e9/kumbia/core/kumbia/controller.php
  10. /home/o2b4bzhre8e9/app_base/NEscena/libs/view.php
  11. /home/o2b4bzhre8e9/kumbia/core/kumbia/kumbia_view.php
  12. /home/o2b4bzhre8e9/app_base/NEscena/config/config.php
  13. /home/o2b4bzhre8e9/kumbia/core/kumbia/kumbia_router.php
  14. /home/o2b4bzhre8e9/app_base/NEscena/controllers/espectaculos_controller.php
  15. /home/o2b4bzhre8e9/app_base/NEscena/models/espectaculo.php
  16. /home/o2b4bzhre8e9/app_base/NEscena/libs/active_record.php
  17. /home/o2b4bzhre8e9/kumbia/core/libs/kumbia_active_record/kumbia_active_record.php
  18. /home/o2b4bzhre8e9/kumbia/core/libs/db/db.php
  19. /home/o2b4bzhre8e9/kumbia/core/libs/db/db_base_interface.php
  20. /home/o2b4bzhre8e9/kumbia/core/libs/db/db_base.php
  21. /home/o2b4bzhre8e9/app_base/NEscena/config/databases.php
  22. /home/o2b4bzhre8e9/kumbia/core/libs/db/adapters/mysql.php
  23. /home/o2b4bzhre8e9/kumbia/core/kumbia/kumbia_exception.php
  24. /home/o2b4bzhre8e9/kumbia/core/views/errors/exception.phtml
  25. /home/o2b4bzhre8e9/kumbia/core/views/templates/exception.phtml
core app vendor

0.0172 seg.

Tiempo

0.992 MB

Memoria Usada

xdebug OPcache

PHP extensions

25 ficheros

Includes

120 seg.

Tiempo Máximo PHP

128M

Memoria PHP

7.4.33
litespeed

Versión PHP

Apache
IP: 160.153.133.212

Servidor

En PRODUCCIÓN no sale este error, muestra el template de error de la app:
/home/o2b4bzhre8e9/app_base/NEscena/views/_shared/errors/404.phtml
¡ Modifica el template de error 404 a tu gusto !