Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PDF MAKER
#11
(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...
Reply
#12
there has to be an error there, review it and also the apache error logs
Joe
TSolucio
Reply
#13
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...

   

The PHP version is the same 7.3 in both cases. This may provide some insight into the problem?  Thank you
Reply
#14
Finally, I make the development in the version that genDoc works, not the last one.
Reply
#15
great!
Joe
TSolucio
Reply
#16
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:

   

but the product fields don´t show...
Reply
#17
share how you are generating the file and the definition of the document
Joe
TSolucio
Reply
#18
In Gendoc Module, I have active Invoice Module.

I have the products created, and I create one invoice

   

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!
Reply
#19
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
Joe
TSolucio
Reply
#20
Thanks, Joe. Works fine!
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)