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_articulo718
idiomaen
printtrue
SESSION
popup_inicial1
GLOBALS
id_articulo718
idiomaen
printtrue
PHPSESSIDr1vcl8ac1k0fvrlkdj18bu9tlg
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
REMOTE_ADDR216.73.216.164
REMOTE_PORT61230
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/718/rgce-2020/rule-3.1.8-requirements-that-the-digital-tax-receipt-online/imgv2/favicon.ico?print=true
REDIRECT_URL/articles/718/rgce-2020/rule-3.1.8-requirements-that-the-digital-tax-receipt-online/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=718&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/718/rgce-2020/rule-3.1.8-requirements-that-the-digital-tax-receipt-online/imgv2/favicon.ico
SCRIPT_URL/articles/718/rgce-2020/rule-3.1.8-requirements-that-the-digital-tax-receipt-online/imgv2/favicon.ico
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1788586550.7596
REQUEST_TIME1788586550
id_articulo718
idiomaen
printtrue
titulo
RULE  3.1.8:  REQUIREMENTS  THAT  THE  DIGITAL  TAX  RECEIPT  ONLINE  (CFDI)  AND  THE  EQUIVALENT  DOCUMENT  MUST  CONTAIN
id_articulo718
id_ordenamiento320
nombre_claveRegla  3.1.8
contenido

RULE  3.1.8:  REQUIREMENTS  THAT  THE  DIGITAL  TAX  RECEIPT  ONLINE  (CFDI)  AND  THE  EQUIVALENT  DOCUMENT  MUST  CONTAIN

For  the  purposes  of  articles  36  --201-Art.  36--  and  36-A,  section  I,  subsection  a)  --201-Art.  36A--  of  the  Law,  the  obligation  to  present  the  Digital  Tax  Receipt  Online  (Comprobante  Fiscal  Digital  por  Internet)  or  equivalent  documents  must  be  fulfilled  when  the  merchandise  has  a  commercial  value  in  national  or  foreign  currency  greater  than  300  (three  hundred  dollars).  The  Digital  Tax  Receipt  Online  (Comprobante  Fiscal  Digital  por  Internet)  or  equivalent  documents  may  be  issued  by  national  or  foreign  suppliers,  respectively,  and  submitted  in  original  or  copy.

The  Digital  Tax  Receipt  Online  (Comprobante  Fiscal  Digital  por  Internet)  must  comply  with  the  requirements  established  in  article  29-A  of  the  Federal  Fiscal  Code  (Código  Fiscal  de  la  Federación)  --613-Art.  29A--.

The  equivalent  document  will  be  the  tax  document  issued  abroad,  which  covers  the  price  paid  or  payable  for  the  merchandise  introduced  into  the  national  territory  or  the  value  thereof,  as  appropriate,  and  must  contain  the  following  information:

I.  Place  and  date  of  issue.

II.  Name  and  address  of  the  merchandise's  recipient.  In  the  cases  of  change  of  addressee,  the  person  who  assumes  this  character  will  write  down  said  circumstance,  under  protest  of  telling  the  truth,  in  all  the  points  of  the  equivalent  document.

III.  The  detailed  commercial  description  of  the  merchandise  and  the  specification  of  them  in  terms  of  class,  quantity  of  units,  identification  numbers,  when  they  exist,  as  well  as  the  unit  and  total  values.  A  detailed  commercial  description  will  not  be  considered  when  it  comes  in  code.

IV.  Name  and  address  of  the  supplier  or  seller.

V.  Name  and  address  of  the  buyer  when  different  from  the  recipient.

VI.  Document  number.

VII.  Commercial  value  of  the  merchandise.

The  lack  of  any  of  the  data  or  requirements  referred  to  in  the  previous  sections,  as  well  as  the  amendments  or  annotations  that  alter  the  original  data,  must  be  replaced  by  declaration,  under  protest  of  telling  the  truth,  from  the  importer,  customs  agent  or  customs  representative,  in  the  equivalent  document  itself  when  there  is  space  for  it  or  by  means  of  a  free  writing,  and  be  presented  at  any  time  before  the  customs  authority,  provided  that  the  payment  of  the  fine  is  made  referred  to  in  article  185,  section  I  --233-Art.  185--  of  the  Law,  except  in  the  case  of  spontaneous  compliance.

