CoreBOSBB

Full Version: Export/merge document not work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Hi :-)

Update again, try and let me know
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)
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
I sended you a private message with template
Honestly i don't see output error
i've to open debug mode
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.
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
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 {
Great Joe
It works!!
Great!!