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_articulo118
idiomaen
printtrue
SESSION
GLOBALS
id_articulo118
idiomaen
printtrue
PHPSESSIDlo300c4q2rvjf6psv19ftbmbmh
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
REMOTE_ADDR216.73.216.253
REMOTE_PORT33783
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/118/reglamento-de-la-ley-aduanera/article-118-value-of-goods-produced-by-the-importer/imgv2/favicon.ico?print=true
REDIRECT_URL/articles/118/reglamento-de-la-ley-aduanera/article-118-value-of-goods-produced-by-the-importer/imgv2/favicon.ico
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=118&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/118/reglamento-de-la-ley-aduanera/article-118-value-of-goods-produced-by-the-importer/imgv2/favicon.ico
SCRIPT_URL/articles/118/reglamento-de-la-ley-aduanera/article-118-value-of-goods-produced-by-the-importer/imgv2/favicon.ico
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1780588031.5211
REQUEST_TIME1780588031
id_articulo118
idiomaen
printtrue
titulo
ARTICLE  118:  VALUE  OF  GOODS  PRODUCED  BY  THE  IMPORTER  OR  BY  A  LINKED  PERSON  
id_articulo118
id_ordenamiento40
nombre_claveArt.  118
contenido

ARTICLE  118:  VALUE  OF  GOODS  PRODUCED  BY  THE  IMPORTER  OR  BY  A  LINKED  PERSON  

 

For  the  purposes  of  the  provisions  of  article  65,  section  II,  subsection  b)  of  the  Law  --209-Art.  65--,  when  the  importer  acquires  goods  from  a  seller  with  whom  is  not  linked  and  pays  for  them  a  certain  price,  said  price  will  be  the  value  of  the  merchandise.  If  the  goods  were  produced  by  the  importer  or  by  a  linked  person  to  them,  the  value  of  the  merchandise  will  be  its  cost  of  production.  For  the  purposes  of  the  linkage  referred  to  in  this  article,  the  provisions  of  article  68  of  the  Law  shall  apply.  --209-Art.  68--

When  the  importer  has  previously  used  said  merchandise,  regardless  of  whether  it  has  bought  or  produced  them,  an  adjustment  will  be  made  to  reduce  the  original  cost  of  acquisition  or  production,  in  order  to  take  into  account  their  use  and  determine  their  value.

Once  the  value  of  the  goods  has  been  determined,  the  importer  may  distribute  it  among  the  imported  merchandise  in  accordance  with  any  of  the  following  forms  of  distribution:

  • Increasing  the  total  value  of  the  good  on  the  first  import;
  •  

  • Sharing  the  value  of  the  merchandise  between  the  number  of  units  produced  up  to  the  time  of  the  first  shipment,  and
  •  

  • Sharing  the  value  of  the  merchandise  among  the  total  expected  production,  when  there  are  contracts  or  firm  commitments  regarding  that  production,  making  the  Customs  Authority  aware  of  the  exercise  of  this  option,  through  promotion.
  •  

    The  option  exercised  in  accordance  with  this  article  will  be  recorded  in  the  corresponding  customs  declaration  (pedimento),  presenting  a  copy  of  the  acknowledgment  that,  if  applicable,  had  been  submitted  to  the  Customs  Authority.


    nivel1
    nivel2
    nivel3
    nivel4
    esconde_banners0
    ordenamiento_padre_final1
    id_ordenamientos1
    id_padre0
    abreviatura
    nombre_cortoRLA
    nombre_frontReglamento  de  la  Ley  Aduanera
    descripcionReglamento  de  la  ley  aduanera
    id_viejo
    orden2
    ocultar
    COOKIES
    PHPSESSIDlo300c4q2rvjf6psv19ftbmbmh
    SERVER
    PATH/usr/local/bin:/bin:/usr/bin
    HTTP_ACCEPT*/*
    HTTP_ACCEPT_ENCODINGgzip,  br,  zstd,  deflate
    HTTP_COOKIEPHPSESSID=lo300c4q2rvjf6psv19ftbmbmh
    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
    DOCUMENT_ROOT/home/bado2026/public_html
    REMOTE_ADDR216.73.216.253
    REMOTE_PORT33783
    SERVER_ADDR15.235.14.85
    SERVER_NAME2026.bado.mx
    SERVER_ADMINwebmaster@2026.bado.mx
    SERVER_PORT443
    REQUEST_SCHEMEhttps
    REQUEST_URI/articles/118/reglamento-de-la-ley-aduanera/article-118-value-of-goods-produced-by-the-importer/imgv2/favicon.ico?print=true
    REDIRECT_URL/articles/118/reglamento-de-la-ley-aduanera/article-118-value-of-goods-produced-by-the-importer/imgv2/favicon.ico
    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=118&idioma=en&print=true
    SCRIPT_URIhttps://2026.bado.mx/articles/118/reglamento-de-la-ley-aduanera/article-118-value-of-goods-produced-by-the-importer/imgv2/favicon.ico
    SCRIPT_URL/articles/118/reglamento-de-la-ley-aduanera/article-118-value-of-goods-produced-by-the-importer/imgv2/favicon.ico
    SCRIPT_NAME/articulos.php
    SERVER_PROTOCOLHTTP/1.1
    SERVER_SOFTWARELiteSpeed
    REQUEST_METHODGET
    X-LSCACHEon
    PHP_SELF/articulos.php
    REQUEST_TIME_FLOAT1780588031.5211
    REQUEST_TIME1780588031
    ENV