mysqli_sql_exception: Unknown column 'print' in 'where clause'


File: /home/bado2026/public_html/php/DB.php
Line: 26
#0 /home/bado2026/public_html/php/DB.php(26): mysqli->query()
#1 /home/bado2026/public_html/auxiliar.php(279): DBConnection->query()
#2 /home/bado2026/public_html/valida-idioma.php(99): createLinkbyArticleId()
#3 /home/bado2026/public_html/header.php(9): include_once('/home/bado2026/...')
#4 /home/bado2026/public_html/articulos.php(92): include_once('/home/bado2026/...')
#5 {main}
mysqli_sql_exception  Object
(
       [message:protected]  =>  Unknown  column  'print'  in  'where  clause'
       [string:Exception:private]  =>  
       [code:protected]  =>  1054
       [file:protected]  =>  /home/bado2026/public_html/php/DB.php
       [line:protected]  =>  26
       [trace:Exception:private]  =>  Array
               (
                       [0]  =>  Array
                               (
                                       [file]  =>  /home/bado2026/public_html/php/DB.php
                                       [line]  =>  26
                                       [function]  =>  query
                                       [class]  =>  mysqli
                                       [type]  =>  ->
                               )

                       [1]  =>  Array
                               (
                                       [file]  =>  /home/bado2026/public_html/auxiliar.php
                                       [line]  =>  279
                                       [function]  =>  query
                                       [class]  =>  DBConnection
                                       [type]  =>  ->
                               )

                       [2]  =>  Array
                               (
                                       [file]  =>  /home/bado2026/public_html/valida-idioma.php
                                       [line]  =>  99
                                       [function]  =>  createLinkbyArticleId
                               )

                       [3]  =>  Array
                               (
                                       [file]  =>  /home/bado2026/public_html/header.php
                                       [line]  =>  9
                                       [args]  =>  Array
                                               (
                                                       [0]  =>  /home/bado2026/public_html/valida-idioma.php
                                               )

                                       [function]  =>  include_once
                               )

                       [4]  =>  Array
                               (
                                       [file]  =>  /home/bado2026/public_html/articulos.php
                                       [line]  =>  92
                                       [args]  =>  Array
                                               (
                                                       [0]  =>  /home/bado2026/public_html/header.php
                                               )

                                       [function]  =>  include_once
                               )

               )

       [previous:Exception:private]  =>  
       [sqlstate:protected]  =>  42S22
)

POST
GET
id_articulo3045
idiomaen
printtrue
SESSION
popup_inicial1
GLOBALS
id_articulo3045
idiomaen
printtrue
PHPSESSID2bfgfoc17btqrr63i8518qgr28
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
REMOTE_ADDR216.73.217.139
REMOTE_PORT39758
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/3045/tlcan/article-505.-records/?print=true
REDIRECT_URL/articles/3045/tlcan/article-505.-records/
REDIRECT_QUERY_STRINGprint=true
REDIRECT_REQUEST_METHODGET
HTTPSon
REDIRECT_STATUS200
X_SPDYHTTP2
SSL_PROTOCOLTLSv1.3
SSL_CIPHERTLS_AES_256_GCM_SHA384
SSL_CIPHER_USEKEYSIZE256
SSL_CIPHER_ALGKEYSIZE256
SCRIPT_FILENAME/home/bado2026/public_html/articulos.php
QUERY_STRINGid_articulo=3045&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/3045/tlcan/article-505.-records/
SCRIPT_URL/articles/3045/tlcan/article-505.-records/
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1794717577.6551
REQUEST_TIME1794717577
id_articulo3045
idiomaen
printtrue
titulo
Article  505.  Records
id_articulo3045
id_ordenamiento663
nombre_claveArt.  505
contenido

Article  505.  Records

