-
Display Namerdouglas
-
Member SinceSeptember 29, 2015
-
Last SeenMay 01, 2019
rdouglas does not have any add-ons for sale.
-
Support May 29, 2016 @ 10:37 pm
RE the above, sorted. Found the ComposeGeneratedDocumentEmail file and replaced in the custom/modules/Emails folder, all good now
View Comment
-
Support May 29, 2016 @ 10:22 pm
Hi, I've just tried to use the Attach to Email function and have been presented with the 'There is no action by that name' The name of the action is ComposeGeneratedDocumentEmail, i'm assuming it should be in a login hook or entrypoint somewhere? Could you tell me where the file that contains the function is located and where/how I can replace it?
Thanks for your time and patience
View Comment
-
Support January 27, 2016 @ 02:49 am
Hey Anabel, what ever the problem was, it has gone away!!!! PDF's are generating and they look great, one more question? One of the areas we are using your component is for PDF Invoices/Quotes. We'd like to be able to generate a more meaningful file name from the default GEN-[SugarID].pdf that is currently the case, is there a helper file or some other facility that will allow us to create a dynamic generated name based on underlying fields in the record?
Thanks for your time and patience
View Comment
-
Support January 20, 2016 @ 03:31 am
UPDATE: got rid of the permissions error, still have the Document is empty error
:1: parser error : Document is empty
View Comment
-
Support January 20, 2016 @ 03:29 am
Our system admin has sorted the rights problem for your test script, it now generates the PDF and returns the following (see below) HOWEVER the process using your button STILL creates a blank pdf file, error in the etc/http/logs/error_log is as follow:
mkstemp("/var/www/.execoooG4zS5F") failed: Permission denied :1: parser error : Document is empty
"/usr/bin/libreoffice" --headless --nologo --nofirststartwizard --convert-to pdf "testPDF.docx" --outdir "." Done !!! ... generated pdf in /data/web-data/sugar-production/testPDF.docx
OUTPUT: Array ( [0] => convert /data/web-data/sugar-production/testPDF.docx -> /data/web-data/sugar-production//testPDF.pdf using writer_pdf_Export [1] => Overwriting: /data/web-data/sugar-production//testPDF.pdf )
RETURN STATUS: 0
View Comment
-
Support January 20, 2016 @ 12:34 am
Hey Anabel, I've just found the following errors in my /etc/httpd/logs/error_log, thought they might be of some use?
[Java framework] Error in function createSettingsDocument (elements.cxx). javaldx failed! Warning: failed to read path from javaldx [Java framework] Error in function createSettingsDocument (elements.cxx). javaldx failed! Warning: failed to read path from javaldx [Java framework] Error in function createSettingsDocument (elements.cxx). javaldx failed! Warning: failed to read path from javaldx [Java framework] Error in function createSettingsDocument (elements.cxx). javaldx failed! Warning: failed to read path from javaldx
[Wed Jan 20 10:21:25 2016] [notice] child pid 24500 exit signal Segmentation fault (11) :1: parser error : Document is empty ^ :1: parser error : Document is empty
View Comment
-
Support January 19, 2016 @ 10:15 pm
Hey Anabel, process returns the following:
"/usr/lib64/libreoffice/program/soffice" --headless --nologo --nofirststartwizard --convert-to pdf "testPDF.docx" --outdir "." Done !!! ... generated pdf in /data/web-data/sugar-production/testPDF.docx
OUTPUT: Array ( )
RETURN STATUS: 77
however, as you mentioned, the PDF if NOT created, or at least I can't find it...
Cheers
View Comment
-
Support January 19, 2016 @ 12:08 am
Hey Anabel, did the headless installation and still getting blank PDF's. We have tested the installation from the command line and it DOES convert DOCX/ODT files etc to PDF, however, does NOT from the Generate PDF button
We get the following errors:
Jan 19 09:57:42 caster httpd: PHP Warning: filesize(): stat failed for /data/web-data/sugar-production/document_templates/GEN-5e6c6df9-bf3e-9692-94cd-569d7b145716.pdf in /data/web-data/sugar-production/modules/DHA_PlantillasDocumentos/Generate_Document.php on line 586 Jan 19 09:57:42 caster httpd: PHP Warning: readfile(/data/web-data/sugar-production/document_templates/GEN-5e6c6df9-bf3e-9692-94cd-569d7b145716.pdf): failed to open stream: No such file or directory in /data/web-data/sugar-production/modules/DHA_PlantillasDocumentos/G
The pdf document specified is definitely NOT in the documents template folder...
My working directory is /tmp CDE path is EMPTY binary/exe path is /usr/lib64/libreoffice/program/soffice
Cheers
View Comment
-
Support October 28, 2015 @ 02:04 am
Hey KIR, is there any chance you could post your full solution code/placement etc? Thanks for any assistance you can give
View Comment
-
Support October 21, 2015 @ 09:39 pm
Hey Anabel, you're correct the error message ONLY displays when opening the supplied templates. As I said earlier, this DOESN'T stop the templates from working, it's just a bit disconcerting to receive an error message as soon as you test any of your supplied templates
Thanks for your time and patience
View Comment
-
Support October 14, 2015 @ 04:05 am
The templates work, it's when I try and open the underlying template in Word to view the code that the error occurs, opening the Devel tool won't allow me to see the problem with the Word document?
Regards
Rob
View Comment
-
-
Support September 29, 2015 @ 11:27 pm
All good, found the solution in one of the built in templates for Opportunities
View Comment
rdouglas has not rated any add-ons.
rdouglas has not verified any add-ons.
rdouglas has not created any Wanted Add-ons.