The  provisions  of  the  preceding  paragraph  will  not  be  applicable  when  the  authority  has  initiated  any  of  the  faculties  of  verification  contained  in  article  42  --615-Art.  42--  of  the  Federal  Fiscal  Code  (Código  Fiscal  de  la  Federación)  and  in  the  Law.

In  the  case  of  returns  of  merchandise  imported  temporarily  for  elaboration,  transformation  or  repair,  in  terms  of  articles  108  --218-Art.  108--,  111  --218-Art.  111--  and  112  --218-Art.  112--  of  the  Law,  the  Digital  Tax  Receipt  Online  (Comprobante  Fiscal  Digital  por  Internet)  or  equivalent  document  may  be  presented,  which  expresses  the  commercial  value  of  the  merchandise.

When  the  data  referred  to  in  section  III  above,  are  in  languages  ??other  than  Spanish,  English  or  French,  they  must  be  translated  into  Spanish  in  the  same  document  or  in  an  attached  document.

The  provisions  of  the  preceding  paragraph  will  also  be  applicable  for  the  transport  document  referred  to  in  article  20,  sections  II  and  VII  --199-Art.  20--  of  the  Law,  as  well  as  the  documents  indicated  in  article  36-A,  section  I,  subsection  b)  --201-Art.  36A--  of  the  same  legal  order.

The  obligation  to  present  the  Digital  Tax  Receipt  Online  (Comprobante  Fiscal  Digital  por  Internet)  or  equivalent  document,  which  expresses  the  commercial  value  of  the  merchandise,  must  be  fulfilled  through  the  transmission  indicated  in  rule  1.9.18.  --312-Regla  1.9.18--,  without  it  being  necessary  to  accompany  the  customs  declaration  (pedimento)  with  the  receipt  stating  the  value  of  the  merchandise;  in  the  case  of  the  merchandise  indicated  in  Annex  10  --357-Anexo  10--,  Section  A  of  this  resolution,  in  addition  to  the  transmission,  the  Digital  Tax  Receipt  Online  (Comprobante  Fiscal  Digital  por  Internet)  or  equivalent  document  must  be  attached.

Law  2-XVIII  --196-Art.  2--,  20-II,  VII  --199-Art.  20--,  36  --201-Art.  36--,  36-A-I  --201-Art.  36A--,  108  --218-Art.  108--,  111  --218-Art.  111--,  112  --218-Art.  112--,  184-I  --233-Art.  184--,  185-I  --233-Art.  185--,  Federal  Fiscal  Code  (Código  Fiscal  de  la  Federación)  29-A  --613-Art.  29A--,  42  --615-Art.  42--,  General  Rules  of  Foreign  Trade  (Reglas  General  del  Comercio  Exterior)  1.2.2.  --305-Regla  1.2.2--,  1.9.18.  --312-Regla  1.8.18--,  Annex  10  --357-Anexo  10--


nivel1
nivel2
nivel3
nivel4
esconde_banners0
ordenamiento_padre_final301
id_ordenamientos301
id_padre0
abreviatura
nombre_cortoRGCE  2020
nombre_frontRGCE  2020
descripcion
id_viejo
orden3
ocultar
popup_inicial1
COOKIES
PHPSESSIDr1vcl8ac1k0fvrlkdj18bu9tlg
SERVER
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
HTTP_ACCEPT*/*
HTTP_ACCEPT_ENCODINGgzip,  br,  zstd,  deflate
HTTP_COOKIEPHPSESSID=r1vcl8ac1k0fvrlkdj18bu9tlg
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.216.164
REMOTE_PORT61230
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/718/rgce-2020/rule-3.1.8-requirements-that-the-digital-tax-receipt-online/imgv2/favicon.ico?print=true
REDIRECT_URL/articles/718/rgce-2020/rule-3.1.8-requirements-that-the-digital-tax-receipt-online/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=718&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/718/rgce-2020/rule-3.1.8-requirements-that-the-digital-tax-receipt-online/imgv2/favicon.ico
SCRIPT_URL/articles/718/rgce-2020/rule-3.1.8-requirements-that-the-digital-tax-receipt-online/imgv2/favicon.ico
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1788586550.7596
REQUEST_TIME1788586550
ENV