
Notice (8): Undefined variable: usuario_id [APP/View/Layouts/default.ctp, line 175]Code Context<span style="color:white">
<?php
if ($usuario_id == 433) {
$viewFile = '/var/webs/gestiondefacturas.com/html/app/View/Layouts/default.ctp' $dataForView = array( 'title_for_layout' => 'Login', 'group_id' => null, 'empresa_id' => null, 'content_for_layout' => '<style type="text/css"> <!-- #content { width: 300px; margin: 0 auto; } body { /*background-image: url(../background.jpg);*/ background-image: url(../background12.jpg); } #header { display: none; } --> </style> <div class="loge" style="width: 300px; margin: 0 auto; opacity: 0.95; background-color: #dddddd;"> <!-- LOGIN --> <div class="content-box"> <div class="box"> <div class="logo"></div> <center> <img src="https://gestiondefacturas.com/img/logogestiondefacturas.png" alt="Gestión de Facturas"> </center> <style type="text/css"> .gesti { width: 80%; border-radius: 2px; border: 1px solid #e5e9ec; background-color: #010101; } .form-control gesti { width: 80%; border-radius: 2px; border: 1px solid #e5e9ec; background-color: #010101; } </style> <form action="/users/login" id="UserLoginForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div><div class="input text required"><label for="UserUsername">Username</label><input name="data[User][username]" class="form-control" placeholder="Usuario" maxlength="255" type="text" id="UserUsername" required="required"/></div><br> <input name="data[User][password]" class="form-control" placeholder="Password" type="password" id="UserPassword" required="required"/><br> <input name="data[User][empresa]" class="form-control" placeholder="Código de Empresa" type="password" id="UserEmpresa"/><br> <div class="submit"><input type="submit" value="ENTRAR"/></div></form> <footer class="foot-login" style="text-align: center;"> <a href="./password/">Olvidó su password</a> </footer> </div> </div> </div> <script src="js/libs/jquery/jquery-min.js"></script> <script src="js/libs/underscore/lodash.underscore-min.js"></script> <script src="js/nls/login_i18n.js?ht=v0.9.7b"></script> <script src="js/login.js?ht=v0.9.7b"></script> <script> window.onload = function() { window.setTimeout(function () { document.getElementById("UserUsername").focus(); document.getElementById("UserUsername").select(); }, 100); } </script> ', 'scripts_for_layout' => '' ) $title_for_layout = 'Login' $group_id = null $empresa_id = null $content_for_layout = '<style type="text/css"> <!-- #content { width: 300px; margin: 0 auto; } body { /*background-image: url(../background.jpg);*/ background-image: url(../background12.jpg); } #header { display: none; } --> </style> <div class="loge" style="width: 300px; margin: 0 auto; opacity: 0.95; background-color: #dddddd;"> <!-- LOGIN --> <div class="content-box"> <div class="box"> <div class="logo"></div> <center> <img src="https://gestiondefacturas.com/img/logogestiondefacturas.png" alt="Gestión de Facturas"> </center> <style type="text/css"> .gesti { width: 80%; border-radius: 2px; border: 1px solid #e5e9ec; background-color: #010101; } .form-control gesti { width: 80%; border-radius: 2px; border: 1px solid #e5e9ec; background-color: #010101; } </style> <form action="/users/login" id="UserLoginForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div><div class="input text required"><label for="UserUsername">Username</label><input name="data[User][username]" class="form-control" placeholder="Usuario" maxlength="255" type="text" id="UserUsername" required="required"/></div><br> <input name="data[User][password]" class="form-control" placeholder="Password" type="password" id="UserPassword" required="required"/><br> <input name="data[User][empresa]" class="form-control" placeholder="Código de Empresa" type="password" id="UserEmpresa"/><br> <div class="submit"><input type="submit" value="ENTRAR"/></div></form> <footer class="foot-login" style="text-align: center;"> <a href="./password/">Olvidó su password</a> </footer> </div> </div> </div> <script src="js/libs/jquery/jquery-min.js"></script> <script src="js/libs/underscore/lodash.underscore-min.js"></script> <script src="js/nls/login_i18n.js?ht=v0.9.7b"></script> <script src="js/login.js?ht=v0.9.7b"></script> <script> window.onload = function() { window.setTimeout(function () { document.getElementById("UserUsername").focus(); document.getElementById("UserUsername").select(); }, 100); } </script> ' $scripts_for_layout = '' $cakeDescription = 'Gestión de Facturas' $cakeVersion = 'CakePHP 2.5.7' $actual_link = 'https://gestiondefacturas.com/users/login'include - APP/View/Layouts/default.ctp, line 175 View::_evaluate() - CORE/Cake/View/View.php, line 954 View::_render() - CORE/Cake/View/View.php, line 916 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/theindex.php, line 111
Warning (2): mysql_fetch_array() expects parameter 1 to be resource, boolean given [APP/webroot/funciona.php, line 660]Code Context$SQL = "SELECT * FROM empresas WHERE id=".$id;
$RESULT = mysql_query($SQL);
while ($ROW = mysql_fetch_array($RESULT)) {
$id = null $link = resource $SQL = 'SELECT * FROM empresas WHERE id=' $RESULT = falsemysql_fetch_array - [internal], line ?? echo_empresa - APP/webroot/funciona.php, line 660 include - APP/View/Layouts/default.ctp, line 178 View::_evaluate() - CORE/Cake/View/View.php, line 954 View::_render() - CORE/Cake/View/View.php, line 916 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/theindex.php, line 111
Notice (8): Undefined variable: usuario_id [APP/View/Layouts/default.ctp, line 218]Code Contexttop: -10px; right: 10px; text-align: center; font-size: 13px;
padding: 3px 5px; line-height: 3.9;
text-decoration: none; position: relative;"><?php echo contador_tareas_usuario($usuario_id); ?></span>
$viewFile = '/var/webs/gestiondefacturas.com/html/app/View/Layouts/default.ctp' $dataForView = array( 'title_for_layout' => 'Login', 'group_id' => null, 'empresa_id' => null, 'content_for_layout' => '<style type="text/css"> <!-- #content { width: 300px; margin: 0 auto; } body { /*background-image: url(../background.jpg);*/ background-image: url(../background12.jpg); } #header { display: none; } --> </style> <div class="loge" style="width: 300px; margin: 0 auto; opacity: 0.95; background-color: #dddddd;"> <!-- LOGIN --> <div class="content-box"> <div class="box"> <div class="logo"></div> <center> <img src="https://gestiondefacturas.com/img/logogestiondefacturas.png" alt="Gestión de Facturas"> </center> <style type="text/css"> .gesti { width: 80%; border-radius: 2px; border: 1px solid #e5e9ec; background-color: #010101; } .form-control gesti { width: 80%; border-radius: 2px; border: 1px solid #e5e9ec; background-color: #010101; } </style> <form action="/users/login" id="UserLoginForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div><div class="input text required"><label for="UserUsername">Username</label><input name="data[User][username]" class="form-control" placeholder="Usuario" maxlength="255" type="text" id="UserUsername" required="required"/></div><br> <input name="data[User][password]" class="form-control" placeholder="Password" type="password" id="UserPassword" required="required"/><br> <input name="data[User][empresa]" class="form-control" placeholder="Código de Empresa" type="password" id="UserEmpresa"/><br> <div class="submit"><input type="submit" value="ENTRAR"/></div></form> <footer class="foot-login" style="text-align: center;"> <a href="./password/">Olvidó su password</a> </footer> </div> </div> </div> <script src="js/libs/jquery/jquery-min.js"></script> <script src="js/libs/underscore/lodash.underscore-min.js"></script> <script src="js/nls/login_i18n.js?ht=v0.9.7b"></script> <script src="js/login.js?ht=v0.9.7b"></script> <script> window.onload = function() { window.setTimeout(function () { document.getElementById("UserUsername").focus(); document.getElementById("UserUsername").select(); }, 100); } </script> ', 'scripts_for_layout' => '' ) $title_for_layout = 'Login' $group_id = null $empresa_id = null $content_for_layout = '<style type="text/css"> <!-- #content { width: 300px; margin: 0 auto; } body { /*background-image: url(../background.jpg);*/ background-image: url(../background12.jpg); } #header { display: none; } --> </style> <div class="loge" style="width: 300px; margin: 0 auto; opacity: 0.95; background-color: #dddddd;"> <!-- LOGIN --> <div class="content-box"> <div class="box"> <div class="logo"></div> <center> <img src="https://gestiondefacturas.com/img/logogestiondefacturas.png" alt="Gestión de Facturas"> </center> <style type="text/css"> .gesti { width: 80%; border-radius: 2px; border: 1px solid #e5e9ec; background-color: #010101; } .form-control gesti { width: 80%; border-radius: 2px; border: 1px solid #e5e9ec; background-color: #010101; } </style> <form action="/users/login" id="UserLoginForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div><div class="input text required"><label for="UserUsername">Username</label><input name="data[User][username]" class="form-control" placeholder="Usuario" maxlength="255" type="text" id="UserUsername" required="required"/></div><br> <input name="data[User][password]" class="form-control" placeholder="Password" type="password" id="UserPassword" required="required"/><br> <input name="data[User][empresa]" class="form-control" placeholder="Código de Empresa" type="password" id="UserEmpresa"/><br> <div class="submit"><input type="submit" value="ENTRAR"/></div></form> <footer class="foot-login" style="text-align: center;"> <a href="./password/">Olvidó su password</a> </footer> </div> </div> </div> <script src="js/libs/jquery/jquery-min.js"></script> <script src="js/libs/underscore/lodash.underscore-min.js"></script> <script src="js/nls/login_i18n.js?ht=v0.9.7b"></script> <script src="js/login.js?ht=v0.9.7b"></script> <script> window.onload = function() { window.setTimeout(function () { document.getElementById("UserUsername").focus(); document.getElementById("UserUsername").select(); }, 100); } </script> ' $scripts_for_layout = '' $cakeDescription = 'Gestión de Facturas' $cakeVersion = 'CakePHP 2.5.7' $actual_link = 'https://gestiondefacturas.com/users/login'include - APP/View/Layouts/default.ctp, line 218 View::_evaluate() - CORE/Cake/View/View.php, line 954 View::_render() - CORE/Cake/View/View.php, line 916 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/theindex.php, line 111
Warning (2): mysql_fetch_array() expects parameter 1 to be resource, boolean given [APP/webroot/funciona.php, line 731]Code Context$SQL = "SELECT count(*) as t FROM tasks WHERE user_id=".$usuario_id;
$RESULT = mysql_query($SQL);
while ($ROW = mysql_fetch_array($RESULT)) {
$usuario_id = null $link = resource $SQL = 'SELECT count(*) as t FROM tasks WHERE user_id=' $RESULT = falsemysql_fetch_array - [internal], line ?? contador_tareas_usuario - APP/webroot/funciona.php, line 731 include - APP/View/Layouts/default.ctp, line 218 View::_evaluate() - CORE/Cake/View/View.php, line 954 View::_render() - CORE/Cake/View/View.php, line 916 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/theindex.php, line 111
Warning (2): mysql_fetch_array() expects parameter 1 to be resource, boolean given [APP/webroot/funciona.php, line 722]Code Context$SQL = "SELECT count(*) as t FROM tasks WHERE empresa_id=".$empresa_id;
$RESULT = mysql_query($SQL);
while ($ROW = mysql_fetch_array($RESULT)) {
$empresa_id = null $link = resource $SQL = 'SELECT count(*) as t FROM tasks WHERE empresa_id=' $RESULT = falsemysql_fetch_array - [internal], line ?? contador_tareas - APP/webroot/funciona.php, line 722 include - APP/View/Layouts/default.ctp, line 222 View::_evaluate() - CORE/Cake/View/View.php, line 954 View::_render() - CORE/Cake/View/View.php, line 916 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/theindex.php, line 111
</a>
<img src="<?php echo foto_usuario($usuario_id); ?>" style="width:40px; height:40px; border-radius: 40px; border: 2px solid #fff;" /> <span style="color: #fff; font-size: 12px;">
$viewFile = '/var/webs/gestiondefacturas.com/html/app/View/Layouts/default.ctp' $dataForView = array( 'title_for_layout' => 'Login', 'group_id' => null, 'empresa_id' => null, 'content_for_layout' => '<style type="text/css"> <!-- #content { width: 300px; margin: 0 auto; } body { /*background-image: url(../background.jpg);*/ background-image: url(../background12.jpg); } #header { display: none; } --> </style> <div class="loge" style="width: 300px; margin: 0 auto; opacity: 0.95; background-color: #dddddd;"> <!-- LOGIN --> <div class="content-box"> <div class="box"> <div class="logo"></div> <center> <img src="https://gestiondefacturas.com/img/logogestiondefacturas.png" alt="Gestión de Facturas"> </center> <style type="text/css"> .gesti { width: 80%; border-radius: 2px; border: 1px solid #e5e9ec; background-color: #010101; } .form-control gesti { width: 80%; border-radius: 2px; border: 1px solid #e5e9ec; background-color: #010101; } </style> <form action="/users/login" id="UserLoginForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div><div class="input text required"><label for="UserUsername">Username</label><input name="data[User][username]" class="form-control" placeholder="Usuario" maxlength="255" type="text" id="UserUsername" required="required"/></div><br> <input name="data[User][password]" class="form-control" placeholder="Password" type="password" id="UserPassword" required="required"/><br> <input name="data[User][empresa]" class="form-control" placeholder="Código de Empresa" type="password" id="UserEmpresa"/><br> <div class="submit"><input type="submit" value="ENTRAR"/></div></form> <footer class="foot-login" style="text-align: center;"> <a href="./password/">Olvidó su password</a> </footer> </div> </div> </div> <script src="js/libs/jquery/jquery-min.js"></script> <script src="js/libs/underscore/lodash.underscore-min.js"></script> <script src="js/nls/login_i18n.js?ht=v0.9.7b"></script> <script src="js/login.js?ht=v0.9.7b"></script> <script> window.onload = function() { window.setTimeout(function () { document.getElementById("UserUsername").focus(); document.getElementById("UserUsername").select(); }, 100); } </script> ', 'scripts_for_layout' => '' ) $title_for_layout = 'Login' $group_id = null $empresa_id = null $content_for_layout = '<style type="text/css"> <!-- #content { width: 300px; margin: 0 auto; } body { /*background-image: url(../background.jpg);*/ background-image: url(../background12.jpg); } #header { display: none; } --> </style> <div class="loge" style="width: 300px; margin: 0 auto; opacity: 0.95; background-color: #dddddd;"> <!-- LOGIN --> <div class="content-box"> <div class="box"> <div class="logo"></div> <center> <img src="https://gestiondefacturas.com/img/logogestiondefacturas.png" alt="Gestión de Facturas"> </center> <style type="text/css"> .gesti { width: 80%; border-radius: 2px; border: 1px solid #e5e9ec; background-color: #010101; } .form-control gesti { width: 80%; border-radius: 2px; border: 1px solid #e5e9ec; background-color: #010101; } </style> <form action="/users/login" id="UserLoginForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div><div class="input text required"><label for="UserUsername">Username</label><input name="data[User][username]" class="form-control" placeholder="Usuario" maxlength="255" type="text" id="UserUsername" required="required"/></div><br> <input name="data[User][password]" class="form-control" placeholder="Password" type="password" id="UserPassword" required="required"/><br> <input name="data[User][empresa]" class="form-control" placeholder="Código de Empresa" type="password" id="UserEmpresa"/><br> <div class="submit"><input type="submit" value="ENTRAR"/></div></form> <footer class="foot-login" style="text-align: center;"> <a href="./password/">Olvidó su password</a> </footer> </div> </div> </div> <script src="js/libs/jquery/jquery-min.js"></script> <script src="js/libs/underscore/lodash.underscore-min.js"></script> <script src="js/nls/login_i18n.js?ht=v0.9.7b"></script> <script src="js/login.js?ht=v0.9.7b"></script> <script> window.onload = function() { window.setTimeout(function () { document.getElementById("UserUsername").focus(); document.getElementById("UserUsername").select(); }, 100); } </script> ' $scripts_for_layout = '' $cakeDescription = 'Gestión de Facturas' $cakeVersion = 'CakePHP 2.5.7' $actual_link = 'https://gestiondefacturas.com/users/login'
include - APP/View/Layouts/default.ctp, line 225 View::_evaluate() - CORE/Cake/View/View.php, line 954 View::_render() - CORE/Cake/View/View.php, line 916 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/theindex.php, line 111
Warning (2): mysql_fetch_array() expects parameter 1 to be resource, boolean given [APP/webroot/funciona.php, line 619]" style="width:40px; height:40px; border-radius: 40px; border: 2px solid #fff;" />Code Context$SQL = "SELECT * FROM users WHERE id=".$id;
$RESULT = mysql_query($SQL);
while ($ROW = mysql_fetch_array($RESULT)) {
$id = null $link = resource $SQL = 'SELECT * FROM users WHERE id=' $RESULT = falsemysql_fetch_array - [internal], line ?? foto_usuario - APP/webroot/funciona.php, line 619 include - APP/View/Layouts/default.ctp, line 225 View::_evaluate() - CORE/Cake/View/View.php, line 954 View::_render() - CORE/Cake/View/View.php, line 916 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/theindex.php, line 111
Notice (8): Undefined variable: usuario_id [APP/View/Layouts/default.ctp, line 226]Code Context
<img src="<?php echo foto_usuario($usuario_id); ?>" style="width:40px; height:40px; border-radius: 40px; border: 2px solid #fff;" /> <span style="color: #fff; font-size: 12px;">
<?php echo echo_usuario($usuario_id); ?></span>
$viewFile = '/var/webs/gestiondefacturas.com/html/app/View/Layouts/default.ctp' $dataForView = array( 'title_for_layout' => 'Login', 'group_id' => null, 'empresa_id' => null, 'content_for_layout' => '<style type="text/css"> <!-- #content { width: 300px; margin: 0 auto; } body { /*background-image: url(../background.jpg);*/ background-image: url(../background12.jpg); } #header { display: none; } --> </style> <div class="loge" style="width: 300px; margin: 0 auto; opacity: 0.95; background-color: #dddddd;"> <!-- LOGIN --> <div class="content-box"> <div class="box"> <div class="logo"></div> <center> <img src="https://gestiondefacturas.com/img/logogestiondefacturas.png" alt="Gestión de Facturas"> </center> <style type="text/css"> .gesti { width: 80%; border-radius: 2px; border: 1px solid #e5e9ec; background-color: #010101; } .form-control gesti { width: 80%; border-radius: 2px; border: 1px solid #e5e9ec; background-color: #010101; } </style> <form action="/users/login" id="UserLoginForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div><div class="input text required"><label for="UserUsername">Username</label><input name="data[User][username]" class="form-control" placeholder="Usuario" maxlength="255" type="text" id="UserUsername" required="required"/></div><br> <input name="data[User][password]" class="form-control" placeholder="Password" type="password" id="UserPassword" required="required"/><br> <input name="data[User][empresa]" class="form-control" placeholder="Código de Empresa" type="password" id="UserEmpresa"/><br> <div class="submit"><input type="submit" value="ENTRAR"/></div></form> <footer class="foot-login" style="text-align: center;"> <a href="./password/">Olvidó su password</a> </footer> </div> </div> </div> <script src="js/libs/jquery/jquery-min.js"></script> <script src="js/libs/underscore/lodash.underscore-min.js"></script> <script src="js/nls/login_i18n.js?ht=v0.9.7b"></script> <script src="js/login.js?ht=v0.9.7b"></script> <script> window.onload = function() { window.setTimeout(function () { document.getElementById("UserUsername").focus(); document.getElementById("UserUsername").select(); }, 100); } </script> ', 'scripts_for_layout' => '' ) $title_for_layout = 'Login' $group_id = null $empresa_id = null $content_for_layout = '<style type="text/css"> <!-- #content { width: 300px; margin: 0 auto; } body { /*background-image: url(../background.jpg);*/ background-image: url(../background12.jpg); } #header { display: none; } --> </style> <div class="loge" style="width: 300px; margin: 0 auto; opacity: 0.95; background-color: #dddddd;"> <!-- LOGIN --> <div class="content-box"> <div class="box"> <div class="logo"></div> <center> <img src="https://gestiondefacturas.com/img/logogestiondefacturas.png" alt="Gestión de Facturas"> </center> <style type="text/css"> .gesti { width: 80%; border-radius: 2px; border: 1px solid #e5e9ec; background-color: #010101; } .form-control gesti { width: 80%; border-radius: 2px; border: 1px solid #e5e9ec; background-color: #010101; } </style> <form action="/users/login" id="UserLoginForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div><div class="input text required"><label for="UserUsername">Username</label><input name="data[User][username]" class="form-control" placeholder="Usuario" maxlength="255" type="text" id="UserUsername" required="required"/></div><br> <input name="data[User][password]" class="form-control" placeholder="Password" type="password" id="UserPassword" required="required"/><br> <input name="data[User][empresa]" class="form-control" placeholder="Código de Empresa" type="password" id="UserEmpresa"/><br> <div class="submit"><input type="submit" value="ENTRAR"/></div></form> <footer class="foot-login" style="text-align: center;"> <a href="./password/">Olvidó su password</a> </footer> </div> </div> </div> <script src="js/libs/jquery/jquery-min.js"></script> <script src="js/libs/underscore/lodash.underscore-min.js"></script> <script src="js/nls/login_i18n.js?ht=v0.9.7b"></script> <script src="js/login.js?ht=v0.9.7b"></script> <script> window.onload = function() { window.setTimeout(function () { document.getElementById("UserUsername").focus(); document.getElementById("UserUsername").select(); }, 100); } </script> ' $scripts_for_layout = '' $cakeDescription = 'Gestión de Facturas' $cakeVersion = 'CakePHP 2.5.7' $actual_link = 'https://gestiondefacturas.com/users/login'include - APP/View/Layouts/default.ctp, line 226 View::_evaluate() - CORE/Cake/View/View.php, line 954 View::_render() - CORE/Cake/View/View.php, line 916 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/theindex.php, line 111
Warning (2): mysql_fetch_array() expects parameter 1 to be resource, boolean given [APP/webroot/funciona.php, line 628]Code Context$SQL = "SELECT * FROM users WHERE id=".$id;
$RESULT = mysql_query($SQL);
while ($ROW = mysql_fetch_array($RESULT)) {
$id = null $link = resource $SQL = 'SELECT * FROM users WHERE id=' $RESULT = falsemysql_fetch_array - [internal], line ?? echo_usuario - APP/webroot/funciona.php, line 628 include - APP/View/Layouts/default.ctp, line 226 View::_evaluate() - CORE/Cake/View/View.php, line 954 View::_render() - CORE/Cake/View/View.php, line 916 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/theindex.php, line 111