DEBUG FASE 2: Identificados problemas críticos en GetRow()
PROBLEMAS CRÍTICOS IDENTIFICADOS: ⚠️ GetRow() devuelve null siempre → empresaId = 0 ⚠️ Warnings PHP en util.class.php:501 (acceso arrays nulos) ⚠️ Compatibilidad MockDatabase vs mysqli real DATOS REALES ENCONTRADOS: ✅ admin@novomoda.com.mx → empresaId = 1 ✅ sonia.velezquez@novomoda.com.mx → empresaId = 15 ✅ gerente@novomoda.com.mx → empresaId = 15 ARCHIVOS NUEVOS: - debug_login.php → Debug de base de datos master - test_login_reales.php → Test con usuarios reales ANÁLISIS: - Usuarios existen en BD master - Consultas SQL funcionan en debug - GetRow() falla en DoLogin() SIGUIENTE PASO: Revisar GetRow() en DB.class.php
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 18:42:48
|
||||
compiled from "/var/www/html/ventas/templates/items/sucursales-header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2065303339695efd88573ed3-73507570%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'a076112b8fd76e9ace9a050c0240fb77305aa5fa' =>
|
||||
array (
|
||||
0 => '/var/www/html/ventas/templates/items/sucursales-header.tpl',
|
||||
1 => 1767753171,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2065303339695efd88573ed3-73507570',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div align="center">
|
||||
<span id="addSucursal" style="cursor:pointer"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/add.png" border="0" />Agregar Sucursal</span>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="portlet" style="width:95%; padding-left:20px" align="center">
|
||||
|
||||
<div class="portlet-content nopadding">
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="80" scope="col"><div align="center">No.</div></th>
|
||||
<th width="136" scope="col"><div align="center">RFC</div></th>
|
||||
<th width="" scope="col"><div align="center">Nombre</div></th>
|
||||
<th width="109" scope="col"><div align="center">IVA</div></th>
|
||||
<th width="100" scope="col"><div align="center">Acciones</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
Reference in New Issue
Block a user