crlibre / fe-hacienda-cr-docs Goto Github PK
View Code? Open in Web Editor NEWDocumentación General de la Factura Electrónica del Ministerio de Hacienda
Home Page: https://crlibre.org/factura-electronica/
Documentación General de la Factura Electrónica del Ministerio de Hacienda
Home Page: https://crlibre.org/factura-electronica/
Crear diagrama de flujo de proceso de negocio
Crear y documentar Estructura del equipo de Trabajo por Área o Tecnología.
Cuando intento registrar un usuario recibo este error:
<br />
<b>Notice</b>: Undefined variable: key in <b>C:\xampp\AH\api\modules\crypto\crypto.php</b> on line <b>21</b><br />
<br />
<b>Notice</b>: Undefined variable: key in <b>C:\xampp\AH\api\modules\crypto\crypto.php</b> on line <b>25</b><br />
<br />
<b>Notice</b>: Undefined variable: key in <b>C:\xampp\AH\api\modules\crypto\crypto.php</b> on line <b>37</b><br />
<br />
<b>Notice</b>: Undefined variable: key in <b>C:\xampp\AH\api\modules\crypto\crypto.php</b> on line <b>41</b><br />
<br />
<b>Warning</b>: password_hash() expects at least 2 parameters, 1 given in <b>C:\xampp\AH\api\modules\users\module.php</b> on line <b>352</b><br />
<br />
<b>Notice</b>: Undefined variable: key in <b>C:\xampp\AH\api\modules\crypto\crypto.php</b> on line <b>21</b><br />
<br />
<b>Notice</b>: Undefined variable: key in <b>C:\xampp\AH\api\modules\crypto\crypto.php</b> on line <b>25</b><br />
Sin embargo crea el usuario y el Session Key.
Soluciono ese problema agregando:
global $key;
en cada función de api\modules\crypto\crypto.php.
Pero también está el Warning:
<b>Warning</b>: password_hash() expects at least 2 parameters, 1 given in <b>C:\xampp\AH\api\modules\users\module.php</b> on line <b>352</b><br />
Revisando en la documentación, el segundo parámetro es por defecto PASSWORD_DEFAULT. Lo uso y me genera un Session Key bastante largo, pero funciona.
Lo que si da problemas es que a veces contiene un + y a la hora de hacer logout no lo interpreta bien y le pone un espacio y por eso el query no devuelve la sesión.
Probando en XAMPP con PHP 7.2.6
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.