Each  Party  shall  provide  that:

  • An  exporter  or  a  producer  in  its  territory  that  completes  and  signs  a  Certificate  of  Origin  shall  maintain  in  its  territory,  for  five  years  after  the  date  on  which  the  Certificate  was  signed  or  for  such  longer  period  as  the  Party  may  specify,  all  records  relating  to  the  origin  of  a  good  for  which  preferential  tariff  treatment  was  claimed  in  the  territory  of  another  Party,  including  records  associated  with
  •  

  • The  purchase  of,  cost  of,  value  of,  and  payment  for,  the  good  that  is  exported  from  its  territory,
  •  

  • The  purchase  of,  cost  of,  value  of,  and  payment  for,  all  materials,  including  indirect  materials,  used  in  the  production  of  the  good  that  is  exported  from  its  territory,  and
  •  

  • The  production  of  the  good  in  the  form  in  which  the  good  is  exported  from  its  territory;  and  
  •  

  • An  importer  claiming  preferential  tariff  treatment  for  a  good  imported  into  the  Party's  territory  shall  maintain  in  that  territory,  for  five  years  after  the  date  of  importation  of  the  good  or  for  such  longer  period  as  the  Party  may  specify,  such  documentation,  including  a  copy  of  the  Certificate,  as  the  Party  may  require  relating  to  the  importation  of  the  good.

  • nivel1lower-latin
    nivel2lower-roman
    nivel3
    nivel4
    esconde_banners0
    ordenamiento_padre_final649
    id_ordenamientos649
    id_padre0
    abreviatura
    nombre_cortoTLCAN
    nombre_frontTLCAN
    descripcion
    id_viejo
    orden11
    ocultar
    popup_inicial1
    COOKIES
    PHPSESSID2bfgfoc17btqrr63i8518qgr28
    SERVER
    PATH/usr/local/bin:/bin:/usr/bin
    DOCUMENT_ROOT/home/bado2026/public_html
    HTTP_ACCEPT*/*
    HTTP_ACCEPT_ENCODINGgzip,  br,  zstd,  deflate
    HTTP_COOKIEPHPSESSID=2bfgfoc17btqrr63i8518qgr28
    HTTP_HOST2026.bado.mx
    HTTP_USER_AGENTMozilla/5.0  AppleWebKit/537.36  (KHTML,  like  Gecko;  compatible;  ClaudeBot/1.0;  +claudebot@anthropic.com)
    HTTP_X_HTTPS1
    REMOTE_ADDR216.73.217.139
    REMOTE_PORT39758
    SERVER_ADDR15.235.14.85
    SERVER_NAME2026.bado.mx
    SERVER_ADMINwebmaster@2026.bado.mx
    SERVER_PORT443
    REQUEST_SCHEMEhttps
    REQUEST_URI/articles/3045/tlcan/article-505.-records/?print=true
    REDIRECT_URL/articles/3045/tlcan/article-505.-records/
    REDIRECT_QUERY_STRINGprint=true
    REDIRECT_REQUEST_METHODGET
    HTTPSon
    REDIRECT_STATUS200
    X_SPDYHTTP2
    SSL_PROTOCOLTLSv1.3
    SSL_CIPHERTLS_AES_256_GCM_SHA384
    SSL_CIPHER_USEKEYSIZE256
    SSL_CIPHER_ALGKEYSIZE256
    SCRIPT_FILENAME/home/bado2026/public_html/articulos.php
    QUERY_STRINGid_articulo=3045&idioma=en&print=true
    SCRIPT_URIhttps://2026.bado.mx/articles/3045/tlcan/article-505.-records/
    SCRIPT_URL/articles/3045/tlcan/article-505.-records/
    SCRIPT_NAME/articulos.php
    SERVER_PROTOCOLHTTP/1.1
    SERVER_SOFTWARELiteSpeed
    REQUEST_METHODGET
    X-LSCACHEon
    PHP_SELF/articulos.php
    REQUEST_TIME_FLOAT1794717577.6551
    REQUEST_TIME1794717577
    ENV