Joomla! 3.7.2
PHP 5.6.30
CF 5.0.14
Using the instructions here: https://www.chronoengine.com/faqs/70-cfv5/5254-how-can-i-use-the-signature-widget-in-cfv5.html
Signature pad works great but I get a missing image icon in the submit email. Checking teh stored image on my server, the png is there, but it has 0 bytes and when viewed displays the message "Image /image path/ Can Not Be Displayed Because it Contains Errors"
Any ideas?
PHP 5.6.30
CF 5.0.14
Using the instructions here: https://www.chronoengine.com/faqs/70-cfv5/5254-how-can-i-use-the-signature-widget-in-cfv5.html
Signature pad works great but I get a missing image icon in the submit email. Checking teh stored image on my server, the png is there, but it has 0 bytes and when viewed displays the message "Image /image path/ Can Not Be Displayed Because it Contains Errors"
Any ideas?
Hi sbrant,
What is the image path that you are using? Does that folder exist?
Bob
What is the image path that you are using? Does that folder exist?
Bob
HI Bob,
Yes, the folder exists. I used the path supplied in the tutorial and created the folder on my server accordingly. I've attached a screen capture showing images created from two attempts. Each shows 0 bytes.
[attachment=48245_20170623113022_screen-shot-2017-06-23-at-7-28-41-am-png.png][/attachment]
Yes, the folder exists. I used the path supplied in the tutorial and created the folder on my server accordingly. I've attached a screen capture showing images created from two attempts. Each shows 0 bytes.
[attachment=48245_20170623113022_screen-shot-2017-06-23-at-7-28-41-am-png.png][/attachment]
Hi sbrant,
Hmmm . . . then I guess that there must be something failing in the code that creates the image from the signature pad data. That then needs to be debugged. I would start by setting Site Error Reporting temporarily to Maximum to see if any error messages show. If that doesn't show anything useful the next step is to add debug code at various points in the custom code to see what is being output at each stage.
Bob
Hmmm . . . then I guess that there must be something failing in the code that creates the image from the signature pad data. That then needs to be debugged. I would start by setting Site Error Reporting temporarily to Maximum to see if any error messages show. If that doesn't show anything useful the next step is to add debug code at various points in the custom code to see what is being output at each stage.
Bob
I didn't use any custom code - just what is in the tutorial. Isn't this something CE should be fixing?
Ahha! I figured it out. The error is in the instructions. "The 'signature' in the first line needs " It also needs to be changed in 4 places in the code block starting with : // add the file info to the form data
Thanks!
Thanks!
Sorry - is there a way to make the signature required in Designer? I don't see that option.
This topic is locked and no more replies can be posted.