Warning: session_start(): open(/tmp/sess_feec52e75b2c73498b0dae20a7725002, O_RDWR) failed: No space left on device (28) in /home/sigesaf/public_html/php/inventario/descargar_excel.php on line 2
Warning: session_start(): Failed to read session data: files (path: /tmp) in /home/sigesaf/public_html/php/inventario/descargar_excel.php on line 2
Warning: Cannot modify header information - headers already sent by (output started at /home/sigesaf/public_html/php/inventario/descargar_excel.php:2) in /home/sigesaf/public_html/php/inventario/descargar_excel.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at /home/sigesaf/public_html/php/inventario/descargar_excel.php:2) in /home/sigesaf/public_html/php/inventario/descargar_excel.php on line 4
Warning: Undefined array key "user" in /home/sigesaf/public_html/php/inventario/descargar_excel.php on line 131
Warning: Undefined array key "funcionario" in /home/sigesaf/public_html/php/inventario/descargar_excel.php on line 133
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND (PE.Id_Perfil=22 OR PE.Id_Perfil=16 OR PE.Id_Perfil=29 OR PE.Id_Perfil=44 OR' at line 5 in /home/sigesaf/public_html/class/class.consulta.php:17
Stack trace:
#0 /home/sigesaf/public_html/class/class.consulta.php(17): mysqli_query(Object(mysqli), 'SELECT PE.*, PF...')
#1 /home/sigesaf/public_html/class/class.consulta.php(66): consulta->connect()
#2 /home/sigesaf/public_html/php/inventario/descargar_excel.php(144): consulta->getData()
#3 /home/sigesaf/public_html/php/inventario/descargar_excel.php(22): permiso()
#4 {main}
thrown in /home/sigesaf/public_html/class/class.consulta.php on line 17