(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...
there has to be an error there, review it and also the apache error logs
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
Finally, I make the development in the version that genDoc works, not the last one.
share how you are generating the file and the definition of the document
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