Coder Social home page Coder Social logo

crlibre / fe-hacienda-cr-docs Goto Github PK

View Code? Open in Web Editor NEW
15.0 25.0 5.0 579 KB

Documentación General de la Factura Electrónica del Ministerio de Hacienda

Home Page: https://crlibre.org/factura-electronica/

HTML 100.00%
ministerio-de-hacienda-costa-rica factura-electronica costa-rica

fe-hacienda-cr-docs's Introduction

fe-hacienda-cr-docs

Documentación de la Factura Electrónica del Ministerio de Hacienda en Costa Rica

Esta documentación la estamos creando juntos en el wiki https://github.com/CRLibre/docs-fe-hacienda-cr/wiki/

Documentemos juntos

Documentación Oficial del Ministerio de Hacienda

fe-hacienda-cr-docs's People

Contributors

eliastorres avatar walner1borbon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fe-hacienda-cr-docs's Issues

Error al registrar un usuario

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.