CoreBOSBB
Export/merge document not work - 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: Export/merge document not work (/showthread.php?tid=1800)



Export/merge document not work - LorenzoGreco - 05-17-2020

Hi all,
i've updated corebos (Git Pull) date 17-may-2020  h. 11.00 am GMT+1
and Export document from contact module not works.
I don't know when this bug was created, i've updated after five months
i cant' receive the RTF filled


Lorenzo


RE: Export/merge document not work - joebordes - 05-17-2020

Hi :-)

Update again, try and let me know


RE: Export/merge document not work - LorenzoGreco - 05-18-2020

Hi Joe, i've yet updated but it
not works, the documents are in .RTF format
i checked with chrome and Firefox
coreBOS 8.0 (3be34e4c020200501)


RE: Export/merge document not work - joebordes - 05-18-2020

it seems to be working for me
I just updated the online demo http://demo.corebos.com/
can you reproduce the issue for me there so I can have a look?
if not, please send me the template so I can try it


RE: Export/merge document not work - LorenzoGreco - 05-18-2020

I sended you a private message with template
Honestly i don't see output error
i've to open debug mode


RE: Export/merge document not work - joebordes - 05-18-2020

the template you sent me just worked, no problems

check if there is some javascript error in the inspector or some message in the apache or application debug log.


RE: Export/merge document not work - LorenzoGreco - 05-19-2020

open gendoc
Fatal error: Cannot declare class PEAR_Exception, because the name is already in use in /opt/cpanel/ea-php71/root/usr/share/pear/PEAR/Exception.php on line 0


RE: Export/merge document not work - joebordes - 05-22-2020

Can you give me some more context? what scripts are called before this error?


You could try this change and let me know

Code:
diff --git a/modules/evvtgendoc/OpenDocument/Exception.php b/modules/evvtgendoc/OpenDocument/Exception.php
index d9439049b..54c64e766 100644
--- a/modules/evvtgendoc/OpenDocument/Exception.php
+++ b/modules/evvtgendoc/OpenDocument/Exception.php
@@ -26,7 +26,7 @@
 */

 if (!class_exists('PEAR_Exception')) {
-       require_once 'vtlib/thirdparty/network/PEAR/Exception.php';
+       require_once 'PEAR/Exception.php';
 }

 class OpenDocument_Exception extends PEAR_Exception {



RE: Export/merge document not work - LorenzoGreco - 05-24-2020

Great Joe
It works!!


RE: Export/merge document not work - joebordes - 05-24-2020

Great!!