CoreBOSBB
PDF MAKER - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: PDF MAKER (/showthread.php?tid=2114)

Pages: 1 2 3


RE: PDF MAKER - inspectorflint - 10-01-2021

(10-01-2021, 10:14 AM)joebordes Wrote: that is a PHP error, maybe missing PHP-DOM, PHP-XML extensions

activate error_reporting and display_errors and share the message with us

you can activate a detail view widget on any module to download the result, very similar to PDFMaker widget,, you can also generate them using workflows and send them using email of send file task...

I activate $LOG4PHP_DEBUG = true; but it don´t show any error.  I have added

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

In the index.php file in twice modules, evvtGenDocs and EtiquetasOO, too , without any error output...


RE: PDF MAKER - joebordes - 10-06-2021

there has to be an error there, review it and also the apache error logs


RE: PDF MAKER - inspectorflint - 10-06-2021

It is install in a shared hosting, I cant access to apache error log.

The corebos log seems too log for paste here. 

it can ve donwloaded here

https://drive.google.com/file/d/1DeOK-lhMActAAwgYD8ozKoOD28kiF5wc/view?usp=sharing

The strange thing is that I have other installations with the same hosting provider that  they works, with the same version of php, and with phpinfo () I find no differences.

Edited:

I have just install in the same shared hosting an old corebos8 version, that it has an older interface, and in this case the gendoc and etiquetas00 modules works...

[attachment=1133]

The PHP version is the same 7.3 in both cases. This may provide some insight into the problem?  Thank you


RE: PDF MAKER - inspectorflint - 10-18-2021

Finally, I make the development in the version that genDoc works, not the last one.


RE: PDF MAKER - joebordes - 10-18-2021

great!


RE: PDF MAKER - inspectorflint - 10-20-2021

Good Mornig:

I try to generate an Invoice Document with genDoc, with one template donwloaded from http://corebos.org/documentation/doku.php?id=en:gendoc:templatestore, but when I generate the file, it shows only any fields, (customer and company data )


The template shows like this:

[attachment=1135]

but the product fields don´t show...


RE: PDF MAKER - joebordes - 10-20-2021

share how you are generating the file and the definition of the document


RE: PDF MAKER - inspectorflint - 10-20-2021

In Gendoc Module, I have active Invoice Module.

I have the products created, and I create one invoice

[attachment=1136]

I create the invoice document when i select the tenplate that I donwloaded from http://corebos.org/documentation/doku.php?id=en:gendoc:templatestore , the template is invoice001.odt

The file created can be donwloades here: https://drive.google.com/file/d/14Gv-K8dwYr4X2wdOxJzALg3oIJoTg8FJ/view?usp=sharing

the document shows company data, and the amount and tax of the invoice...

I edit myself. The downloaded template is for the EN language, if I run it from the document generator, and the languaje selected is EN, the output it is correct. How can I change the language? Or I need to make from the beginning the template ? Thanks!


RE: PDF MAKER - joebordes - 10-22-2021

ah, the language
gendoc, by default uses the language of the selected user, so, since you are using Spanish it is looking for

paracada not foreach
siexiste not ifexists

the idea is that the meta-language gendoc uses is translatable, to make it easier for the end user to create their own templates.

You can change the labels in the template or you can also define the GenDoc_Default_Compile_Language global variable, set it to EN and GenDoc will expect your templates to be in English


RE: PDF MAKER - inspectorflint - 10-26-2021

Thanks, Joe. Works fine!