Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class FacturaeExportable not found #41

Closed
tomascrespo opened this issue Mar 27, 2019 · 2 comments
Closed

Class FacturaeExportable not found #41

tomascrespo opened this issue Mar 27, 2019 · 2 comments
Labels

Comments

@tomascrespo
Copy link

Hola Jose, estoy intentando usar tu código para subir una factura, pero al ejecutar el ejemplo de envío de factura me dice
PHP Fatal error: Class 'josemmo\Facturae\Controller\FacturaeExportable' not found in /var/www/facturae/Facturae-PHP/src/Facturae.php on line 9

Lo uso sin composer, simplemente clonando el git.

Y pongo los requiere

require_once 'Facturae-PHP/src/Facturae.php';
require_once 'Facturae-PHP/src/FacturaeCentre.php';
require_once 'Facturae-PHP/src/FacturaeItem.php';
require_once 'Facturae-PHP/src/FacturaeParty.php';
require_once 'Facturae-PHP/src/FacturaExportable.php';

@tomascrespo
Copy link
Author

Finalmente conseguí hacerlo funcionar incluyendo todos los require_once que me iba pidiendo en cada fichero php del src.

@josemmo
Copy link
Owner

josemmo commented Mar 28, 2019

De acuerdo, doy por cerrado el issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants